On Tue, 2010-06-01 at 21:50 +0300, Ville Skyttä wrote:

> I don't really have much of a list to speak of, but one item that'll probably 
> be there is "make yum faster", almost no matter how fast it already is ;).  
> It's always an enlightening experience and a reminder for this to use apt-get 
> on a Debian system... (yeah, apples and oranges at least to some extent but 
> anyway).

I'd be curious how we'd do if we got rid of all file deps and in fact
all need to reference files at all.

the file lookups are fairly expensive the last time I checked and they
are definitely heavy in the metadata.

> The other nagging thing I have on my "list" is that Provides versioning 
> should 
> trump shortest name when deciding best packages for a dep.  For example if 
> foob provides bar = 1.0 and foobar provides bar = 2.0 and something asks for 
> bar, it should resolve to foobar (because bar = 2.0 is "better" than bar = 
> 1.0) and not foob (like it currently does, because foob is shorter than 
> foobar).  One real world case for this in Fedora and friends is various java 
> (JDK) packages.  I believe I've suggested/reported this earlier but to my 
> surprise it turned out somewhat controversial.

You'd need to modify compare_providers() to not only include the package
requiring them but also what dep it is requiring. But adding it to
compare_providers is straight forward - go take a look.

-sv


_______________________________________________
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to