[packagekit] A new filter NEWEST?

Richard Hughes hughsient at gmail.com
Fri Mar 28 14:47:05 PDT 2008


On Mon, 2008-03-24 at 09:38 +0000, Richard Hughes wrote:
> * Make it clear that SearchName and friends return all results in all
> repositories.

I've added this to the docs.

> * Add a NEWEST filter so the backends know when only to return the
> newest packages. The NEWEST filter will fix a lot of the user issues
> in pk-application, e.g. "Why are there three versions of The Gimp
> available"

I've added this enum. Could you guys please add support for newest in
your backend please?

The description is thus:

The newest filter will only return the _newest_ package available.
This is useful if you are searching for gimp and only
gimp-2.4.5-1.fc9.i386 would be returned, not gimp-2.4.5-1.fc9.i386,
gimp-2.4.4-1.fc9.i386 and gimp-2.4.3-1.fc9.i386.

This filter makes pk-application much more useful, and also allows us to
create a simple application browser in the future.

Richard.





More information about the PackageKit mailing list