<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/bitbake/lib/bb/fetch2, branch dizzy</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=dizzy</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=dizzy'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2015-04-24T10:33:13+00:00</updated>
<entry>
<title>bitbake: fetch/git: Remove a possible trailing '/' in subpath</title>
<updated>2015-04-24T10:33:13+00:00</updated>
<author>
<name>Anders Darander</name>
<email>anders@chargestorm.se</email>
</author>
<published>2015-04-17T05:49:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=46f73593c03532b7293fde3147231422ac991081'/>
<id>urn:sha1:46f73593c03532b7293fde3147231422ac991081</id>
<content type='text'>
If the subpath parameter to the git fetcher ends with a trailing '/',
 bb.utils.prunedir() will be called on '/'...

Fixes [YOCTO #7620].

(Bitbake master rev: 380a3fb372c8b0a53dd7528562e6e7a222dc76ef)

(Bitbake rev: faffa1c4a4d8353b21a0d359076153da0dc31a05)

Signed-off-by: Anders Darander &lt;anders@chargestorm.se&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: cache/fetch2/siggen: Ensure we track include history for file checksums</title>
<updated>2015-02-11T17:36:50+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2014-12-08T21:25:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=384863c7bc4d36d584537b00f1469b68eb94b487'/>
<id>urn:sha1:384863c7bc4d36d584537b00f1469b68eb94b487</id>
<content type='text'>
Currently, if you reference a file url, its checksum is included in the
task hash, however if you change to a different file at a different
location, perhaps taking advantage of the FILESPATH functionality, the
system will not reparse the file in question and change its checksum to
match the new file.

To correctly handle this, the system not only needs to know if the
existing file still exists or not, but also check the existance
of every file it would have looked at when computing the original file.

We already do this in the bitbake parsing code for class inclusion. This
change uses the same technique to log the file list we looked at and
if files in these locations exist when they previously did not, to
invalidate and reparse the file.

Since data stored in the cache is flattened text, we have to use a string
form of the data and split on the ":" character which is ugly, but is
an internal detail we can improve later if a better method is found.

The cache version changes to trigger a reparse since the previous
cache data is now incompatible.

[YOCTO #7019]

(Bitbake rev: 67ebf368aab8fbe372374190f013bdf2c83c59de)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: wget: Add localpaths method which gives localpath with history</title>
<updated>2015-02-11T17:36:50+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2014-12-08T21:22:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=0e65f0958034c4af2c5d4404bd997eb18121f296'/>
<id>urn:sha1:0e65f0958034c4af2c5d4404bd997eb18121f296</id>
<content type='text'>
In some cases for cache purpoes we not only need to know which file
is going to be used but also which paths were considered. Add a
localpaths method which includes the history.

The core which() funciton already supports this, this just extends
the function to preserve the extra data we need. localpath becomes
just a special case of the case with history.

(Bitbake rev: d71407dbbf82659f245e002ecaad02b26838f455)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch2/git: Allow other namespaces than refs/heads to be searched.</title>
<updated>2015-01-06T14:15:48+00:00</updated>
<author>
<name>Fredrik Svensson</name>
<email>fredrik.svensson@axis.com</email>
</author>
<published>2014-11-04T11:29:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=cc6d968241007fb036d7c0843020c7dae9a529d9'/>
<id>urn:sha1:cc6d968241007fb036d7c0843020c7dae9a529d9</id>
<content type='text'>
This makes it possble to fetch Gerrit review references which are
normally stored under refs/changes.

Please disregard previous patch with the same topic.

(Bitbake rev: ab8cbf2a71750f5ea36e218036b050857301607b)

Signed-off-by: Fredrik Svensson &lt;fredrik.svensson@axis.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetcher: fix getVar call due to incorrect argument datatype</title>
<updated>2014-10-11T07:11:03+00:00</updated>
<author>
<name>Alejandro Hernandez</name>
<email>alejandro.hernandez@linux.intel.com</email>
</author>
<published>2014-10-10T18:13:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ef3755b739e36c60eb9d5d7a0e7fa271d85cf3a8'/>
<id>urn:sha1:ef3755b739e36c60eb9d5d7a0e7fa271d85cf3a8</id>
<content type='text'>
(Bitbake rev: 2ac33aac3446cb12227f1b8daa5f27f417c9bb9e)

Signed-off-by: Alejandro Hernandez &lt;alejandro.hernandez@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetcher: fix BB_STRICT_CHECKSUM datatype check</title>
<updated>2014-10-06T15:09:53+00:00</updated>
<author>
<name>Alejandro Hernandez</name>
<email>alejandro.hernandez@linux.intel.com</email>
</author>
<published>2014-09-30T16:21:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=505a6b696ae990442de720e5e1135a3e44d5f75c'/>
<id>urn:sha1:505a6b696ae990442de720e5e1135a3e44d5f75c</id>
<content type='text'>
Forcing strict to be a string, to avoid problems when performing comparisons

[YOCTO #6762]

(Bitbake rev: b8ed2098bdea2afd93ab4e3e1b834f3a31cb60de)

Signed-off-by: Alejandro Hernandez &lt;alejandro.hernandez@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch: Extend testing of subdir unpack parameter and fix</title>
<updated>2014-09-29T11:08:48+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2014-09-24T14:16:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=8e4e03c2a32a6fff6e07f01ed36481e6e7ee0b4a'/>
<id>urn:sha1:8e4e03c2a32a6fff6e07f01ed36481e6e7ee0b4a</id>
<content type='text'>
This fixes urls of the form file://some/path/file;subdir=b. It also
adds in a couple of tests so we now tests these corner cases.

(Bitbake rev: 46306912a96444790efa9418d934dfdd36773ba1)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch: SRC_URI parameter "subdir" does not work for local files</title>
<updated>2014-09-29T11:08:48+00:00</updated>
<author>
<name>Roxana</name>
<email>roxana.ciobanu@intel.com</email>
</author>
<published>2014-07-31T10:29:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=1f4e75143a961665cf3010e9b0c6d480bbbe022a'/>
<id>urn:sha1:1f4e75143a961665cf3010e9b0c6d480bbbe022a</id>
<content type='text'>
Check if the 'subdir' parameter exists and assign it to 'destdir' so that
files are copied in ${WORKDIR}/destdir. This fixes urls that are of the form
file://a;subdir=b.

(Bitbake rev: 836a986b365eb9798563ec08d90b346596de7791)

Signed-off-by: Roxana Ciobanu &lt;roxana.ciobanu@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch2/perforce: Use replace (1 line) instead of find (3 lines)</title>
<updated>2014-09-23T19:21:12+00:00</updated>
<author>
<name>Chad Nelson</name>
<email>cnelson711@gmail.com</email>
</author>
<published>2014-09-15T13:01:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a94574f189a2840ddb9cf78c050384d4c833d291'/>
<id>urn:sha1:a94574f189a2840ddb9cf78c050384d4c833d291</id>
<content type='text'>
(Bitbake rev: 5bf5a937b26896bedbfea78dd1d62bce5a26ac2a)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch2/perforce: Fix localfile name if labels are used</title>
<updated>2014-09-23T19:21:11+00:00</updated>
<author>
<name>Chad Nelson</name>
<email>cnelson711@gmail.com</email>
</author>
<published>2014-09-12T20:42:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7ca8b65c3c9fdbfa2de9fbae0bcd36a32d956552'/>
<id>urn:sha1:7ca8b65c3c9fdbfa2de9fbae0bcd36a32d956552</id>
<content type='text'>
I could apply the label "release_1.0" to a super project that contains
many sub projects.  If my recipes have SRC_URI's that use that label but
grab different sub-folders, than there's a bug where the cached localfile
(tar.gz) will not be unique and reused at the wrong times.

SRC_URI = "p4://perforce::1234@//depot/SuperProject/MiniProjectAAA/...;label=release_1.0 \
                     p4://perforce::1234@//depot/SuperProject/MiniProjectBBB/...;label=release_1.0"

(Bitbake rev: 3b5b1703b77490116dda895b29737cea51a3d6a0)

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