-
Notifications
You must be signed in to change notification settings - Fork 139
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
DnfRepo: fix module_hotfixes keyfile priority level #885
DnfRepo: fix module_hotfixes keyfile priority level #885
Conversation
@hughsie do you remember this one? |
Looking at librepo history there's a whole pile of activity around then with possibly related bits, e.g. |
We were setting the runtime value of the knob instead of the repoconfig value. This meant that a user wanting to override the config via `dnf_repo_set_module_hotfixes` (which also sets the runtime value) would have its changes clobbered. This should fix Silverblue Rawhide rpm-ostree composes: https://pagure.io/releng/failed-composes/issue/717 https://pagure.io/releng/failed-composes/issue/929 where we use a hack to allow rpm-ostree to install modular packages until we fully support modules (which requires rpm-software-management#874) and it was getting reset because `dnf_repo_download_packages` wants to reset the repo config from the keyfile. For more information, see discussions at: rpm-software-management#885
3228f52
to
b4c9074
Compare
Hmm, OK I think I follow this a bit more now. In But anyway, I realized the root issue here was actually that the (Though again, it does seem to me the call to |
Would be good to have this in soon. Latest patch should be much simpler to review :). This will unblock Rawhide Silverblue composes, which hasn't been updated since almost a month and a half now. |
LGTM! |
📌 Commit b4c9074 has been approved by |
Thanks for the review! Hmm, looks like the CI build is frozen?
Yet all the packages have built: Can we |
☀️ Test successful - status-papr |
We were setting the runtime value of the knob instead of the repoconfig
value. This meant that a user wanting to override the config via
dnf_repo_set_module_hotfixes
(which also sets the runtime value) wouldhave its changes clobbered.
This should fix Silverblue Rawhide rpm-ostree composes:
https://pagure.io/releng/failed-composes/issue/717
https://pagure.io/releng/failed-composes/issue/929
where we use a hack to allow rpm-ostree to install modular packages
until we fully support modules (which requires #874) and it was getting
reset because
dnf_repo_download_packages
wants to reset the repoconfig from the keyfile. For more information, see discussions at:
#885