Bug 717341

Summary: options for sum and sha* programs not being completed
Product: [Fedora] Fedora Reporter: Ben Asselstine <benasselstine>
Component: bash-completionAssignee: Ville Skyttä <ville.skytta>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: robatino, sheltren, ville.skytta
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: bash-completion-1.3-5.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-26 19:10:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch for /etc/bash_completion to fix broken completion for sum and sha* programs none

Description Ben Asselstine 2011-06-28 15:30:05 UTC
Created attachment 510309 [details]
patch for /etc/bash_completion to fix broken completion for sum and sha* programs

Description of problem:

sum --ver[TAB][TAB] doesn't do anything.

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

bash-completion-1.3-4.fc15.noarch


How reproducible:

reproducible 100% of the time.
enable bash completion in the normal way, and then try to do:
$ sum --vers[TAB][TAB]

nothing happens.


Steps to Reproduce:
1. enable bash completion in the normal way
2. open a terminal
3. sum --version[TAB][TAB]
  
Actual results:

nothing appears.

Expected results:

I expected the --version option to be completed.

Additional info:

I am attaching a fix for the bug.

Comment 1 Ben Asselstine 2011-06-28 15:32:33 UTC
whoops, I meant press [TAB] once, not twice!

Comment 2 Ville Skyttä 2011-06-28 21:26:02 UTC
Completion for "sum" is not broken, there simply is no completion for it in bash-completion.  And the patch is not correct; while it adds completion for sum, it removes completions for sha1sum, sha224sum etc and installs completions for sha1, sha224 etc instead.  Fixed patch applied upstream:

http://anonscm.debian.org/gitweb/?p=bash-completion/bash-completion.git;a=commitdiff;h=e7b3abf689e9608aa60e6a4504df136022987633

Comment 3 Fedora Update System 2011-08-15 22:23:11 UTC
bash-completion-1.3-5.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/bash-completion-1.3-5.fc16

Comment 4 Fedora Update System 2011-08-15 22:24:30 UTC
bash-completion-1.3-5.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/bash-completion-1.3-5.fc15

Comment 5 Fedora Update System 2011-08-15 22:29:55 UTC
bash-completion-1.3-5.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/bash-completion-1.3-5.el6

Comment 6 Fedora Update System 2011-08-15 22:36:10 UTC
bash-completion-1.3-5.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/bash-completion-1.3-5.el5

Comment 7 Fedora Update System 2011-08-16 21:07:54 UTC
Package bash-completion-1.3-5.el5:
* should fix your issue,
* was pushed to the Fedora EPEL 5 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing bash-completion-1.3-5.el5'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/bash-completion-1.3-5.el5
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2011-08-26 19:10:28 UTC
bash-completion-1.3-5.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2011-08-28 05:23:11 UTC
bash-completion-1.3-5.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2011-09-20 02:30:43 UTC
bash-completion-1.3-5.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2011-09-20 02:32:27 UTC
bash-completion-1.3-5.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.