Bug 11594

Summary: update docs to note gitsm fetcher does not mirror and list the sources it pulls
Product: [Build System, Metadata & Runtime] BitBake Reporter: Mikko Ylinen <mikko.ylinen>
Component: bitbakeAssignee: Mikko Ylinen <mikko.ylinen>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: kergoth, poky.bs.watcher, poky.watcher
Version: unspecified   
Target Milestone: 2.4 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

Description Mikko Ylinen 2017-05-31 06:00:45 UTC
gitsm fetcher is not able to use a source mirror for the git submodules it pulls. Furthermore the submodule sources it pulls are not visible to the licensing infrastructure/archiver.

The first part is a documented limitation while the latter isn't.
Comment 1 Richard Purdie 2017-06-01 14:34:07 UTC
CAn you send a patch documenting this latter part please? This is one reason I have a rather strong dislike of the gitsm fetcher and in some ways wish we'd never merged it. I'd be happy to see patches making the license class error for gitsm:// urls.
Comment 2 Christopher Larson 2017-08-29 15:15:19 UTC
We should be able to fix this via the intended implementation for Issue #11831. By reworking the submodules to use the bitbake fetcher, we'll have more visibility into their fetch process and mirrors will be used for the submodules.
Comment 3 Mikko Ylinen 2017-10-06 08:48:00 UTC
patch sent to bitbake-devel.
Comment 4 Mikko Ylinen 2017-10-09 04:01:47 UTC
the doc update merged in bitbake master.