diff options
author | Yoann Congal <yoann.congal@smile.fr> | 2023-07-28 18:27:51 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-07-29 13:26:19 +0100 |
commit | d8a51fd6288b54c2fe9d08a65a50e2d8cd38b91b (patch) | |
tree | a6b0df2144144a0258c256804afe573550840f52 /bitbake/lib/bb/fetch2 | |
parent | 5afd5091ccb7d14743eb3b9351bec5bb2be8e07d (diff) | |
download | poky-d8a51fd6288b54c2fe9d08a65a50e2d8cd38b91b.tar.gz |
bitbake: fetch2/gitsm: Document that we won't support propagating user parameter
[YOCTO #13550]
(Bitbake rev: 5e45b8eab60d651c98a950533043a4c96b9c8b01)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2')
-rw-r--r-- | bitbake/lib/bb/fetch2/gitsm.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/gitsm.py b/bitbake/lib/bb/fetch2/gitsm.py index f8e239bc5d..47225b9721 100644 --- a/bitbake/lib/bb/fetch2/gitsm.py +++ b/bitbake/lib/bb/fetch2/gitsm.py | |||
@@ -123,6 +123,12 @@ class GitSM(Git): | |||
123 | url += ";name=%s" % module | 123 | url += ";name=%s" % module |
124 | url += ";subpath=%s" % module | 124 | url += ";subpath=%s" % module |
125 | url += ";nobranch=1" | 125 | url += ";nobranch=1" |
126 | # Note that adding "user=" here to give credentials to the | ||
127 | # submodule is not supported. Since using SRC_URI to give git:// | ||
128 | # URL a password is not supported, one have to use one of the | ||
129 | # recommended way (eg. ~/.netrc or SSH config) which does specify | ||
130 | # the user (See comment in git.py). | ||
131 | # So, we will not take patches adding "user=" support here. | ||
126 | 132 | ||
127 | ld = d.createCopy() | 133 | ld = d.createCopy() |
128 | # Not necessary to set SRC_URI, since we're passing the URI to | 134 | # Not necessary to set SRC_URI, since we're passing the URI to |