Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267914 - app-shells/gentoo-bashcomp doesn't support new features for revdep-rebuild
Summary: app-shells/gentoo-bashcomp doesn't support new features for revdep-rebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-29 21:03 UTC by Finn Wilke
Modified: 2009-05-05 03:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Not-so-clean patch for revdep-rebuild (revdep-rebuild.patch,3.96 KB, patch)
2009-04-29 21:05 UTC, Finn Wilke
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Finn Wilke 2009-04-29 21:03:43 UTC
app-shells/gentoo-bashcomp doesn't support completion of "new" features in revdep-rebuild.

Reproducible: Always

Steps to Reproduce:
1. emerge app-shells/gentoo-bashcomp
2. type revdep-rebuild [TAB]
3. only see a few selected options including the deprecated --soname

Actual Results:  
Only a few options are autocompleted.

Expected Results:  
All options should be autocompleted.

I was bored so I rewrote the whole _revdep-rebuild completion from latest svn. Because I don't have svn access (and don't need one because of lack of time and knowledge) I'll post it here. I adopted many things from the emerge completion.
Comment 1 Finn Wilke 2009-04-29 21:05:35 UTC
Created attachment 189892 [details, diff]
Not-so-clean patch for revdep-rebuild
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-05-01 22:47:22 UTC
(In reply to comment #0)

> I was bored so I rewrote the whole _revdep-rebuild completion from latest svn.
> Because I don't have svn access (and don't need one because of lack of time and
> knowledge) I'll post it here. I adopted many things from the emerge completion.

The patch really tells me nothing. Can you summarize why you needed to rewrite it?
Comment 3 Finn Wilke 2009-05-01 22:55:57 UTC
I rewrote it because the function was really outdated.
It even included the deprecated --soname option.
Also for example when you type in --library [TAB] it now autocompletes library names from /lib.

If you don't want to include it that's no problem for me. I just thought that I would share it.
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-05-01 23:01:32 UTC
(In reply to comment #3)

> If you don't want to include it that's no problem for me. I just thought that I
> would share it.

Nah, its all good. Your knowledge of bash-completion is already higher than mine :)

Want to look at the other gentoo-bashcomp bugs too? bug 227139 & bug 235454 ;)

Comment 5 Finn Wilke 2009-05-01 23:16:46 UTC
Well... I don't think my knowledge is higher. Last week I didn't even know about bash-completion plugins. :)

But I'll check these bugs and will do what I can. That rc-update thing could be really useful...
Comment 6 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-05-05 03:40:13 UTC
Finn, in svn, thx. New release pending soonish.