First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 170981
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Portage Utilities Team <tools-portage@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: R.I.P. <riphome@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 170981 depends on: Show dependency tree
Bug 170981 blocks: 170220
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-03-15 02:29 0000
"equery belongs some_path" doesn't find any matches if some_path is a path
which ends with a '/'

this is not convenient since bash completion for pathes automatically adds a
slash at the end.




Reproducible: Always

Actual Results:  
$ equery belongs /usr/src/linux-2.6.19-gentoo-r7/
[ Searching for file(s) /usr/src/linux-2.6.19-gentoo-r7/ in *... ]



Expected Results:  
$ equery belongs /usr/src/linux-2.6.19-gentoo-r7/
[ Searching for file(s) /usr/src/linux-2.6.19-gentoo-r7/ in *... ]
sys-kernel/gentoo-sources-2.6.19-r7 (/usr/src/linux-2.6.19-gentoo-r7)

------- Comment #1 From Paul Varner 2007-03-15 03:36:48 0000 -------
$ svn commit -m "Trim trailing slash from query for equery belongs command (Bug
#170981)"
Sending        ChangeLog
Sending        src/equery/equery
Transmitting file data ..
Committed revision 357.

Thanks for the idea.  The fix I just committed will strip a trailing slash from
the path by default. Using the --full-regex option will cause it to still
search with the trailing slash.

------- Comment #2 From Paul Varner 2007-03-19 17:48:29 0000 -------
Fixed in gentoolkit-0.2.4_pre2

First Last Prev Next    No search results available      Search page      Enter new bug