|
Bugzilla – Full Text Bug Listing |
| Summary: | zypper info doesn't accept wildcards | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 12.1 | Reporter: | Jon Nelson <jnelson-suse> |
| Component: | libzypp | Assignee: | E-mail List <zypp-maintainers> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | gs |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Jon Nelson
2012-01-16 20:19:42 UTC
Consistent wildcard handling would be nice. Any feedback on this? @Gabi: Would you like to have a look at it? IMO the 'name' arguments to 'info' could be treated as globbing expressions per default; enclosed in '/' as regex. 'foo' - glob 'foo*' - glob '/foo*/' - regex Current implementation of 'info' explicitly sets the query to an exact match (help for info is talking about info for specified packages). Maybe the intention was that a 'search' should be done first to get a list of packages in question and after that call 'info' to get detailed information for specified ones. Detailed info for many packages at once would produce a lot of lines output per package and it might be hard to find the package you are interested in. I am not sure about the best approach here. The best approach IMO is to fulfill the users request. If he asks for info about N packages, he will get back the info about N packages. If that's too much, he will ask for less :) zyppers job is solely to offer convenient ways to specify N package names on the info command line. Typing or doing copy-and-paste from a search result is one way. Offering globbing and regex is another way. The size of N is user specific and zypper should not assume or enforce any upper limit. fixed for zypper-1.8.13 openSUSE-RU-2013:1259-1: An update that has 14 recommended fixes can now be installed. Category: recommended (low) Bug References: 640403,741758,779740,793809,798290,803316,811997,812608,819354,820444,824110,825490,827609,828389 CVE References: Sources used: openSUSE 12.3 (src): libqdialogsolver1-1.3.1-2.10.2, libsolv-0.3.2-2.10.1, libzypp-12.13.3-1.11.1, libzypp-bindings-0.5.14-1.10.1, libzypp-testsuite-tools-4.3.1-2.10.2, zypp-plugin-0.3-8.11.1, zypper-1.8.16-1.10.1 |