On Fri, 20 Jan 2012 09:14:06 -0500 (EST)
Zdenek Pavlas <[email protected]> wrote:

> > > 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).
> > 
> > 1. You can't then use that for other compare_provider() callers,
> > without copy&paste or having compare_providers2().
> 
> I don't really grasp compare_providers(), there's deep magic :)
> Also didn't run that particular test case, so don't know if the
> two available packages had exactly the same score, but I assume
> they did.

Zdenek,
 If you don't understand compare providers please read:
http://yum.baseurl.org/wiki/CompareProviders

If you still don't understand it, ask.

It's fairly important to the depsolving process.

-sv
_______________________________________________
Yum-devel mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to