From: Mark Hatle <mark.hatle@windriver.com>
To: <bitbake-devel@lists.openembedded.org>
Subject: [PATCH] Fix gitsm networking and mirroring
Date: Thu, 20 Sep 2018 20:18:14 -0400 [thread overview]
Message-ID: <20180921001815.18248-1-mark.hatle@windriver.com> (raw)
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
next reply other threads:[~2018-09-21 0:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-21 0:18 Mark Hatle [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180921001815.18248-1-mark.hatle@windriver.com \
--to=mark.hatle@windriver.com \
--cc=bitbake-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.