Bug 14103

Summary: Git URI Scheme password is dropped
Product: [Build System, Metadata & Runtime] BitBake Reporter: Dominik Schmidt <ds>
Component: bitbakeAssignee: Joshua Watt <JPEWhacker>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: poky.bs.watcher, poky.watcher, randy.macleod
Version: 5.99   
Target Milestone: 3.3 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
Patch for the bug none

Description Dominik Schmidt 2020-10-22 01:53:30 UTC
Created attachment 4742 [details]
Patch for the bug

Hi,

When specifying git SRC_URIs like:

git://username:password@host.tld/path/to/repo.git

The password gets dropped from actual git commands.
Attached is a patch that preserves passwords.

Best,
Dominik
Comment 1 Dominik Schmidt 2020-11-02 02:26:28 UTC
See the bitbake merge request on the mailing-lists here:

https://lists.openembedded.org/g/bitbake-devel/message/11782
Comment 2 Joshua Watt 2021-01-14 16:16:47 UTC
Comment added in bitbake aded964eed4ce5a725ed1ab477efabc86b1aa481