Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170797 - app-portage/portage-utils - add a -s/--skip-comments option to qgrep
Summary: app-portage/portage-utils - add a -s/--skip-comments option to qgrep
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Third-Party Tools (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage Utils Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2007-03-13 22:38 UTC by TGL
Modified: 2007-04-05 18:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
qgrep--add_skip-comments_option.patch (qgrep--add_skip-comments_option.patch,1.85 KB, patch)
2007-03-13 22:38 UTC, TGL
Details | Diff
qgrep--add_eclass_option.patch (qgrep--add_eclass_option.patch,3.00 KB, patch)
2007-03-17 08:37 UTC, TGL
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description TGL 2007-03-13 22:38:21 UTC
Here is a small patch which adds a --skip-comments option to qgrep.

It is meant to avoid the "|sed '/\.ebuild:[ \t]*#/d'" i've used a few times (just thought i may not be the only one).

The patch applies on top of the one from bug #170795 ("--eclass").
Comment 1 TGL 2007-03-13 22:38:44 UTC
Created attachment 113221 [details, diff]
qgrep--add_skip-comments_option.patch
Comment 2 TGL 2007-03-17 08:37:03 UTC
Created attachment 113549 [details, diff]
qgrep--add_eclass_option.patch
Comment 3 TGL 2007-03-17 19:53:51 UTC
Comment on attachment 113221 [details, diff]
qgrep--add_skip-comments_option.patch

Bleh... The second patch i've attached here is the one that was missing in bug #170795 :-/
Comment 4 TGL 2007-03-17 19:54:10 UTC
Comment on attachment 113549 [details, diff]
qgrep--add_eclass_option.patch

wrong bug
Comment 5 solar (RETIRED) gentoo-dev 2007-03-17 20:53:43 UTC
/var/cvsroot/gentoo-projects/portage-utils/qgrep.c,v  <--  qgrep.c
new revision: 1.17; previous revision: 1.16
Comment 6 solar (RETIRED) gentoo-dev 2007-04-05 18:42:18 UTC
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 7 solar (RETIRED) gentoo-dev 2007-04-05 18:43:03 UTC
Closing