Summary: | app-portage/eix-0.31.7-r1: eix doesn't understand the package names with slot | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Pacho Ramos <pacho> |
Component: | Current packages | Assignee: | Martin Väth <martin> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | axs, proxy-maint, xmw |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Pacho Ramos
2017-01-17 09:40:13 UTC
eix understands them if you pass them over stdin with "eix --pipe". This is how scripts are meant to pass their output to eix. It seems that you want some parsing even for the command line parameters. Such an heuristics would surprise the user, because command line parameters are also used to match e.g. text inside of description texts or to use other search algorithms (e.g. pattern matching: Somebody might specify [:-z]). I added now some "valid string cutting out" heuristics when the search target is of the form "category" "name" or "category/name", and when one of the algorithms "exact", "substring", "begin", or "end" is used. For the heuristic to be useful, also the heuristics for specifying the default algorithm has to be changed (unless you explicitly specify -e). I did now also the latter, though I am not sure about perhaps surprising side effects: After all, also this change might come as a surprise to the users. This is now in current eix, though I am not sure whether I will revert some parts of the change (especially the change in the default algorithm heuristics). |