Skip to content

Bitbake fetcher mirror handling overhaul

Richard Purdie bitbake-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14fetch2/__init__: Make it clearer when uri_replace doesn't return a matchbitbake/lib/bb/fetch2/__init__.py+4 -20 replies
2/14fetch2: Fix error handling in uri_replace()bitbake/lib/bb/fetch2/__init__.py+2 -10 replies
3/14fetch2: Only cache data if fn is set, its pointless caching it against a None valuebitbake/lib/bb/fetch2/__init__.py+2 -20 replies
4/14fetch2: Ensure when downloading we are consistently in the same directorybitbake/lib/bb/fetch2/__init__.py+5 -10 replies
5/14fetch2: Split try_mirrors into two partsbitbake/lib/bb/fetch2/__init__.py+59 -520 replies
6/14fetch2: Explicitly check for mirror tarballs in mirror handling codebitbake/lib/bb/fetch2/__init__.py+2 -10 replies
7/14fetch2: Improve mirror looping to consider more casesbitbake/lib/bb/fetch2/__init__.py+29 -120 replies
8/14fetch2: Simplify some looping constructs in uri_replace()bitbake/lib/bb/fetch2/__init__.py+2 -30 replies
9/14fetch2: Remove basestring test and simplify uri_replacebitbake/lib/bb/fetch2/__init__.py+18 -170 replies
10/14fetch2: Add parameter handling to uri_replace()bitbake/lib/bb/fetch2/__init__.py+9 -10 replies
11/14fetch2: uri_replace() remove what amounts to a null operation and add some commentsbitbake/lib/bb/fetch2/__init__.py+2 -20 replies
12/14fetch2: uri_replace() improve mirrortarball handlingbitbake/lib/bb/fetch2/__init__.py+4 -10 replies
13/14fetch2: uri_replace() only consider ud.localpath where its a filebitbake/lib/bb/fetch2/__init__.py+1 -10 replies
14/14test/fetch: Add in unit tests for uri_replace() and git premirrorsbitbake/lib/bb/tests/fetch.py+52 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/14] Bitbake fetcher mirror handling overhaul

The following commits overhaul bitbake's mirror handling in the fetcher bring various correctness fixes and improvements.

Richard Purdie (14):
fetch2/__init__: Make it clearer when uri_replace doesn't return a
match
fetch2: Fix error handling in uri_replace()
fetch2: Only cache data if fn is set, its pointless caching it
against a None value
fetch2: Ensure when downloading we are consistently in the same
directory
fetch2: Split try_mirrors into two parts
fetch2: Explicitly check for mirror tarballs in mirror handling code
fetch2: Improve mirror looping to consider more cases
fetch2: Simplify some looping constructs in uri_replace()
fetch2: Remove basestring test and simplify uri_replace
fetch2: Add parameter handling to uri_replace()
fetch2: uri_replace() remove what amounts to a null operation and add
some comments
fetch2: uri_replace() improve mirrortarball handling
fetch2: uri_replace() only consider ud.localpath where its a file test/fetch: Add in unit tests for uri_replace() and git premirrors

 bitbake/lib/bb/fetch2/__init__.py |  203 ++++++++++++++++++++++---------------
 bitbake/lib/bb/tests/fetch.py     |   55 ++++++++++-
 2 files changed, 175 insertions(+), 83 deletions(-)
Signature · 1 line
1.7.5.4