Bug 14191

Summary: Git fetcher is fetching LFS content in do_unpack
Product: [Build System, Metadata & Runtime] BitBake Reporter: Matt Hoosier <matt.hoosier>
Component: bitbakeAssignee: Matt Hoosier <matt.hoosier>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: poky.bs.watcher, poky.watcher, randy.macleod
Version: 3.1.6   
Target Milestone: 3.3 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Matt Hoosier 2021-01-15 17:30:52 UTC
The main Git bare cloning done during do_fetch doesn't download a copy of the binaries that a repository using Git LFS will eventually want. The checkout operation occurring as part of the do_unpack task, then, does this lazily.

This violates the expectation that all network access happening during do_fetch.
Comment 1 Matt Hoosier 2021-01-19 21:03:49 UTC
Patch proposed: https://lists.openembedded.org/g/bitbake-devel/message/11909