Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 523866 - sys-apps/the_silver_searcher - add *.ebuild and *.eclass to supported file types
Summary: sys-apps/the_silver_searcher - add *.ebuild and *.eclass to supported file types
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeff (JD) Horelick (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-09-27 11:14 UTC by M8R-u38wij
Modified: 2016-02-05 04:19 UTC (History)
1 user (show)

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


Attachments
the_silver_searcher-0.24.1-ebuild-type.patch (the_silver_searcher-0.24.1-ebuild-type.patch,495 bytes, patch)
2014-09-27 11:15 UTC, M8R-u38wij
Details | Diff
the_silver_searcher-0.24.1-r1.ebuild (the_silver_searcher-0.24.1.ebuild,1.01 KB, text/plain)
2014-09-27 11:17 UTC, M8R-u38wij
Details

Note You need to log in before you can comment on or make changes to this bug.
Description M8R-u38wij 2014-09-27 11:14:24 UTC
'ag' can restrict the search to certain types of files e.g.:
ag --html <keyword>

Supported types can be listed with:
ag --list-file-types

Proposed patch adds *.ebuild and *.eclass to supported types so one cat use
ag --ebuild <keyword>
insted of
ag --file-search-regex '.*\.ebuild' <keyword>


Reproducible: Always
Comment 1 M8R-u38wij 2014-09-27 11:15:11 UTC
Created attachment 385602 [details, diff]
the_silver_searcher-0.24.1-ebuild-type.patch
Comment 2 M8R-u38wij 2014-09-27 11:17:06 UTC
Created attachment 385604 [details]
the_silver_searcher-0.24.1-r1.ebuild
Comment 3 Jeff (JD) Horelick (RETIRED) gentoo-dev 2014-09-28 06:17:50 UTC
Submitted upstream: https://github.com/ggreer/the_silver_searcher/pull/503

Upstream is pretty friendly and good with supporting patches so we'll do this via upstream without carrying a distro-specific patch if at all possible.
Comment 4 Jeff (JD) Horelick (RETIRED) gentoo-dev 2015-03-26 22:44:05 UTC
This patch was accepted by upstream. Will close this issue once a release is made and the version is bumped in Gentoo.
Comment 5 Elizabeth Myers 2016-02-05 04:17:30 UTC
Upstream has merged the PR in question. I'm closing this.
Comment 6 Elizabeth Myers 2016-02-05 04:19:15 UTC
Also forgot to mention that the ebuild has long since been updated.