Mailinglist Archive: zypp-devel (56 mails)

< Previous Next >
[zypp-devel] Re: How to get a packages' depends and requires from libzypp
  • From: Duncan Mac-Vicar Prett <dmacvicar@xxxxxxx>
  • Date: Wed, 5 Dec 2007 10:49:49 +0100
  • Message-id: <200712051049.49950.dmacvicar@xxxxxxx>
On Wednesday 05 December 2007 00:11:06 you wrote:
I'm trying to implement:

1) GetDepends (http://www.packagekit.org/pk-reference.html#api-get-depends)
- GetDepends should return packages that this package depends on.
2) GetRequires
(http://www.packagekit.org/pk-reference.html#api-get-requires) -
GetRequires should return packages that depend on this package. This is
useful to know, as if package_id is being removed, we can warn the user
what else would be removed.

From the documentation I can't figure what this method return.

(it seems to return a list of package, but that would be broken as
dependencies are indirect and require a solver tun)

Can you explan more?

Duncan
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
References