Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22078 - bash-completion should be able to use PORTAGE_OVERLAY
Summary: bash-completion should be able to use PORTAGE_OVERLAY
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Christian Birchinger (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-01 23:18 UTC by Jordan Breeding
Modified: 2003-06-03 15:51 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jordan Breeding 2003-06-01 23:18:55 UTC
The emerge completion used in bash-completion should be able to use any 
PORTAGE_OVERLAY that might be set to find packages instead of only /usr/portage.

Reproducible: Always
Steps to Reproduce:
1. Install bash-completion.
2. Create a PORTAGE_OVERLAY with a new ebuild in it.
3. Try to use emerge completion to get the new package.

Actual Results:  
bash-completion will only list packages in /usr/portage.

Expected Results:  
bash-completion will list all packages matching in /usr/portage as well as 
PORTAGE_OVERLAY.
Comment 1 Christian Birchinger (RETIRED) gentoo-dev 2003-06-02 19:11:59 UTC
That's a feature request which should be addressed to the author of
the "gentoo"-completion. It's not something i can fix. I'm not the author
of that script.

I also think it makes it even slower if it has to scan both.

It also uses everything hardcoded on /usr/portage and not what you set in make.conf
because of speed reasons. The design requets that it scans realtime on each "tab".

If you need application features please send them to the author of the script.
Comment 2 Zach Forrest 2003-06-03 14:02:10 UTC
The reasons Christian stated for not using PORTAGE_OVERLAY are correct. Tab completion should, in my opinion, be as fast as possible. Adding another directory tree to scan would most likely slow things down too much. At this point, I don't have any plans to add this to the completion code. Sorry.
Comment 3 Christian Birchinger (RETIRED) gentoo-dev 2003-06-03 15:51:57 UTC
Won't be fixed because of performance reasons. (See comment from the author)