All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix gitsm networking and mirroring
@ 2018-09-21  0:18 Mark Hatle
  2018-09-21  0:18 ` [PATCH] fetch2/gitsm.py: Rework the git submodule fetcher Mark Hatle
  2018-09-21  7:02 ` [PATCH] Fix gitsm networking and mirroring Mikko.Rapeli
  0 siblings, 2 replies; 7+ messages in thread
From: Mark Hatle @ 2018-09-21  0:18 UTC (permalink / raw)
  To: bitbake-devel

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 | 271 +++++++++++++++++++++++++++----------------------
 lib/bb/tests/fetch.py  |   3 +
 2 files changed, 151 insertions(+), 123 deletions(-)

-- 
1.8.3.1



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

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

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-21  0:18 [PATCH] Fix gitsm networking and mirroring Mark Hatle
2018-09-21  0:18 ` [PATCH] fetch2/gitsm.py: Rework the git submodule fetcher Mark Hatle
2018-09-21  7:02 ` [PATCH] Fix gitsm networking and mirroring Mikko.Rapeli
2018-09-21 14:04   ` Mark Hatle
2018-09-21 14:15     ` Mikko.Rapeli
2018-09-21 15:05       ` Mark Hatle
2018-09-21 15:09         ` Mikko.Rapeli

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.