Openembedded Bitbake Development
 help / color / mirror / Atom feed
* [PATCH v2] Fix gitsm networking and mirroring
@ 2018-09-25 17:15 Mark Hatle
  2018-09-25 17:15 ` [PATCH v2] fetch2/gitsm.py: Rework the git submodule fetcher Mark Hatle
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Hatle @ 2018-09-25 17:15 UTC (permalink / raw)
  To: bitbake-devel

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-09-25 17:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-25 17:15 [PATCH v2] Fix gitsm networking and mirroring Mark Hatle
2018-09-25 17:15 ` [PATCH v2] fetch2/gitsm.py: Rework the git submodule fetcher Mark Hatle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox