[1.46][PATCH 0/2] Patch review
Please review this set of patches for dunfell and have comments back by end of day Wednesday.
Tested on dunfell autobuilder builds over the past few weeks.
The following changes since commit 838a89141fd6a75da9f982ad2b035e823b692d2a:
server/process: Account for xmlrpc connections (2020-07-29 00:21:29 +0100)
are available in the Git repository at:
git://git.openembedded.org/bitbake-contrib stable/1.46-nut
http://cgit.openembedded.org/bitbake-contrib/log/?h=stable/1.46-nut
Jean-Francois Dagenais (1):
siggen: clean_basepath: remove recipe full path when virtual:xyz
present
Richard Purdie (1):
fetch2: Drop cups.org from wget status checks
lib/bb/siggen.py | 2 +- lib/bb/tests/fetch.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-)
Signature · 1 line
2.17.1
[bitbake][dunfell][1.46][PATCH 1/2] siggen: clean_basepath: remove recipe full path when virtual:xyz present
From: Jean-Francois Dagenais <[email protected]>
Before this fix, this example basepath (a):
virtual:native:/full/path/to/recipes-example/helloworld/helloworld_1.2.3.bb:do_compile
would get incorrectly "cleaned" into:
helloworld/helloworld_1.2.3.bb:do_compile:virtual:native:/full/path/to/recipes-example/helloworld/helloworld_1.2.3.bb
When searching backwards in a trying to isolate the 'virtual:xyz' to add it to the end of the string, we need to consider a still has the recipe path and taskname. So stoping the rsplit after only 1 split is not enough. We want to reach the second ':' from the end.
This way, we obtain:
helloworld/helloworld_1.2.3.bb:do_compile:virtual:native
--- lib/bb/siggen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/bb/siggen.py +1 -1
@@ -706,7 +706,7 @@ def clean_basepath(a): _, mc, a = a.split(":", 2) b = a.rsplit("/", 2)[1] + '/' + a.rsplit("/", 2)[2] if a.startswith("virtual:"): - b = b + ":" + a.rsplit(":", 1)[0] + b = b + ":" + a.rsplit(":", 2)[0] if mc: b = b + ":mc:" + mc return b
Signature · 1 line
2.17.1
[bitbake][dunfell][1.46][PATCH 2/2] fetch2: Drop cups.org from wget status checks
In reply to Steve SakomanFrom: Richard Purdie <[email protected]>
Its becomming clear the upstream server doesn't like this, drop these two urls from the test, not sure we need them here anyway.
--- lib/bb/tests/fetch.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
lib/bb/tests/fetch.py +1 -3
@@ -1262,9 +1262,7 @@ class FetchLatestVersionTest(FetcherTest): class FetchCheckStatusTest(FetcherTest): - test_wget_uris = ["http://www.cups.org/software/1.7.2/cups-1.7.2-source.tar.bz2", - "http://www.cups.org/", - "http://downloads.yoctoproject.org/releases/sato/sato-engine-0.1.tar.gz", + test_wget_uris = ["http://downloads.yoctoproject.org/releases/sato/sato-engine-0.1.tar.gz", "http://downloads.yoctoproject.org/releases/sato/sato-engine-0.2.tar.gz", "http://downloads.yoctoproject.org/releases/sato/sato-engine-0.3.tar.gz", "https://yoctoproject.org/",
Signature · 1 line
2.17.1