On Sun, 6 Dec 2015 18:35:37 +0100 Olivier Brunel <jjk@jjacky.com> wrote:
Add events to let frontends know when hooks are being processed (and when it's done), as that might be useful to update the UI.
It can also be useful to know when ALPM_EVENT_SCRIPTLET_INFO might be happening in that regard (There's no specific event for running scriptlets, but they do happen at specific times after/before ALPM_EVENT_PACKAGE_OPERATION_{START,DONE}).
Signed-off-by: Olivier Brunel <jjk@jjacky.com> ---
Forgot to say, I know there's a freeze for 5.0, but I figured you might wanna add this in, because if for pacman you're fine not having this information, for other frontends not knowing what's happening/that something is running, and out of nowhere getting some SCRIPTLET_INFO events, might be "odd"/problematic to provide good/consistent UI. And since such changes involve API changes, I feel it might be good to have at least those events in the 5.0 release.