[packagekit] yum backend ordering problem

Ken VanDine ken at vandine.org
Sun Oct 14 11:42:17 PDT 2007


I hadn't realized that we should be grouping them like that.  We
filter out dupes in the backend for conary, but don't do any sort of
ordering on the result.  I think James' patch should be fine.

--Ken

On 10/14/07, James Bowes <jbowes at dangerouslyinc.com> wrote:
> On 10/14/07, Richard Hughes <hughsient at gmail.com> wrote:
> > The _do_search method has to return the installed packages _first_ and
> > then the available packages. This is done so we can filter on the
> > packages without the data so we don't show each installed package twice.
>
> res is a generator, so you can only iterate over it once. Attached is
> a patch which fixes the ordering by putting all available packages
> into another list, then filtering those after running through the
> generator and filtering the installed packages.
>
> Ok to commit?
>
> -James
>
> _______________________________________________
> PackageKit mailing list
> PackageKit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/packagekit
>
>
>


-- 
Ken VanDine
http://ken.vandine.org



More information about the PackageKit mailing list