Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 526282

Summary: dev-vcs/stgit-0.17.1-r1: bash completion installed under wrong name
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: René 'Necoro' Neumann <gentoo>
Status: RESOLVED FIXED    
Severity: normal CC: dlan, flameeyes, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 521146    
Attachments: stgit-0.17.1-r1.ebuild.diff

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-10-21 16:18:19 UTC
* Problems with installed bash completions were found:
 * 
 * 	stgit: incorrect name, no completions for 'stgit' command defined.
 * 	stg: missing alias (symlink) for completed command.
 * 
 * For more details on installing bash-completions, please see:
 * https://wiki.gentoo.org/wiki/Bash/Installing_completion_files

It should be 'stg' (like the command) rather than 'stgit'.
Comment 1 René 'Necoro' Neumann 2014-10-22 11:33:59 UTC
Created attachment 387204 [details, diff]
stgit-0.17.1-r1.ebuild.diff

Well, the patch is obvious and the same for both ebuilds.

BUT: I can't seem to test it, because the newly installed bashcomps are not loaded yet by bash. (NB: I'm a zsh user and not used to bash...)
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-10-22 11:43:16 UTC
Yes, that looks fine. Please commit it :).
Comment 3 Yixun Lan archtester gentoo-dev 2014-10-22 14:28:17 UTC
 
+  22 Oct 2014; Yixun Lan <dlan@gentoo.org> stgit-0.16-r2.ebuild,
+  stgit-0.17.1-r1.ebuild:
+  fix bashcomp, bug 526282. thanks Necoro
+

fixed without revision bump, thanks all