On 1/14/21 2:16 PM, Khem Raj wrote:
On 1/14/21 8:11 AM, Joshua Watt wrote:
From: Dominik Schmidt <d...@technokrat.ch>
This allows the users to specify SRC_URIs of the form
git://user:passw...@host.tld/path/to/repo.git
which allows pulling in private repositories.
will this appear in package metadata in rpms/ipks etc ?
Possibly. There are a lot of problems with it, so we aren't accepting
this patch. I sent it in error :)
[YOCTO #14065]
Signed-off-by: Joshua Watt <jpewhac...@gmail.com>
---
bitbake/lib/bb/fetch2/git.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py
index df9538a60d..a1356ed9f0 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -606,7 +606,10 @@ class Git(FetchMethod):
# removing the password. ssh keys, ~/.netrc and
~/.ssh/config files can be used as
# alternatives so we will not take patches adding password
support here.
if ud.user:
- username = ud.user + '@'
+ username = ud.user
+ if ud.pswd:
+ username += ":" + ud.pswd
+ username += "@"
else:
username = ""
return "%s://%s%s%s" % (ud.proto, username, ud.host, ud.path)
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#146721):
https://lists.openembedded.org/g/openembedded-core/message/146721
Mute This Topic: https://lists.openembedded.org/mt/79678634/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-