Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 744388 - git-r3.eclass - Add support to disable the recursive submodules fetching
Summary: git-r3.eclass - Add support to disable the recursive submodules fetching
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-23 19:24 UTC by Alexander Weber
Modified: 2020-09-24 04:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Weber 2020-09-23 19:24:19 UTC
In some cases only the main git repo is required to build the package, without the submodules. For example if the submodules points to 3rd-party libs used in software, but the ebuild should use the libs installed already in system.

My proposal is to implement additional variable GIT_SUBMODULE_FETCH that is default true but can be changed to false in ebuild.

Reproducible: Always
Comment 1 Arfrever Frehtes Taifersar Arahesis 2020-09-24 00:31:04 UTC
Simply set EGIT_SUBMODULES=() in ebuild...
Comment 2 Alexander Weber 2020-09-24 04:34:27 UTC
Thank you for the hint! Did not found EGIT_SUBMODULES the parameter byself in documentation. Setting the parameter does work for me, so this request can be closed.