New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xbps hooks #304
Comments
Triggers are almost there. They need change of Only hooks installed on filesystem at the time will be run, ie. no after- of packages removed in transaction, and no before- of packages installed with --rootdir run with host commands. This means cleanup will be mostly before- and initialization mostly after-. No good idea how to deal with hooks that need data from package, like $register_shell. Maybe add |
New hooks design should solve void-linux/void-packages#22817 ? |
Hi guys, |
There is no ETA, if it happens it will be in the changelog and most likely announced on the website. |
ok. thanks |
I'm interested to develop this feature. Where and who could i ask info about it? |
I'm developing this feature. I could know some things before to develop it totally.
The Trigger and Action sections are not repeatable. What do you think about it? |
@pandom79 nice ! I wait for that PR, it would be great to create pre upgrade zfs snapshot and post upgrade flatpak update !
Why not following the exact same syntax ? it would let us use pacman hooks as is. |
The libalpm was taken as a model not a brutal copy. |
I like KISS as much as I love cross compatibility. Yes it is a powerful feature ! |
I agree with you. |
Hooks should all run at once, before all packages are extracted and after all packages are extracted,
to avoid running programs while only some packages are extracted which might break hooks.
Targets are either pre/post, we probably also need to have ways to distinguish between install/update/remove.
Hooks should match package names, matching file or nothing (for snapshots etc).
Hooks should be able to collapse so that we don't have to update the font-config cache N-times as its currently happening with triggers.
Resources:
The text was updated successfully, but these errors were encountered: