summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@microsoft.com>2021-04-13 19:00:08 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-04-15 20:18:57 +0100
commit1892aae539dbd9544457e4dc8b76b20c631f65f7 (patch)
tree51882202f850413f2a864ce5e80a508cb4c77009
parentddc9e2fd33abe6a0de7b4e0dacdb6f530ee99871 (diff)
downloadpoky-1892aae539dbd9544457e4dc8b76b20c631f65f7.tar.gz
bitbake: bitbake-user-manual: document no support for using passwords in git URLs
This is based on the comment added in revision aded964eed4ce5a725ed1ab477efabc86b1aa481. (Bitbake rev: 082683da089115d8b6f71f221cabb41ac401f733) Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst
index e9a5f336df..bd6cc0ef2c 100644
--- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst
+++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst
@@ -441,6 +441,15 @@ Here are some example URLs: ::
441 SRC_URI = "git://git.oe.handhelds.org/git/vip.git;tag=version-1" 441 SRC_URI = "git://git.oe.handhelds.org/git/vip.git;tag=version-1"
442 SRC_URI = "git://git.oe.handhelds.org/git/vip.git;protocol=http" 442 SRC_URI = "git://git.oe.handhelds.org/git/vip.git;protocol=http"
443 443
444.. note::
445
446 Specifying passwords directly in ``git://`` urls is not supported.
447 There are several reasons: ``SRC_URI`` is often written out to logs and
448 other places, and that could easily leak passwords; it is also all too
449 easy to share metadata without removing passwords. SSH keys, ``~/.netrc``
450 and ``~/.ssh/config`` files can be used as alternatives.
451
452
444.. _gitsm-fetcher: 453.. _gitsm-fetcher:
445 454
446Git Submodule Fetcher (``gitsm://``) 455Git Submodule Fetcher (``gitsm://``)