-
Notifications
You must be signed in to change notification settings - Fork 90
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
DNF config-manager Plugin #405
Comments
I started a separate discussion about this, i.e. #422. |
Issues reported by the lack of config-manager plugin here https://bodhi.fedoraproject.org/updates/FEDORA-2023-69dfac15db#comment-3063374 |
Fedora CI relies on the config-manager plugin as well:
|
Currently I use |
Thanks! Is |
@j-mracek hello, could you please help us,
I checked this command. It cannot modify the repo: enable/disable. This command can only show info. Automation is very important. Could you please give any ideas on how we can enable disable repos in an automated way (from bash script)? Thank you in advance. |
@Andrei-Stepanov it's not very pretty, but this is how I'm doing it in openQA:
replace with the appropriate repo file, of course. |
Thank you @AdamWill for a workaround. |
Seems like closed by mistake; shouldn't #907 close this one? |
Thank you for notes |
Hey @jan-kolarik, It looks like some Fedora docs are still referencing the old Is this something you're able to look at? Thanks! |
Hi @bschaatsbergen, Thanks for creating the PR! Unfortunately, I don’t have permissions in the Your request is similar to an existing ticket (#1840), and we're exploring options for adding backwards-compatibility support for config-manager, though this may be challenging with the new dnf5 implementation of the argument parser which is designed to be stricter and less ambiguous. |
Hey @jan-kolarik, Thanks for the update and for adding the approving comment! I’ll keep an eye on further progress. |
I guess that's fine, but I don't think this should prevent fixing the following problems:
A specific example:A user follows instructions for installing Brave Browser which references Proposed solution of problem 1:A better output would be to actually explain why it doesn't work. 🙂 It's reasonable for the user to expect it to work, especially when the Proposed solution of problem 2:Since it functionally does allegedly work can there be an alias put in place so that the many instructions that continues to exist can also continue to work and not become broken? Of course, along with a message like This thread on fedoraprojects.org claims that DNF5 lack the functionality so This thread suggests that it does indeed work on DNF5 (with a modified command). The use of If using Additional context to why this is arguably important: |
I’ve updated the Fedora quick docs to include both DNF4 and DNF5. See https://docs.fedoraproject.org/en-US/quick-docs/adding-or-removing-software-repositories-in-fedora/ |
Documentation if dnf4 command - https://dnf-plugins-core.readthedocs.io/en/latest/config_manager.html
I am proposing to not keep DNF4 compatibility, because the syntax was not the best one and we also have new requirements due to support of drop-in directories for configuration.
Investigate options how to implement configuration overrides for main config
Investigate options how to implement configuration overrides for repositories
Implement mechanism to synchronize dnf and subscription-manager
implement configuration management and repositories
Configuration of repositories could be handled by a different command that for main repositories (under
repo
command)missing feature in DNF4 - unable do dump repository configuration
--save
option was somehow strange in DNF4Additional inspiration for handling of drop-in configuration:
rpm-software-management/libdnf#1387
rpm-software-management/dnf#1414
The text was updated successfully, but these errors were encountered: