<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/bitbake/lib/bb/fetch2/hg.py, branch morty-next</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=morty-next</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=morty-next'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2016-08-20T15:08:59+00:00</updated>
<entry>
<title>bitbake: fetch2: preserve current working directory</title>
<updated>2016-08-20T15:08:59+00:00</updated>
<author>
<name>Matt Madison</name>
<email>matt@madison.systems</email>
</author>
<published>2016-08-10T17:08:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ab09541d5517da9b1a23923ea8f5c26ddf745084'/>
<id>urn:sha1:ab09541d5517da9b1a23923ea8f5c26ddf745084</id>
<content type='text'>
Fix the methods in all fetchers so they don't change
the current working directory of the calling process, which
could lead to "changed cwd" warnings from bitbake.

(Bitbake rev: 6aa78bf3bd1f75728209e2d01faef31cb8887333)

Signed-off-by: Matt Madison &lt;matt@madison.systems&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch2/hg: Include missing errno import</title>
<updated>2015-10-16T13:13:24+00:00</updated>
<author>
<name>Logan Buchy</name>
<email>logan.buchy@gmail.com</email>
</author>
<published>2015-10-15T07:42:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=3ba43f26eeea9bd76d05285bcb5a3f3aac70a573'/>
<id>urn:sha1:3ba43f26eeea9bd76d05285bcb5a3f3aac70a573</id>
<content type='text'>
errno.ENOENT checked if deletion of the fullmirror fails.
Exception was thrown since module not imported

(Bitbake rev: d92ebfc34b69ad5df2d151e6b8299fbb5afa3e5f)

Signed-off-by: Logan Buchy &lt;logan.buchy@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: bb.fetch2.{git, hg}: remove tarball if it needs updating</title>
<updated>2015-09-18T08:05:36+00:00</updated>
<author>
<name>Christopher Larson</name>
<email>chris_larson@mentor.com</email>
</author>
<published>2015-09-15T20:56:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=3a5e46b6ed483e43251da7e328b9299189997722'/>
<id>urn:sha1:3a5e46b6ed483e43251da7e328b9299189997722</id>
<content type='text'>
We were maintaining state in the form of ud.repochanged to determine whether
we need to write the tarball in the case where the tarball already exists, but
this state is maintained only in memory. If we need to update the git repo,
set ud.repochanged to True, and then are interrupted or killed, the tarball
will then be out of date.

Rather than maintaining this state, simply remove the out of date tarball when
we update the git repo, and it will be re-created with updated content in
build_mirror_data.

