On Wed, 10 Sep 2008, Seth Vidal wrote:
On Wed, 2008-09-10 at 14:14 -0400, Colin Walters wrote:
On Tue, Sep 9, 2008 at 5:33 PM, Seth Vidal <skvidal@xxxxxxxxxxxxxxxxx> wrote:
Here's a proof of concept plugin:
http://skvidal.fedorapeople.org/misc/post-transaction-actions/
Ok cool - with one small fix to the plugin, this simple action:
Thank you, I've applied this to the one I uploaded above.
So this seems to work - now the question is - should we push for this to
go into rpm instead?
Not instead, but to rpm *too*, yes.
Quite obviously an action that's currently done from say %post script
should stay at rpm level, moving some things to be only done once per
transaction is just an optimization really. But yum knows a lot more about
the surrounding world than rpm does, such as which repository a package
came from which is something rpm has no clue about, and thus it can do
things in post-transaction that rpm simply could not do. I don't have an
example use-case in mind atm but I'm sure somebody can come up with some
relatively sane example ;)
- Panu -
--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list