coreos/rpm-ostree

RFE: allow "override replace" without specifying the repo that holds the packages to install

Opened this issue · 1 comments

It would be great if rpm-ostree could support a command like

$ rpm-ostree override replace --experimental --from repo=“copr:copr.fedorainfracloud.org:group_kernel-vanilla:mainline” kernel kernel-core kernel-modules kernel-modules-core kernel-modules-extra

without having to specify the source repo (e.g. the --from repo=“copr:copr.fedorainfracloud.org:group_kernel-vanilla:mainline” part); instead rpm-ostree should just install the latest package from the repos currently enabled; using a wildcard like --from repo=“copr:copr.fedorainfracloud.org:group_kernel-vanilla:*” could work as well.

That afaics would allow using the kernel vanilla repositories properly on distros like Fedora Silverblue. Currently those do not work well, as packages for users of the kernel vanilla "mainline" copr in round about 8 out of 10 weeks are provided through the "mainline-wo-mergew" copr, which is a coprdep of the former and thus used by default with dnf (see the repo file for and example). Similar problems happen with the @kernel-vanilla coprs "stable-rc" and "stable", as the right packages for uses of those coprs might be in the "fedora" copr.

FWIW, I filed this after bringing the issue up on discussion.fedoraproject.org. That posts describes the problem I'd like to see solved in rpm-ostree in a different, more verbose way.