Bug 1769068

Summary: yum autocompletion does not support modules
Product: Red Hat Enterprise Linux 8 Reporter: Mirzet Kadic <mirzet.kadic>
Component: yumAssignee: Nicola Sella <nsella>
Status: CLOSED ERRATA QA Contact: Eva Mrakova <emrakova>
Severity: low Docs Contact:
Priority: low    
Version: 8.1CC: amatej, james.antill, lberton, nsella, sstagnar
Target Milestone: rcKeywords: Triaged
Target Release: 8.0Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dnf-4.2.21-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-04 01:52:20 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 Mirzet Kadic 2019-11-05 21:08:29 UTC
Description of problem:
yum does not support autocompletion with module. When you type yum [TAB][TAB] the keyword module is not suggested but when you type yum module [TAB][TAB] than the autocompletion continue to work.

Version-Release number of selected component (if applicable):


How reproducible:
yum mo[TAB][TAB] 

Steps to Reproduce:
1.
2.
3.

Actual results:
Does not autocomplete to module

Expected results:
Autocomplete

Additional info:

Comment 1 Nicola Sella 2020-02-21 09:17:11 UTC
PR: https://github.com/rpm-software-management/dnf/pull/1592

Comment 9 errata-xmlrpc 2020-11-04 01:52:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (yum bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2020:4510

Comment 10 Stefano Stagnaro 2021-06-28 13:26:09 UTC
I'm reopening this bug since the problem seems to have been addressed only for dnf (as per the aforementioned upstream issue) but not for yum itself:

# yum mo[TAB][TAB]

# dnf mo[TAB][TAB]
# dnf module

# rpm -q bash-completion
bash-completion-2.7-5.el8.noarch