-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compose: If repos is unset, use global ones #5118
Conversation
This reverts commit c46951f.
Part of https://gitlab.com/fedora/bootc/tracker/-/issues/32 This will simplify the hacks we have in Containerfile there. As part of this intended UX, the repositories come from the global set. Signed-off-by: Colin Walters <walters@verbum.org>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Not tested. Maybe we should add a small test to make sure we'll not pick up repos from the host if we've set some to make sure we don't regress the current setup?
I think a lot of things in the existing test suite would start to blow up if we leaked the host repos...but you're right. Testing this explicitly is clearly doable, just need to figure out where. Hmm...I dunno. I may actually instead do a different spike on "productizing" https://gitlab.com/fedora/bootc/base-images-experimental/-/blob/main/build/dnf-installroot |
Moving this back to draft, it's not in a blocking path right now. |
So, I opened #5136 which proposes a different semantic: if If we want to support mutating the reposdir down the line, I would propose maybe setting something on the CLI instead (e.g. |
And you're arguing then for |
That's one suggestion. The main argument I think is that "no How we implement "use host repos" if we also want that is a separate question. The CLI argument idea comes more from my estimation that this kind of behaviour is more a "how you run rpm-ostree" question rather than treefile definitions, so it seems more appropriate than a e.g. |
Part of https://gitlab.com/fedora/bootc/tracker/-/issues/32
This will simplify the hacks we have in Containerfile there.
As part of this intended UX, the repositories come from the
global set.
Signed-off-by: Colin Walters walters@verbum.org