[Yum-devel] [PATCH/RFC] Fix for new test cases

Florian Festi ffesti at redhat.com
Tue Feb 12 13:32:28 UTC 2008


Hi!

I found another piece of code that does updates - and does it a bit 
different. The attached patch replaces it by a call to YumBase.update().

It also fixes a problem when processing "problems" of packages that got 
already removed.

This patch fixes the failing UpdateForDependency2 test cases just added. 
(May be it would make sense to review them first)

Comments? Ideas why it will fail?

Florian

BTW: I am still unhappy with the result of .update() and friends. It is 
still quite complicated the find out what they actually did. Reason for this 
is the IMHO insane API of TransactionInfo that returns just arbitrary 
transaction member objects in its .add* methods.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Use-update-in-_requiringFromInstalled-instead-of.patch
Type: text/x-patch
Size: 4820 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20080212/b8bec12d/attachment.bin 


More information about the Yum-devel mailing list