aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/fetch2/gitsm.py
diff options
context:
space:
mode:
authorYoann Congal <yoann.congal@smile.fr>2023-07-28 18:27:51 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-07-29 13:26:07 +0100
commit5e45b8eab60d651c98a950533043a4c96b9c8b01 (patch)
tree705f72324035c7df091d92271b47dc43d534f1bb /lib/bb/fetch2/gitsm.py
parent3b17a7ed9bf6cd2808946c2d9c3ed9961af11f19 (diff)
downloadbitbake-contrib-5e45b8eab60d651c98a950533043a4c96b9c8b01.tar.gz
fetch2/gitsm: Document that we won't support propagating user parameter
[YOCTO #13550] Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/fetch2/gitsm.py')
-rw-r--r--lib/bb/fetch2/gitsm.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/bb/fetch2/gitsm.py b/lib/bb/fetch2/gitsm.py
index f8e239bc5..47225b972 100644
--- a/lib/bb/fetch2/gitsm.py
+++ b/lib/bb/fetch2/gitsm.py
@@ -123,6 +123,12 @@ class GitSM(Git):
url += ";name=%s" % module
url += ";subpath=%s" % module
url += ";nobranch=1"
+ # Note that adding "user=" here to give credentials to the
+ # submodule is not supported. Since using SRC_URI to give git://
+ # URL a password is not supported, one have to use one of the
+ # recommended way (eg. ~/.netrc or SSH config) which does specify
+ # the user (See comment in git.py).
+ # So, we will not take patches adding "user=" support here.
ld = d.createCopy()
# Not necessary to set SRC_URI, since we're passing the URI to