Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 66570

Summary: emerge -s cant see dvd+rw-tools
Product: Portage Development Reporter: postmodern <brodigan>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: VERIFIED LATER    
Severity: critical CC: ian
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description postmodern 2004-10-06 15:01:05 UTC
emerge -s cant find dvd+rw-tools but emerge -pv can.

Reproducible: Always
Steps to Reproduce:
1. emerge -s dvd+rw-tools
2. emerge -pv dvd+rw-tools
3.

Actual Results:  
Searching...      
[ Results for search key : dvd+rw-tools ]
[ Applications found : 0 ]
 


These are the packages that I would merge, in order:

Calculating dependencies    ...done!
[ebuild  N    ] app-cdr/dvd+rw-tools-5.17.4.8.6   89 kB 

Total size of downloads: 89 kB



Expected Results:  
emerge -s sees dvd+rw-tools and displays information.
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2004-10-06 15:04:57 UTC
emerge -s uses regular expressions and + is a special char then.
Comment 2 SpanKY gentoo-dev 2004-10-06 21:26:11 UTC
*** Bug 66574 has been marked as a duplicate of this bug. ***
Comment 3 postmodern 2004-10-06 21:29:35 UTC
This is not invalid for the functionality of incorporating regular expressions in emerge will confuse the user and break searching for ebuilds with names containing '+'. This is not good at all and some sort of code needs to be created to seperate the ebuild textual name from the searching regular expression (possible in a seperate flag option).
Comment 4 Tuan Van (RETIRED) gentoo-dev 2004-10-06 21:51:05 UTC
# emerge -s ^dvd.*tools$
Comment 5 postmodern 2004-10-07 03:44:44 UTC
That is just a cheap work around. Come on emerge -s needs better functionality planing.
Comment 6 Nicholas Jones (RETIRED) gentoo-dev 2004-10-09 14:42:07 UTC
'better planning'

It's been implemented for approaching 3 years now.
It handles user-fudges for things like '++' but we
cannot easily handle user-didn't-read-the-docs bugs.
Comment 7 postmodern 2004-10-09 15:49:54 UTC
I still suggest that some sort of rule be applied to the portage that excludes regex characters from ebuild names to prevent this bug from appearing more often.

We have stated are opinions and shall let them be part of the growing knowledge base of the portage development debate.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-07-14 03:25:27 UTC
*** Bug 140320 has been marked as a duplicate of this bug. ***
Comment 9 Marius Mauch (RETIRED) gentoo-dev 2007-01-11 13:51:05 UTC
This is fixed by now.
Comment 10 Zac Medico gentoo-dev 2007-01-12 06:48:06 UTC
This was fixed in svn r3876 and released in portage-2.1.1. Regex matching is now disabled unless the search string is prefixed with %.