rpm-software-management / dnf-plugins-core

Core DNF Plugins
GNU General Public License v2.0
109 stars 141 forks source link

dnf config-manager--set-enabled #565

Open cgwalters opened 4 days ago

cgwalters commented 4 days ago

The CI on one of my projects got upgraded to dnf5, which broke it because dnf config-manager --set-enabled=$repo no longer works.

For reference, here's a github search for that invocation - excluding forks there's almost 5000 references to it on Github.

I don't think it makes sense for all of them to rewrite.

m-blaha commented 1 day ago

Thanks for the report! The config-manager command has changed significantly from dnf4 to dnf5, now offering many more features. To enable a repository, use the new syntax: dnf config-manager setopt repoid.enabled=1. The dnf team will discuss adding a compatibility --set-enabled option at the next team meeting.

cgwalters commented 7 hours ago

Do you have any tracking of dnf4 -> dnf5 compatibility issues? If none exists, it seems like it'd at least make sense to have a github label for it.