On 2010-02-15, at 7:34 PM, Pavol Rusnak wrote:
On 02/16/2010 01:25 AM, Anas Nashif wrote:
Hi Pavol, Zypper has been on our radar for a while now and *is* on the feature list for the first meego release.
Great news!
To make this happen faster, here is question about something I have been struggling with today :) Are patterns supported in repo-md style repos?
Of course.
I have patterns.xml in the repo (generated by obs) but zypper does not show the pattern, although I can see that the metadata has been fetched and parsed into the solv file.
How are you listing the patterns? The following command works for me and lists all patterns from all repositories:
$ zypper search -t pattern
This still does not return anything. I used zypper pt It seems like the problem is elsewhere. If I dump the solv file of the repo, I see at the end: solvable 4708 (4709): solvable:name: pattern:Tools solvable:arch: noarch solvable:evr: solvable:provides: pattern:Tools = solvable:requires: powertop solvable:summary: Test Pattern solvable:description: Test Pattern. but it seems this is not enough.. Anas
You can restrict the search to only one repo by adding "-r repo" option:
-- Best Regards / S pozdravom,
Pavol RUSNAK SUSE LINUX, s.r.o openSUSE Boosters Team Lihovarska 1060/12 PGP 0xA6917144 19000 Praha 9, CR prusnak[at]suse.cz http://www.suse.cz -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
-- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org