Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5140 - Portage Patch -- Description Searching
Summary: Portage Patch -- Description Searching
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL: http://gentoo.twobit.net/portage/emer...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-17 02:22 UTC by Nicholas Jones (RETIRED)
Modified: 2011-10-30 22:18 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicholas Jones (RETIRED) gentoo-dev 2002-07-17 02:22:51 UTC
Adds description searching as an option to -s
Patch against 2.0.15

Equivalent:
emerge -s --searchdesc html
emerge -sS html
emerge -S html

Fairly straightforward.
The try/except blocks are commented for the exceptions they handle.

Apparently Python optimizes repetitive blocks well, as I tried to do
a speedup by using an integer comparison versus an 'in myarray' type,
and saw no difference in speed.
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2002-07-17 03:12:00 UTC
For ease of clicking:

http://gentoo.twobit.net/portage/emerge-2.0.15-desc.diff
Comment 2 Daniel Robbins (RETIRED) gentoo-dev 2002-07-29 23:20:15 UTC
This is in 2.0.18+ or thereabouts