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

Bug 215678

Summary: equery wish - expand relative path
Product: Gentoo Linux Reporter: Imre Péntek <pentek.imre>
Component: Current packagesAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 237964    

Description Imre Péntek 2008-04-01 09:17:19 UTC
# pwd
/etc/wpa_supplicant
# equery belongs ./wpa_supplicant.conf 
[ Searching for file(s) ./wpa_supplicant.conf in *... ]

but, if I thing rationally, if user issues command
# equery belongs ./wpa_supplicant.conf 
(s)he certainly thought about issuing (in this situation)
# equery belongs /etc/wpa_supplicant/wpa_supplicant.conf
it's just a little sense, a little intelligence into equery belongs functionality. Would be useful.

Reproducible: Always
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2008-04-01 20:04:03 UTC
May or may be not wanted by the user, so i'd close won't, but leaving it to the maintainer...
Comment 2 Douglas Anderson 2010-03-07 05:21:51 UTC
Certainly no harm in having this ability, as it doesn't affect anyone who doesn't try to use it.

$ svn ci -m "Add relative path (./file) expansion to equery/belongs.py; bug #215678."
Sending        gentoolkit/helpers.py
Transmitting file data .
Committed revision 274.

doug@narakouen /usr/bin $ equery b ./zip
 * Searching for ./zip ... 
app-arch/zip-3.0 (/usr/bin/zip)
Comment 3 Christian Ruppert (idl0r) gentoo-dev 2010-04-06 10:24:17 UTC
This bug has been fixed in app-portage/gentoolkit-0.3.0_rc10, thanks for reporting this issue.