[Yum-devel] [PATCH/RFC] New processConflict implementation

Florian Festi ffesti at redhat.com
Fri Nov 2 14:02:37 UTC 2007


Hi!

Depsolve.processConflict() has been on the "Needs to be revisited" list for 
quite some time. The attached patch offers a simple but powerful 
implementation by invoking self.update. This code passes the few conflict 
test cases we have including the one that are failing right now. It tries to 
update both of the involved pkgs and tries to be smart which one to try first.

While I think that implementation of processConflict is quite good I am a 
bit unsure if YumBase.update is capable of handling all situations that we 
are handing over. I guess we need to make .update handling more situations 
properly - especially updates to non newest versions.

Comments anyone?

Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yum-processConflict.diff
Type: text/x-patch
Size: 5918 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20071102/a4431d81/attachment.bin 


More information about the Yum-devel mailing list