[packagekit] A new filter NEWEST?
hughsient at gmail.com
Sat Mar 29 03:22:37 PDT 2008
On Sat, 2008-03-29 at 11:12 +0100, Marcin Banasiak wrote:
> Richard Hughes wrote:
> > I've added this enum. Could you guys please add support for newest in
> > your backend please?
> Sure, but first I have several questions :)
> What about GetUpdates? Should it return all packages to update or only
> the newest one?
GetUpdates should only return the newest package already - it's
basically saying "if I was to update, what would I be updated to".
I've added a note in the documentation about this, thanks.
> Will PkFilter support NEWEST filter? I see in the pk-enum.c that
> PK_FILTER_ENUM_NEWEST uses "basename" value. Is it valid?
OOps. I've added NEWEST to PkFilter, and also corrected the enumerated
value name. Thanks!
More information about the PackageKit