Error triggered when multiple Copr repositories are specified
dnf .v: 4.16.1 | Hello.
- Error triggered when multiple Copr repositories are specified
# dnf copr enable sunwire/ssh-audit atim/starship
Error: Bad format of optional chroot. The format is distribution-version-architecture.
- No error triggered when a single Copr repository is specified
# dnf -qy copr enable sunwire/ssh-audit
Enabling a Copr repository. (...) owner of this repository.
#
Hi, command copr enable takes a copr repository as the first argument, and if second argument is given, it expects chroot, not a repository. It is documented in the man page:
enable name/project [chroot]
Enable the name/project Copr repository with the optional chroot.
But I don't see this documented in dnf copr --help, nor dnf copr enable --help (it is in usage variable in the code, but I don't know where it's used), so I get how that can be confusing. @praiskup, do you think the help should be improved? Or any other thoughts?
Also, I just now noticed the dnf-plugins-core issues were disabled. I enabled them and transfered this issue there.
I had noticed that not even one mention copr was present in the DNF(8) manual; reported in dnf (ticket 1952).