Florian Festi wrote:
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
------------------------------------------------------------------------

_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel
What if some one want to use the desolve class directly, it will fail because there is no update method, there need to be some virtual method raising NotImplemted or something like that.

Tim
_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Reply via email to