[pacman-dev] [PATCH] Add documentation for transaction events
Sebastian Nowicki
sebnow at gmail.com
Sat Apr 26 15:19:11 EDT 2008
I didn't really know what PM_TRANS_EVT_SCRIPTLET_INFO is for, so I
didn't comment it. I glanced at the code but the function in which it
is sent is huge and it's late ;). Also when documenting
PM_TRANS_EVT_ADD_DONE I looked at the code and it seems like oldpkg is
always NULL when the event is sent, so I only documented newpkg.
Correct me if I'm wrong on this.
The patch is a bit lengthy, but it's very hard to use these events
without looking at the code. There was no way of telling what data
actually gets passed in without looking at code. I wasn't really sure
how to document it, so I just did it how I thought would be logical.
ps. I sent the patch from Mail.app so I hope it applies ok.
--
Sebastian Nowicki
More information about the pacman-dev
mailing list