Bug 1469989

Summary: Support wildcard in dnf config-manager
Product: [Fedora] Fedora Reporter: gaxweb <public>
Component: dnfAssignee: rpm-software-management
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: dmach, jmracek, jrohel, rpm-software-management
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-13 06:28:13 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 gaxweb 2017-07-12 08:36:24 UTC
Description of problem:

You used to be able to do `yum-config-manager --disable rpmfusion*` to disable all repos that start with "rpmfusion". Now `dnf config-manager --set-disabled rpmfusion*` doesn't work.

Compare https://docs.fedoraproject.org/en-US/Fedora/17/html/System_Administrators_Guide/sec-Managing_Yum_Repositories.html with https://docs.fedoraproject.org/en-US/Fedora/26/html/System_Administrators_Guide/sec-Managing_DNF_Repositories.html to see for yourself.

Please add some sort of batch mechanism like that back in.

Comment 1 Jaroslav Rohel 2017-10-13 06:28:13 UTC
I tested config-manager command on my computer (I have dnf-0:2.7.2-1.git.61.4812d55.fc26.noarch).
I can't reproduce the problem. It is working.

But:
1. please use \ before globs or use '. Examples:
  dnf config-manager --set-disabled rpmfusion\*
  dnf config-manager --set-disabled 'rpmfusion*'

2. I see "docs-old" in documentation URL you use. Try another documentation. Eg. https://dnf-plugins-core.readthedocs.io/en/latest/config_manager.html 
In new documentation is description: 
<repo>
    Display / modify specified repository. If not specified display / modify main DNF configuration. Repositories can be specified using globs.