
Samuel Partida <samuel.partida@gmail.com> writes:
That's not what I really need Patrick. I need to get the full dependency resolution from a pattern.
Why do you really need that? I kept the patterns minimal so that you see what's required and we don't need to have to add some package and then forget to remove it later....
For example, let's take the Base System pattern (base-10.n-build.arch.pat), it depends on other patterns (yas2_basis and sw_management_pattern I think), and on lots of packages.
Those two patterns in 10.3 are optional.
I want to get an easy way, a tool or something else, that for a pattern, it shows all the packages it need, resolving even the dependencies of other packages or patterns it depends.
I think it is what ZyPP does, but I haven't found a shell command or tool to use the ZyPP resolver as I need.
KIWI does exactly this kind of resolving and uses zypper or smart for this. I suggest that you look at KIWI and see what it does.
I'm not sure if there is some Python binding or something like, as I use Python a lot for system administration, but I'm not a software developer neither I know how is the ZyPP API.
Now asking to Andreas, if there is no such tool, then a new one could be created.
zypper and smart are Open Source and additions are surely welcome ;-) As noted above you should be able to get this done - I just don't have a receipt for you ;-) Andreas -- Andreas Jaeger, Director Platform / openSUSE, aj@suse.de SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org