<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/bitbake/lib/bb/fetch2/git.py, branch 1.7_M3</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=1.7_M3</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=1.7_M3'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2014-04-27T00:27:55+00:00</updated>
<entry>
<title>bitbake: fetch2/git: Stop git from triggering fsync() calls</title>
<updated>2014-04-27T00:27:55+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2014-04-26T10:20:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c7c58dbe42723dc6327e1867d71d63d120305e73'/>
<id>urn:sha1:c7c58dbe42723dc6327e1867d71d63d120305e73</id>
<content type='text'>
We only ever clone other repositories, if there were a problem such as power
failure, we'd blow away data and rebuild. As such we don't need fsync(). With
filesystems like ext*, the fsync pushes nearly all the data out to disk
which impacts all running processes.

We therefore set a configuration parameter to disable the fsync() calls.

Also fixup a case where basecmd wasn't being used for no good reason.

(Bitbake rev: 0a26abaf3a1e34d556c9375068dd17c879568d0f)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch/git: Separate out an ls-remote function</title>
<updated>2014-03-02T17:25:29+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2014-02-28T17:22:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=1aab9c797d4743f13682c6472e21da0a536056e6'/>
<id>urn:sha1:1aab9c797d4743f13682c6472e21da0a536056e6</id>
<content type='text'>
There is other code which can want to run ls-remote style commands with
different parameters so split out the function.

(Bitbake rev: 13f1138f5504feee0ee8e8f3a0675d0bea490351)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch2/git: Dereference unresolved tags with ls-remote</title>
<updated>2014-01-21T10:20:14+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2014-01-20T14:23:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c81d3ad1e3e3cc4cb18ca520b49c147edae23cd8'/>
<id>urn:sha1:c81d3ad1e3e3cc4cb18ca520b49c147edae23cd8</id>
<content type='text'>
We need to deference tags when trying to map them to commit IDs with
ls-remote. If we don't do this, a given commit might not show up
later in a specific branch. There appears to be no good reason not
to do this.

(Bitbake rev: 8ef24f4c834298348172b96ec0b855bf09552b09)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch2/git: Anchor names when using ls-remote</title>
<updated>2014-01-21T10:20:13+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2014-01-20T14:30:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d21c1537b7052aa24ec56434b821fee67de33a83'/>
<id>urn:sha1:d21c1537b7052aa24ec56434b821fee67de33a83</id>
<content type='text'>
When specifying tags, they're searched for unanchored so foo/bar could
match:

refs/heads/abc/foo/bar
refs/heads/xyz/foo/bar
refs/heads/foo/bar

This change anchors the expressions so they are based against heads
or tags (or any other base level tree that has been created).

(Bitbake rev: df2e0972cd1db7abd5ec8b7cb295fb0c42e284a4)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: bitbake: fetch2/git: add description for nobranch</title>
<updated>2014-01-08T12:49:08+00:00</updated>
<author>
<name>Zhenhua Luo</name>
<email>zhenhua.luo@freescale.com</email>
</author>
<published>2014-01-08T10:17:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c4bcaa3f7ceac346af1555fff2b526ceeac92a54'/>
<id>urn:sha1:c4bcaa3f7ceac346af1555fff2b526ceeac92a54</id>
<content type='text'>
(Bitbake rev: b426740b2ae8245c8cf0f314bf4983b6fff7ecb7)

Signed-off-by: Zhenhua Luo &lt;zhenhua.luo@freescale.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: bitbake: fetch2/git: add nobranch option for SRC_URI to skip SHA validating for branch</title>
<updated>2014-01-07T13:42:55+00:00</updated>
<author>
<name>Zhenhua Luo</name>
<email>zhenhua.luo@freescale.com</email>
</author>
<published>2014-01-07T10:45:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=100c8831a56eb1598837ffac78a1bac577f7efd4'/>
<id>urn:sha1:100c8831a56eb1598837ffac78a1bac577f7efd4</id>
<content type='text'>
For rebased git tree, some commits doesn't exist in any branch, and such commits are
valid in tag, the change is useful for such case.

(Bitbake rev: f594cb9f5a18dd0ab2342f96ffc6dba697b35f65)

Signed-off-by: Zhenhua Luo &lt;zhenhua.luo@freescale.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: bitbake: fetcher2: git.py: clean(): remove the .tar.gz.done</title>
<updated>2014-01-02T13:08:40+00:00</updated>
<author>
<name>Robert Yang</name>
<email>liezhi.yang@windriver.com</email>
</author>
<published>2013-12-27T06:51:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d8d4b0edb1f24d62694c9a10b50656927f6df0e1'/>
<id>urn:sha1:d8d4b0edb1f24d62694c9a10b50656927f6df0e1</id>
<content type='text'>
There was a problem:

$ bitbake xf86-video-omapfb -cfetch &amp;&amp; bitbake xf86-video-omapfb -ccleanall

The git2_git.pingu.fi.xf86-video-omapfb.tar.gz has been removed from the
DL_DIR, but the git2_git.pingu.fi.xf86-video-omapfb.tar.gz.done still exists,
this is because the "open(ud.donestamp, 'w').close()" in try_mirror_url() will
create the git2_git.xxx.tar.gz.done, but no one removes it (the clean() in
fetch2/__init__.py removes the DL_DIR/git2/pkg.done)

This only happens on the git fetcher AFAIK.

[YOCTO #5688]

(Bitbake rev: fb2dc84875eb477661f421b21bc404d4805ce379)

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: bb.fetch2.git: reuse basecmd attribute</title>
<updated>2013-12-18T17:08:08+00:00</updated>
<author>
<name>Olof Johansson</name>
<email>olof.johansson@axis.com</email>
</author>
<published>2013-12-12T16:48:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=52ef6c210c9bdf245b250934a9d697cf7042b816'/>
<id>urn:sha1:52ef6c210c9bdf245b250934a9d697cf7042b816</id>
<content type='text'>
The basecmd is initialized in urldata_init; there's no need redoing that
work.

(Bitbake rev: f8df6f746fb2e27f029a5449cee6c891b1f36f4f)

Signed-off-by: Olof Johansson &lt;olof.johansson@axis.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch2/git: Improve handling of unresolved names verses branches</title>
<updated>2013-12-18T17:08:08+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2013-12-12T16:48:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=498de0473709414961873333b9473ad5a922d78c'/>
<id>urn:sha1:498de0473709414961873333b9473ad5a922d78c</id>
<content type='text'>
Currently the fetcher doesn't distinguish between names that the fetcher
needs to resolve verses branch names that the user specified.

This meant that if you specify a tag and a branch, the fetcher broke. This
separates the two so that the branch name is preserved and can be used in
appropriate places.

(Bitbake rev: e85f39fe9d1b224414b5da0780da514f75c5df92)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch2/git: Ensure check is made in the correct directory</title>
<updated>2013-12-06T14:10:15+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2013-12-06T14:08:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=184038bedb20f74ba4dcad6ef2d92e87a9ba5f9a'/>
<id>urn:sha1:184038bedb20f74ba4dcad6ef2d92e87a9ba5f9a</id>
<content type='text'>
(Bitbake rev: 73ddf1a3d1c516ad3bc785e0413483e616ce07a8)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
