[Yum-devel] [PATCH] Try comparing provides versions, if they all match. BZ 782345.

Zdenek Pavlas zpavlas at redhat.com
Wed Jan 18 16:55:53 UTC 2012


> > I'd rather keep bestPackageFromList() as-is, and patch
> > the return path of searchProvides() (unless there's a catch).
> 
>  You mean doing a second "compare_providers" after compare_providers?
> Seem like a bad idea, and means we can't make depsolving requires use
> the same logic (without copy and pasting it, or creating a
> compare_providers2 or something ... urk).

I meant that searchProvides() knows the provide name used to find
the packages, and if all packages found have a nice version on that
provide, it could a) prune the list b) sort the list c) assign
some initial score (well, that's an api breakage, probably).


More information about the Yum-devel mailing list