First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 170795
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: portage-utils <portage-utils@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: TGL <tom.gl@free.fr>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
qgrep--add_eclass_option.patch qgrep--add_eclass_option.patch patch TGL 2007-03-13 22:28 0000 3.74 KB Details | Diff
qgrep--add_eclass_option.patch qgrep--add_eclass_option.patch patch TGL 2007-03-17 16:32 0000 3.00 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 170795 depends on: Show dependency tree
Show dependency graph
Bug 170795 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

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







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


Description:   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.

------- Comment #1 From TGL 2007-03-13 22:28:35 0000 -------
Created an attachment (id=113220) [edit]
qgrep--add_eclass_option.patch

------- Comment #2 From solar 2007-03-16 22:18:01 0000 -------
The new -E option does not print the path relative to $PORTDIR for the matching
eclass.

------- Comment #3 From TGL 2007-03-17 08:36:39 0000 -------
(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.

------- Comment #4 From solar 2007-03-17 16:14:11 0000 -------
(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?

------- Comment #5 From TGL 2007-03-17 16:32:04 0000 -------
Created an attachment (id=113578) [edit]
qgrep--add_eclass_option.patch

Ooops...

------- Comment #6 From solar 2007-03-17 20:32:12 0000 -------
/var/cvsroot/gentoo-projects/portage-utils/qgrep.c,v  <--  qgrep.c
new revision: 1.16; previous revision: 1.15

------- Comment #7 From solar 2007-04-05 18:42:18 0000 -------
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.

------- Comment #8 From solar 2007-04-05 18:43:02 0000 -------
Closing

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