[Yum-devel] [PATCH] Remove skipped pkgs from updates and new processConflicts implementation

Florian Festi ffesti at redhat.com
Wed Feb 13 16:06:41 UTC 2008


Hi!

Reimplementing .processConflict() is on the todo list for too long now. The 
first patch removes pkgs from updates (self.up) to avoid errors when trying 
to update to an already skipped package (which is no longer found in the 
.pkgSack). The second patch is the new processConflict implementation which 
now get passed the conflicting package object. The method just calls .update 
on both packages and tries to be smart which to update first.

Comments?

Florian

Btw. One test case had to be adjusted as Yum is now capable of handling this 
situation properly.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Deleted-from-updates-aka-Depsolve.up.patch
Type: text/x-patch
Size: 4245 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20080213/e4163050/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-New-processConflict-implementation.patch
Type: text/x-patch
Size: 7921 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20080213/e4163050/attachment-0001.bin 


More information about the Yum-devel mailing list