[Buildroot] [PATCH 1/4] core/pkg-infra: introduce download features concept
Arnout Vandecappelle
arnout at mind.be
Thu Jan 16 22:59:00 UTC 2020
Hi Vincent,
Thanks for these patches. Nice idea.
On 16/01/2020 20:53, Vincent Fazio wrote:
> Ryan,
>
> On 1/16/20 1:49 PM, Ryan Barnett wrote:
>> Vincent,
>>
>> Please see my few comments while just quickly looking over this patchset.
>>
>> On Thu, Jan 16, 2020 at 1:39 PM Vincent Fazio <vfazio at xes-inc.com> wrote:
>> There should be more of a commit message which describe the feature
>> being added here. Initially I was unsure what was being proposed here
>> without looking at the changes.
> Yea, sorry about that. kinda fired it off a bit sooner than I expected. I'll
> expand the commit messages
It's good to fire it off early (as an RFC) to avoid wasting work if it's going
in the wrong direction.
... which I think this is.
I guess the idea is to generalize the submodules feature so it can be used by
several VCS systems, and to combine it with the transient option.
However, I don't think the additional complexity is worth it.
Separate _GIT_SUBMODULES = YES and _DOWNLOAD_TRANSIENT = YES are IMO easier to
understand than _DL_FEATURES = submodules transient, because we don't really
have the latter pattern anywhere else in Buildroot. In addition, it's hard to
remember if it's comma-separated or space-separated.
I also think the infrastructural code becomes a bit harder to understand
(particularly how the features are parsed out in the git helper script).
Bottom line: I think this is only worth it if we have at least four or so of
these features.
Regards,
Arnout
More information about the buildroot
mailing list