[Yum-devel] Two more plugin slots
Panu Matilainen
pmatilai at laiskiainen.org
Wed Jun 1 14:51:27 UTC 2005
The attached patch adds what I think are the two most crucial missing
pieces in the current plugin infrastructure: preresolve and postresolve
slots.
Preresolve is needed for plugins which want to add/remove some packages
to the transaction (and have their dependencies resolved) based perhaps
on what else was in the transaction (feel free to come up with your own
crack ideas :)
Postresolve is needed for taking custom action based on the dependency
resolution process, a practical example would be the "don't let me eat
myself" plugin discussed on yum-users list a few days ago.
Any big objections? Oh, one issue with the current patch: it would be
nice to let the postresolve slot know the result code + string of
resolveDeps() run. I'll check how to go about that + commit if nobody
screams death to the apt-head to the general idea of these slots :)
- Panu -
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yum-plugin-resolve-slots.patch
Type: text/x-patch
Size: 1700 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20050601/39fafac8/attachment.bin
More information about the Yum-devel
mailing list