[packagekit] Fwd: Resolve function specification

Mounir Lamouri mounir.lamouri at gmail.com
Mon Jun 29 07:32:27 PDT 2009


Forwarding second Richard answer.


---------- Forwarded message ----------
From: Richard Hughes <hughsient at gmail.com>
Date: Mon, Jun 29, 2009 at 4:20 PM
Subject: Re: Resolve function specification
To: Mounir Lamouri <mounir.lamouri at gmail.com>


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.

Richard.



More information about the PackageKit mailing list