[bitbake-devel] [PATCH v2] Fix gitsm networking and mirroring
Mark Hatle
mark.hatle at windriver.com
Tue Sep 25 17:15:24 UTC 2018
v2:
Further testing found two missing try/except blocks when checking if a git
repository contained the .gitmodules file. This has been corrected and the
bitbake-selftest is now working again.
v1:
gitsm would honor the BB_NO_NETWORK and mirroring for the primary repository,
but submodules would always attempt to hit the network.
This code reworks the git submodule fetcher by avoiding the
"git submodule init".
The code has been tested using my local use-case, as well as the built-in
test suite. (You'll notice I had to adjust the test suite slightly in the
patch.)
The change is available at:
git://git.openembedded.org/bitbake-contrib mgh/gitsm
Mark Hatle (1):
fetch2/gitsm.py: Rework the git submodule fetcher
lib/bb/fetch2/gitsm.py | 279 +++++++++++++++++++++++++++----------------------
lib/bb/tests/fetch.py | 3 +
2 files changed, 159 insertions(+), 123 deletions(-)
--
1.8.3.1
More information about the bitbake-devel
mailing list