Bug 1373580

Summary: hub package should include bash completion
Product: [Fedora] Fedora Reporter: Eric Rich <erich>
Component: hubAssignee: Ralph Bean <rbean>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: erich, erjones, rbean, sgallagh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: hub-2.2.5-2.fc25 hub-2.2.5-2.fc24 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-22 07:32:40 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:

Description Eric Rich 2016-09-06 16:05:15 UTC
Description of problem:

hub does not have bash completion. 

https://github.com/github/hub/blob/master/etc/hub.bash_completion.sh

Comment 1 Stephen Gallagher 2016-09-06 16:10:28 UTC
What version of hub are you using? What version of Fedora?

Fedora 24 and 25 have hub 2.2.5 in the updates-testing repo and Rawhide should just have it (though it's possible that the recent compose problems there are in the way).

Comment 2 Eric Jones 2016-09-06 17:41:03 UTC
Hi,

On Fedora 24, I just installed hub (sudo dnf install hub) and it installed hub-1.12.4-6.fc24.noarch and there is still no bash-completion

Comment 3 Stephen Gallagher 2016-09-06 18:04:21 UTC
Two things:
1) Bash completion scripts take effect at login, so you will need to log out and log back in to have it take effect.
2) Please try `dnf update hub --enablerepo=updates-testing` and you should get hub-2.2.5-1.fc24 which is much more recent and has a far more comprehensive bash completion script.

If that works for you, please give positive karma to https://bodhi.fedoraproject.org/updates/FEDORA-2016-ee9213e044 by logging in with your FAS account and marking the "Is this update generally functional" radio button.

Comment 4 Fedora Update System 2016-09-13 12:48:12 UTC
hub-2.2.5-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-f56a7c07e6

Comment 5 Fedora Update System 2016-09-13 12:48:26 UTC
hub-2.2.5-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-38ae34085b

Comment 6 Fedora Update System 2016-09-14 02:52:14 UTC
hub-2.2.5-2.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-38ae34085b

Comment 7 Fedora Update System 2016-09-14 03:24:53 UTC
hub-2.2.5-2.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-f56a7c07e6

Comment 8 Eric Rich 2016-09-19 12:59:39 UTC
(In reply to Stephen Gallagher from comment #3)
> If that works for you, please give positive karma to
> https://bodhi.fedoraproject.org/updates/FEDORA-2016-ee9213e044 by logging in
> with your FAS account and marking the "Is this update generally functional"
> radio button.

Done.

Comment 9 Fedora Update System 2016-09-22 07:32:40 UTC
hub-2.2.5-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2016-09-23 00:24:01 UTC
hub-2.2.5-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.