<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/bitbake/lib/bb/tests, branch thud-20.0.1</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=thud-20.0.1</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=thud-20.0.1'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2018-11-26T20:16:24+00:00</updated>
<entry>
<title>bitbake: tests/fetch: Update after recent gitsm message changes</title>
<updated>2018-11-26T20:16:24+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2018-11-22T11:59:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=33e5b9e5adfc941ce65da8161c5cdf81fd1ed6c1'/>
<id>urn:sha1:33e5b9e5adfc941ce65da8161c5cdf81fd1ed6c1</id>
<content type='text'>
Also use assetIn instead of assertTrue which aids debugging failures.

(Bitbake rev: 7e9c0bffb95ca92cab61deeeef18f45f1b4edb6f)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: data_smart: Fix removal handling interaction issue with overrides</title>
<updated>2018-10-20T13:27:03+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2018-10-19T11:24:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a9dc2ac9e00e3bbea872c8d22568e3acfb9ba3d4'/>
<id>urn:sha1:a9dc2ac9e00e3bbea872c8d22568e3acfb9ba3d4</id>
<content type='text'>
If a variable has a _remove applied to it but that variable is in turn
'renamed' through OVERRIDES, the removal gets lost with the current code.

TEST = "foo"
TEST_someval = "bar"
TEST_someval_remove = "bar"
OVERRIDES = "someval"

currently gives "bar" for TEST but should give "".

This fixes the code to track the removal and adds a test case to ensure this
doesn't regress again.

(Bitbake rev: 8f55010c18057be040f073d8bcb4c5c2c311d809)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: test/data: Add new tests for task checksum changing/not changing</title>
<updated>2018-10-18T09:59:27+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2018-10-17T13:41:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=4ef016683d986cc5291e494789ff5a49b28030eb'/>
<id>urn:sha1:4ef016683d986cc5291e494789ff5a49b28030eb</id>
<content type='text'>
This adds some basic tests for task checksums to ensure that the
checksums:

* change when variables change
* change when active _remove operators are present
* don't change when the _remove operators are not active
* change when an active contains() expression is present
* dont' change a contains() expression isn't active

There is a lot of other functionality which should be added to this
test but its a start.

(Bitbake rev: 5463c16e3619d324aed137f47f93f0997a227d29)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch2/git: provide information about missing sources</title>
<updated>2018-10-18T09:59:27+00:00</updated>
<author>
<name>Urs Fässler</name>
<email>urs.fassler@bbv.ch</email>
</author>
<published>2018-10-08T08:15:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a8a077cafb0584dbb4ad4cb8a721b4d50b4180ef'/>
<id>urn:sha1:a8a077cafb0584dbb4ad4cb8a721b4d50b4180ef</id>
<content type='text'>
Provide more information in the case the sources are not found in the
unpack step.

(Bitbake rev: 27a2214bf6f2e7c61bfc422a20959a55f7e0d25d)

Signed-off-by: Urs Fässler &lt;urs.fassler@bbv.ch&gt;
Signed-off-by: Pascal Bach &lt;pascal.bach@siemens.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch2/git: prevent access to non-existing clonedir</title>
<updated>2018-10-18T09:59:26+00:00</updated>
<author>
<name>Urs Fässler</name>
<email>urs.fassler@bbv.ch</email>
</author>
<published>2018-10-08T08:15:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=0d4fe0602ef4ac80f3cea471e48b96b71a585669'/>
<id>urn:sha1:0d4fe0602ef4ac80f3cea471e48b96b71a585669</id>
<content type='text'>
A user friendly error is throw when neither the clonedir nor
fullshallow exist. Without the check, a difficult to interpret error
is throw from within the fetch command.

(Bitbake rev: 30cf2506007d25162f0805051212f54c39034ff3)

