Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66570 - emerge -s cant see dvd+rw-tools
Summary: emerge -s cant see dvd+rw-tools
Status: VERIFIED LATER
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 66574 140320 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-10-06 15:01 UTC by postmodern
Modified: 2007-01-12 06:48 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 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 %.