[bitbake-devel] [PATCH 0/7] fetch2/git: Check fullshallow tarball and clonedir before access
Urs Fässler
urs.fassler at bbv.ch
Wed Oct 3 12:03:57 UTC 2018
Add checks if a source exists before unpacking it. Throw an
understandable error when the source does not exist.
This is a follow up error that happens in some cases with mirror
rewrite rules. We only fix the follow up error with this patches.
The fix for the root of the error will follow.
Urs Fässler (7):
fetch2/git: prevent access to non-existing fullshallow tarball
fetch2/git: improve readability of method need_update
fetch2/git: use correct check to decide if the shallow tarball should
be unpacked
tests/data: extract LogRecord into own file
fetch2/git: prevent access to non-existing clonedir
fetch2/git: explicitly show the decision logic to select the source in
code
fetch2/git: provide information about missing sources
lib/bb/fetch2/git.py | 39 +++++++++++++++++++++++-------
lib/bb/tests/data.py | 25 +------------------
lib/bb/tests/fetch.py | 29 ++++++++++++++++++++++
lib/bb/tests/logrecord.py | 51 +++++++++++++++++++++++++++++++++++++++
4 files changed, 111 insertions(+), 33 deletions(-)
create mode 100644 lib/bb/tests/logrecord.py
--
2.19.0
More information about the bitbake-devel
mailing list