Signed-off-by: Urs Fässler &lt;urs.fassler@bbv.ch&gt;
Signed-off-by: Pascal Bach &lt;pascal.bach@siemens.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch2/git: use intention revealing names for premirror tests</title>
<updated>2018-10-18T09:59:26+00:00</updated>
<author>
<name>Urs Fässler</name>
<email>urs.fassler@bbv.ch</email>
</author>
<published>2018-10-15T13:43:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=9a058e442173b6de4b7be42ce433686eb679b95a'/>
<id>urn:sha1:9a058e442173b6de4b7be42ce433686eb679b95a</id>
<content type='text'>
(Bitbake rev: 3434e64e7c077c1ecff7b36f02b6c6b59a7d1fe9)

Signed-off-by: Urs Fässler &lt;urs.fassler@bbv.ch&gt;
Signed-off-by: Pascal Bach &lt;pascal.bach@siemens.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch2/git: add tests to capture existing behavior wrt. naming of git shallow tarball</title>
<updated>2018-10-18T09:59:26+00:00</updated>
<author>
<name>Urs Fässler</name>
<email>urs.fassler@bbv.ch</email>
</author>
<published>2018-10-15T13:43:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=36fcd5eda967dd5fb97b4fb6645dc8418e95c64b'/>
<id>urn:sha1:36fcd5eda967dd5fb97b4fb6645dc8418e95c64b</id>
<content type='text'>
The mapping of the URLs to the local shallow tarballs is not obvious. For
easier understanding, we add this tests to explicitly showing the mapping.

(Bitbake rev: 05f2ac8e19a027d103921b5ae0070db609a83042)

Signed-off-by: Urs Fässler &lt;urs.fassler@bbv.ch&gt;
Signed-off-by: Pascal Bach &lt;pascal.bach@siemens.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch2/git: add tests to capture existing behavior wrt. naming of mirror tarball</title>
<updated>2018-10-18T09:59:26+00:00</updated>
<author>
<name>Urs Fässler</name>
<email>urs.fassler@bbv.ch</email>
</author>
<published>2018-10-15T13:43:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=b6a972922b156bc95980239e2e5f4253768dfb5e'/>
<id>urn:sha1:b6a972922b156bc95980239e2e5f4253768dfb5e</id>
<content type='text'>
The mapping of the URLs to the local tarballs is not obvious. For easier
understanding, we add this tests to explicitly showing the mapping.

(Bitbake rev: c604d9402b4c9ad7eb5c794ab24f2f348d9719a9)

Signed-off-by: Urs Fässler &lt;urs.fassler@bbv.ch&gt;
Signed-off-by: Pascal Bach &lt;pascal.bach@siemens.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch2/git: add tests to capture existing behavior wrt. naming of clone directories</title>
<updated>2018-10-18T09:59:26+00:00</updated>
<author>
<name>Urs Fässler</name>
<email>urs.fassler@bbv.ch</email>
</author>
<published>2018-10-15T13:43:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ffac9c20f5b8bb084bdac2888ea5df6bc5e58684'/>
<id>urn:sha1:ffac9c20f5b8bb084bdac2888ea5df6bc5e58684</id>
<content type='text'>
The mapping of the URLs to the local directory is not obvious. For easier
understanding, we add this tests to explicitly showing the mapping.

(Bitbake rev: 5f92682389fee437d6df2ff7718c571b7444e179)

Signed-off-by: Urs Fässler &lt;urs.fassler@bbv.ch&gt;
Signed-off-by: Pascal Bach &lt;pascal.bach@siemens.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: data: Fix whitespace on _remove operations</title>
<updated>2018-10-18T09:59:26+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2018-10-16T13:16:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a9aa1d24c7c4518173f622a1fab55a98a16150f9'/>
<id>urn:sha1:a9aa1d24c7c4518173f622a1fab55a98a16150f9</id>
<content type='text'>
We have some slightly odd behaviours with the current implementation of
_remove operations. For example:

TEST = " A B"
TEST_remove = "C"

would trigger TEST to become "A B" even thought it doesn't contain "C".

In particular, this means that an inactive remove operator added in a
bbappend could change the task checksum which is not desireable.

Fix the operation to preserve whitespace, adding new tests to make this
explict and test further corner cases. Also update the manual to match.

(Bitbake rev: c0a23dd9155c50a6b7df796980bc7b612cac7994)

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