Currently, in order to rename a repository, it's necessary to change the name= option in /etc/dnf/repos.d. It would be convenient to be able to rename repository ids directly via dnf. By renaming a repository name, it's possible to make it significantly shorter to type or be more descriptive than the default name. For instance, in openSUSE Krypton, I have KDE Unstable repositories. One of them is named: KDE_Unstable_Applications Which is particularly long to type, in addition to requiring shift for typing _. Typically I rename the repository to something like: kdeu-apps Which makes repository management significantly faster. I've seen repositories with long ids on both openSUSE and Fedora, so this would serve as a nice QoL feature.
The config-manager subcommand is part of dnf-plugins-core, so reassigning.
You can change repository name using the config-manager plugin: # dnf config-manager --setopt=<REPOID>.name=<NEW NAME> --save However, repo id cannot be changed in this way. So, I am keeping this bug report open.
This message is a reminder that Fedora Linux 34 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '34'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 34 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
According to comment 2, the name is possible to change. I guess that the requester is satisfy with it, because there is no reaction for long time.