Red Hat Bugzilla – Bug 1478208
[rfe] Support for multiple copr instances
Last modified: 2017-08-13 06:10:02 EDT
Description of problem
`dnf copr` should be able to work (enable, disable, list...) with
different instances of COPR than copr.fedorainfracloud.org. User should
be able to add coprs from multiple instances along with copr.f.o.
I have a COPR repo at internal Red Hat instance and I would like to
instruct potential users how to enable it. AFAIK, all I can do now is
to tell them to drop the .repo file in /etc/yum.repos.d, but I'd have to
give them at least URL which is not the same across Fedora versions/archs.
This would need to establish syntax for specifying the instance.
Just a few quick ideas:
# dnf copr enable https://copr.foo.example.com/coprs/joe
# dnf copr add foo https://copr.foo.example.com/coprs/joe
# dnf copr enable foo:joe
# dnf copr list foo:joe
Version-Release number of selected component