[packagekit] Resolve function specification

Mounir Lamouri mounir.lamouri at gmail.com
Mon Jun 29 07:39:45 PDT 2009


On Mon, Jun 29, 2009 at 4:20 PM, Richard Hughes<hughsient at gmail.com> wrote:
> On Mon, Jun 29, 2009 at 3:14 PM, Richard Hughes<hughsient at gmail.com> wrote:
>> As the two packages
>> have equal versions, the newest filter isn't going to save us in this
>> case...
>
> Actually, checking yumFilter.py, it appears it does save us, as the
> check is <=, not <
>
> Also, maybe we can move the _do_newest_filtering in yumFilter.py into
> filter.py, and just require a _pkg_vercmp(a,b) method to be
> overridden. I'm basically thinking out loud now.

I'm a bit lost. Does this mean we are going to show same version
packages except when newest enabled ?

By the way, for some reasons, I'm not using PackageKitFilter so it
should better documented even if coded here.

Mounir



More information about the PackageKit mailing list