* [PATCH 0/1] gitsm.py: process_submodules(): Set nobranch=1 for url
@ 2022-11-09 10:11 Robert Yang
2022-11-09 10:11 ` [PATCH 1/1] " Robert Yang
0 siblings, 1 reply; 2+ messages in thread
From: Robert Yang @ 2022-11-09 10:11 UTC (permalink / raw)
To: bitbake-devel
The following changes since commit b3d0e068f72b79f868940877b147fcfda67623a7:
selftest: add a copy of previous mtd-utils version to meta-selftest (2022-11-08 22:47:17 +0000)
are available in the Git repository at:
https://github.com/robertlinux/yocto rbt/gitsm
https://github.com/robertlinux/yocto/tree/rbt/gitsm
Robert Yang (1):
gitsm.py: process_submodules(): Set nobranch=1 for url
bitbake/lib/bb/fetch2/gitsm.py | 1 +
1 file changed, 1 insertion(+)
--
2.35.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 1/1] gitsm.py: process_submodules(): Set nobranch=1 for url
2022-11-09 10:11 [PATCH 0/1] gitsm.py: process_submodules(): Set nobranch=1 for url Robert Yang
@ 2022-11-09 10:11 ` Robert Yang
0 siblings, 0 replies; 2+ messages in thread
From: Robert Yang @ 2022-11-09 10:11 UTC (permalink / raw)
To: bitbake-devel
Just like download_submodule() does, fixed warings when run
bb.fetch2.Fetch([url], d) in process_submodules' function:
WARNING: grpc-native-1.50.0-r0 do_fetch: URL: gitsm://github.com/abseil/abseil-cpp.git;protocol=https;name=third_party/abseil-cpp;subpath=third_party/abseil-cpp does not set any branch parameter. The future default branch used by tools and repositories is uncertain and we will therefore soon require this is set in all git urls.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
bitbake/lib/bb/fetch2/gitsm.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/bitbake/lib/bb/fetch2/gitsm.py b/bitbake/lib/bb/fetch2/gitsm.py
index 25d5db0e5b6..e4bce3d5bef 100644
--- a/bitbake/lib/bb/fetch2/gitsm.py
+++ b/bitbake/lib/bb/fetch2/gitsm.py
@@ -122,6 +122,7 @@ class GitSM(Git):
url += ';protocol=%s' % proto
url += ";name=%s" % module
url += ";subpath=%s" % module
+ url += ";nobranch=1"
ld = d.createCopy()
# Not necessary to set SRC_URI, since we're passing the URI to
--
2.35.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-09 10:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-09 10:11 [PATCH 0/1] gitsm.py: process_submodules(): Set nobranch=1 for url Robert Yang
2022-11-09 10:11 ` [PATCH 1/1] " Robert Yang
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.