https://bugzilla.novell.com/show_bug.cgi?id=818503 https://bugzilla.novell.com/show_bug.cgi?id=818503#c4 --- Comment #4 from Michael Andres <ma@suse.com> 2014-07-10 15:12:41 CEST --- (In reply to comment #3)
Hint: /var/cache/zypp/raw/* contains gzipped xml/sqlite files which probably already contain the needed list of available packages. So we "just" need a parser.
No. /var/cache/zypp/raw/ contains all the raw metadata for all (even disabled) repos. And you don't want to fiddle with all the supported repo formats and thair parsers. Upon refresh zypp will parse the repos and build solv caches in /var/cache/zypp/solv. At least a common format for all repos, e.g. installed: dumpsolv /var/cache/zypp/solv/\@System/solv but you'd still need to filter out the disabled repos. --- What about: zypper -x --no-refresh se for package names zypper -x --no-refresh se -s for package names, version, and arch zypper+XML is probably too slow..... Maybe a small zypper-complete binary taking a stem and writing the possible completions to stdout. -- 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.