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

Bug 22078

Summary: bash-completion should be able to use PORTAGE_OVERLAY
Product: Gentoo Linux Reporter: Jordan Breeding <jordan.breeding>
Component: Current packagesAssignee: Christian Birchinger (RETIRED) <joker>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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)