Bug 1989835

Summary: RFE: dnf copr {disable,remove} support with repoid
Product: [Fedora] Fedora Reporter: Pavel Raiskup <praiskup>
Component: dnf-plugins-coreAssignee: Copr Team <copr-team>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dmach, jmracek, mblaha, packaging-team-maint, pkratoch, praiskup, rpm-software-management, vmukhame
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-01 09:08:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pavel Raiskup 2021-08-04 07:02:42 UTC
I sometimes enable a Copr project on my host using
'dnf copr enable jdoe/foo', and later I see

```
$ dnf update
...
Upgrading: somepackage x86_64  1.2.3.fc34 copr:copr.fedorainfracloud.org:jdoe:foo   765 k
...
```

.. and I realize that `copr:copr.fedorainfracloud.org:jdoe:foo` is not needed on
my host anymore.  So I do `grep -r copr:copr.fedorainfracloud.org:jdoe:foo
/etc/yum.repos.d` to find the project I want to disable, or `dnf copr list`.

It would be nice to have a possibility to just do:
`dnf copr remove copr:copr.fedorainfracloud.org:jdoe:foo`

Comment 1 Pavel Raiskup 2023-08-01 09:08:14 UTC
No users here except for myself, and I moved to `dnf5 copr`.