Bug 14191 - Git fetcher is fetching LFS content in do_unpack
Summary: Git fetcher is fetching LFS content in do_unpack
Status: RESOLVED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: 3.1.6
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 3.3 M3
Assignee: Matt Hoosier
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2021-01-15 17:30 UTC by Matt Hoosier
Modified: 2021-01-26 15:06 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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