[packagekit] API proposal: Extended method to fetch dependency information

Sebastian Heinlein glatzor at ubuntu.com
Fri Jun 28 21:10:52 PDT 2013

Am Samstag, den 29.06.2013, 01:12 +0200 schrieb Matthias Klumpp:

> The GetDependencies() call would return a list of package-ids which
> match the given filter.

Hello Matthias,

I would support your request. The name of the GetRequires() method
always confused me a little bit. The difference to GetDepends() isn't
very clear on the first sight.

Perhaps a DEPENDENCY_TYPE_ENHANCES would be nice, too. Software-center
uses the Enhances field in Debian/Ubuntu to show plugins.

E.g. iceweasel may not depend on the tor button plugin, not even as a
soft dependency (suggests). But the tor button plugin has got an
Enhances relation to iceweasel.

So GetDependencies(DEPENDENCY_TYPE_ENHANCES, ["iceweasel;;;"]) would
Package(INFO_INSTALLED, "xul-tor-button-plugin;;;", "Secure browsing")

Is there are a plan about more API changes? Is the time ready for a 0.9



More information about the PackageKit mailing list