[Bug 500988] New: zypper search --match-all option ignored
http://bugzilla.novell.com/show_bug.cgi?id=500988 Summary: zypper search --match-all option ignored Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Minor Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: cmorve69@yahoo.es QAContact: qa@suse.de Found By: Community User The "--match-all" option from zypper search is ignored.
From "zypper se -h":
Command options: --match-all Search for a match with all search strings (default). --match-any Search for a match with any of the search strings. But: # LC_ALL=C zypper se --match-any -t package yast2-gtk yast2-qt-pkg Loading repository data... Reading installed packages... S | Name | Summary | Type --+--------------+------------------------------------------+-------- | yast2-gtk | YaST2 - interfaz gráfica de usuario Gtk | package i | yast2-qt-pkg | YaST2 - Graphical User Interface | package # LC_ALL=C zypper se --match-all -t package yast2-gtk yast2-qt-pkg Loading repository data... Reading installed packages... S | Name | Summary | Type --+--------------+------------------------------------------+-------- | yast2-gtk | YaST2 - interfaz gráfica de usuario Gtk | package i | yast2-qt-pkg | YaST2 - Graphical User Interface | package # LC_ALL=C zypper se -t package yast2-gtk yast2-qt-pkg Loading repository data... Reading installed packages... S | Name | Summary | Type --+--------------+------------------------------------------+-------- | yast2-gtk | YaST2 - interfaz gráfica de usuario Gtk | package i | yast2-qt-pkg | YaST2 - Graphical User Interface | package -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=500988 User jkupec@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=500988#c1 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low CC| |jkupec@novell.com Status Whiteboard| |patches-welcome --- Comment #1 from Ján Kupec <jkupec@novell.com> 2009-05-07 06:20:51 MDT --- Yes, --match-all was never implemented since the rewrite of search in 11.x. It should not be hard, but it will be probably limited to a certain number of search terms due to combinatorial explosion when creating & using a standard Extended Regex (the old zypper search used perl regexes which allowed forward lookup for accomplishing this). Anybody wants to do this? All that's needed is to add the missing parts to PoolQuery::Impl::createRegex() in libzypp and then use PoolQuery::setRequireAll() in Zypper.cc when --match-all is specified. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=500988 User jkupec@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=500988#c2 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|zypp-maintainers@forge.prov |jkupec@novell.com |o.novell.com | --- Comment #2 from Ján Kupec <jkupec@novell.com> 2009-05-07 07:44:17 MDT --- Reassigning to me for now, if anybody wants to do this, please take the bug. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=500988 http://bugzilla.novell.com/show_bug.cgi?id=500988#c3 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sergey1369@narod.ru --- Comment #3 from Ján Kupec <jkupec@novell.com> 2009-11-26 15:37:30 UTC --- *** Bug 558725 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=558725 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=500988 http://bugzilla.novell.com/show_bug.cgi?id=500988#c4 --- Comment #4 from Ján Kupec <jkupec@novell.com> 2009-11-26 15:49:28 UTC --- See also http://en.opensuse.org/Zypper/Bugs_For_Adoption -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=500988 https://bugzilla.novell.com/show_bug.cgi?id=500988#c5 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|libzypp |libzypp Version|Final |Factory Product|openSUSE 11.1 |openSUSE 11.4 --- Comment #5 from Ján Kupec <jkupec@novell.com> 2010-09-29 14:28:29 UTC --- 11.1 -> 11.4 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=500988 https://bugzilla.novell.com/show_bug.cgi?id=500988#c6 Michal Hucko <michal.hucko@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |michal.hucko@gmail.com Version|Factory |RC 1 --- Comment #6 from Michal Hucko <michal.hucko@gmail.com> 2011-02-20 21:55:57 UTC --- (changed during the 2011-02-20 Open-Bugs-Day about bugs for obsolete versions of openSUSE) Still present in 11.4-RC1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=500988 https://bugzilla.novell.com/show_bug.cgi?id=500988#c7 --- Comment #7 from Tirtha Chatterjee <tirtha.p.chatterjee@gmail.com> 2011-02-27 14:05:49 UTC --- Created an attachment (id=416430) --> (http://bugzilla.novell.com/attachment.cgi?id=416430) Patch on PoolQuery.cc -> adds functionality for --match-all option Adds functionality for --match-all option -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=500988 https://bugzilla.novell.com/show_bug.cgi?id=500988#c8 --- Comment #8 from Tirtha Chatterjee <tirtha.p.chatterjee@gmail.com> 2011-02-27 14:10:01 UTC --- Created an attachment (id=416431) --> (http://bugzilla.novell.com/attachment.cgi?id=416431) Adds the require_all option as default whenever --match-any is not specified -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=500988 https://bugzilla.novell.com/show_bug.cgi?id=500988#c10 Freek de Kruijf <f.de.kruijf@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |f.de.kruijf@gmail.com --- Comment #10 from Freek de Kruijf <f.de.kruijf@gmail.com> 2011-05-20 14:05:10 UTC --- I am not sure it is the same problem, but when I want to list all installed packages via "zypper se -i *" only a few are listed. When I try "zypper se -i --match-any a* b* .... z*" on one system I got the lot AFAIK, however on another system all packages starting with a k are missing, but they are there. Both systems are openSUSE 11.4 and up-to-date. Obviously the .... above covers the whole alphabet. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=500988 https://bugzilla.novell.com/show_bug.cgi?id=500988#c11 --- Comment #11 from Cristian Morales Vega <cmorve69@yahoo.es> 2011-05-20 14:21:40 UTC --- That is not a bug. You must quote them: zypper se -i '*' -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=500988 https://bugzilla.novell.com/show_bug.cgi?id=500988#c12 Cristian Morales Vega <christian.morales.vega@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|libzypp |libzypp Version|RC 1 |Final Product|openSUSE 11.4 |openSUSE 12.1 --- Comment #12 from Cristian Morales Vega <christian.morales.vega@gmail.com> 2012-05-16 17:07:28 UTC --- Wasn't the patch from Tirtha valid? Anyway, still there in 12.1. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com