Bug 170795 - app-portage/portage-utils - add a -E/--eclass option to qgrep
|
Bug#:
170795
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: enhancement
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: portage-utils@gentoo.org
|
Reported By: tom.gl@free.fr
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: app-portage/portage-utils - add a -E/--eclass option to qgrep
|
|
Keywords: InCVS
|
|
Status Whiteboard:
|
|
Opened: 2007-03-13 22:27 0000
|
Here is a patch which adds an --eclass option, which makes qgrep search in
eclasses instead of ebuilds.
The new -E option does not print the path relative to $PORTDIR for the matching
eclass.
(In reply to comment #2)
> The new -E option does not print the path relative to $PORTDIR for the matching
> eclass.
>
Ok, a new patch follows which changes that (now prints "eclass/foo.eclass"). It
is also a bit shorter, since it reuses the "ebuild" local var for eclass file
paths, instead of adding a new one. And finally it adds a closedir() that was
missing.
(In reply to comment #3)
..
> Ok, a new patch follows which changes that (now prints "eclass/foo.eclass").
Did you forget to attach the patch?
/var/cvsroot/gentoo-projects/portage-utils/qgrep.c,v <-- qgrep.c
new revision: 1.16; previous revision: 1.15
This is released in 0.1.25
Bug #168334 ; q -r dies with a segfault after emerge --sync
Bug #168442 ; does not properly parse the profile location
Bug #170795 ; add a -E/--eclass option to qgrep
Bug #170797 ; add a -s/--skip-comments option to qgrep
Bug #171024 ; opening '/usr/portage/.metadata.x' failed
Bug #171374 ; Misc enhancements for qgrep
Bug #172240 ; -A/-B options for qgrep (context lines)
Bug #172338 ; qgrepping through installed ebuilds (in the VDB)
Bug #173005 ; Colorized output for qgrep.