Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1938333

Summary: [rfe] Add aliases if and ar
Product: [Fedora] Fedora Reporter: Thiago Sueto <herzenschein>
Component: dnfAssignee: Neal Gompa <ngompa13>
Status: POST --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 34CC: dmach, jmracek, jrohel, mblaha, mhatina, ngompa13, packaging-team-maint, pkratoch, rpm-software-management, vmukhame
Target Milestone: ---Keywords: Reopened, 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: 2021-06-15 07:21:24 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:
Bug Depends On:    
Bug Blocks: 1665453    

Description Thiago Sueto 2021-03-12 19:56:37 UTC
There are already some aliases available for openSUSE users.
Two more could be added for convenience:

if for dnf info
ar for config-manager --add-repo

Perhaps it would be interesting to have an additional one named cm for config-manager to serve as an equivalent to zypper mr (modifyrepo) too.

Comment 1 Neal Gompa 2021-03-13 13:07:47 UTC
PR is open for adding "if" for "info": https://github.com/rpm-software-management/dnf/pull/1744

Comment 2 Neal Gompa 2021-03-13 13:08:34 UTC
As config-manager functionality is in a separate package, that probably makes sense to be handled differently.

Comment 3 Pavla Kratochvilova 2021-03-15 13:29:08 UTC
As for the "ar" alias, I don't think we want such a specific alias defined in the code. But you can add alias for yourself using:
# dnf alias add ar="config-manager --add-repo"

Comment 4 Fedora Update System 2021-06-15 07:21:24 UTC
FEDORA-2021-78c5f8c03d has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Neal Gompa 2021-06-15 22:04:46 UTC
This isn't included in 4.8.0, but I just merged it now (since there was an approval already). It'll be in the next version.