diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/fetch2/git.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py index b97967b487..490d57fbbf 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py | |||
@@ -595,6 +595,11 @@ class Git(FetchMethod): | |||
595 | """ | 595 | """ |
596 | Return the repository URL | 596 | Return the repository URL |
597 | """ | 597 | """ |
598 | # Note that we do not support passwords directly in the git urls. There are several | ||
599 | # reasons. SRC_URI can be written out to things like buildhistory and people don't | ||
600 | # want to leak passwords like that. Its also all too easy to share metadata without | ||
601 | # removing the password. ssh keys, ~/.netrc and ~/.ssh/config files can be used as | ||
602 | # alternatives so we will not take patches adding password support here. | ||
598 | if ud.user: | 603 | if ud.user: |
599 | username = ud.user + '@' | 604 | username = ud.user + '@' |
600 | else: | 605 | else: |