#26 UX proposal: command line option for recursive build dependencies
Closed: RESOLVED 6 years ago Opened 6 years ago by ncoghlan.

The current default behaviour is to allow up to 10 levels of recursive build dependencies before fedmod gives up on attempting to make the module self-hosting.

Given the current state of build dependency sprawl in Fedora packages, I'm thinking this is actually a bad default, and we'd generate better initial drafts of modulemd files by only checking the immediate dependencies of the given packages, and letting the first module build fail if that's insufficient.

However, rather than taking the dependency resolution loop out of the code entirely, I'd instead add a command line flag to specify how many levels the modulemd generator should try to resolve - the default value would just be 0.


Metadata Update from @ncoghlan:
- Issue marked as blocking: #23

6 years ago

Working branch at https://pagure.io/fork/ncoghlan/modularity/fedmod/c/8db66eb29859de7c35a4fe423702ac76ac28f8d5?branch=issue-26-non-recursive-build-deps

Currently WIP, as --build-deps 0 (the default) currently isn't even generating initial module level build dependencies, and I'd like to do at least that much unconditionally - it's the SRPM bundling I'm aiming to turn off by default.

Metadata Update from @ncoghlan:
- Issue assigned to ncoghlan
- Issue close_status updated to: RESOLVED
- Issue status updated to: Closed (was: Open)

6 years ago

Login to comment on this ticket.

Metadata