[YOCTO #6366]

(Bitbake rev: eaaa81393f181432c8586b17ade623f42c9fed2e)

Signed-off-by: Christopher Larson &lt;chris_larson@mentor.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: bitbake: fetch2/hg.py: fix unpack error and mirror tarball</title>
<updated>2015-06-27T21:51:20+00:00</updated>
<author>
<name>Robert Yang</name>
<email>liezhi.yang@windriver.com</email>
</author>
<published>2015-06-02T05:49:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=43c6e8c0dd7a7139b476b94d69a0252c639393bf'/>
<id>urn:sha1:43c6e8c0dd7a7139b476b94d69a0252c639393bf</id>
<content type='text'>
Fixed:
* do_unpack error:
  abort: repository DL_DIR/hg/vim.googlecode.com/hg/vim not found!

* The mirror tarball doesn't work
  - Add the build_mirror_data to create the tarball
  - Unpack the mirror tarball when needed

* The hg files will put in the dir like git: DL_DIR/hg, it was
  DL_DIR/hg/path/to/src/uri/path in the past.

(Bitbake rev: 378647281ae883dd726f1e1b775dd35ef6a0e8d1)

Signed-off-by: Robert Yang &lt;liezhi.yang@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch/hg: Disable checksums for archived downloads</title>
<updated>2015-05-26T09:33:06+00:00</updated>
<author>
<name>Ash Charles</name>
<email>ashcharles@gmail.com</email>
</author>
<published>2015-05-22T15:39:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=70c1d222c08ba5bdca416c6f1c2bcb0f15c93126'/>
<id>urn:sha1:70c1d222c08ba5bdca416c6f1c2bcb0f15c93126</id>
<content type='text'>
Like the Git fetcher, the Mercurial fetcher shouldn't expect recipes to
provide a checksum.  As described [1], recipes using a mercurial
fetcher that don't provide a checksum will fail in a the repository has
previously been downloaded and archived.

Credit to Rafaël Carré for figuring out the bug.

[1] https://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg41328.html

(Bitbake rev: 2df35a25b4968f64adfa673d5b73442c1a30829d)

Signed-off-by: Ash Charles &lt;ashcharles@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch2/hg.py: add clean function</title>
<updated>2015-05-19T10:58:45+00:00</updated>
<author>
<name>Robert Yang</name>
<email>liezhi.yang@windriver.com</email>
</author>
<published>2015-05-18T09:04:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=3371a7bc96081f88b796209c631f5c80c8b45b27'/>
<id>urn:sha1:3371a7bc96081f88b796209c631f5c80c8b45b27</id>
<content type='text'>
Fixed when bitbake vim -ccleanall:

File: '/path/to/bitbake/lib/bb/fetch2/__init__.py', lineno: 1462, function: clean
     1458:    def clean(self, urldata, d):
     1459:        """
     1460:        Clean any existing full or partial download
     1461:        """
 *** 1462:        bb.utils.remove(urldata.localpath)
     1463:
     1464:    def try_premirror(self, urldata, d):
     1465:        """
     1466:        Should premirrors be used?
File: '/path/to/bitbake/lib/bb/utils.py', lineno: 633, function: remove
     0629:        subprocess.call(['rm', '-rf'] + glob.glob(path))
     0630:        return
     0631:    for name in glob.glob(path):
     0632:        try:
 *** 0633:            os.unlink(name)
     0634:        except OSError as exc:
     0635:            if exc.errno != errno.ENOENT:
     0636:                raise

Exception: OSError: [Errno 21] Is a directory: '/path/to/downloads/hg/vim.googlecode.com/hg/vim'

(Bitbake rev: 02763306662e15a4750395e5eab64ba98d1f9939)

Signed-off-by: Robert Yang &lt;liezhi.yang@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch/hg: support submodules</title>
<updated>2015-05-12T11:14:14+00:00</updated>
<author>
<name>Daniel McGregor</name>
<email>daniel.mcgregor@vecima.com</email>
</author>
<published>2015-05-12T03:25:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=9e24bde011479d9f22830080720510e52e9923d8'/>
<id>urn:sha1:9e24bde011479d9f22830080720510e52e9923d8</id>
<content type='text'>
Use hg clone and hg pull to copy the source into the build
directory rather than taring up the cloned repository and
untarring in the destination.

This allows submodules to be cloned. While here, make the default
behaviour keep the hg scm data to match the behaviour of the git
fetcher.

(Bitbake rev: f002b1ca80cb542a4ed0c06c53c914cd5e076565)

Signed-off-by: Daniel McGregor &lt;daniel.mcgregor@vecima.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch2/hg: Fix username/password handling</title>
<updated>2014-08-28T14:12:45+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2014-08-27T12:56:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c79b7f06af33f0b4531455aab25b6af646d29284'/>
<id>urn:sha1:c79b7f06af33f0b4531455aab25b6af646d29284</id>
<content type='text'>
We should only add user/password options if they're specified as in the
fetch case. Patch from Volker Vogelhuber &lt;v.vogelhuber@digitalendoscopy.de&gt;

(Bitbake rev: 303e6256947f4df4f283b75b7ccfdffa72864d67)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch2/hg: Fix missing proto param for hg checkout with user and pw</title>
<updated>2014-05-28T07:29:18+00:00</updated>
<author>
<name>Volker Vogelhuber</name>
<email>v.vogelhuber@digitalendoscopy.de</email>
</author>
<published>2014-05-26T07:22:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ce5aadc677886da8c829de2e3004dae75e1a1c3f'/>
<id>urn:sha1:ce5aadc677886da8c829de2e3004dae75e1a1c3f</id>
<content type='text'>
A fix for the former patch when checking out a repository with
username and password using HG

(Bitbake rev: 0e7b594ccbceb3149f38776cea204807031ef69f)

Signed-off-by: Volker Vogelhuber &lt;v.vogelhuber@digitalendoscopy.de&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fix cloning of mercurial repository with username and password specified in url</title>
<updated>2014-05-11T11:27:56+00:00</updated>
<author>
<name>Volker Vogelhuber</name>
<email>v.vogelhuber@digitalendoscopy.de</email>
</author>
<published>2014-05-09T08:10:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=60436dc604a0b1962e379e45d486d51810158ae2'/>
<id>urn:sha1:60436dc604a0b1962e379e45d486d51810158ae2</id>
<content type='text'>
(Bitbake rev: 9a328262e047562a6edf7b2ec7b8a1949e287cbe)

Signed-off-by: Volker Vogelhuber &lt;v.vogelhuber@digitalendoscopy.de&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
