Skip to content

Conversation

@boegel
Copy link
Member

@boegel boegel commented Jan 21, 2023

While adding EXTENSION_INSTALL to HOOKS_NAMES, I noticed that the list of hooks wasn't being printed in order of being triggered, so I fixed that too...

fixes #4191

Copy link
Contributor

@lexming lexming left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, my only concern is that pre_extension_hook and pre_extensions_hook are too similar. One typo and we will be executing code where we don't want to without any error. Following the name of the global, what about renaming pre_extension_hook to pre_installextension_hook ?

@easybuilders easybuilders deleted a comment from boegelbot Feb 25, 2023
@boegel boegel requested a review from lexming February 25, 2023 17:42
Copy link
Contributor

@lexming lexming left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lexming
Copy link
Contributor

lexming commented Feb 26, 2023

Going in, thanks @boegel !

@lexming lexming merged commit 9b480c8 into easybuilders:develop Feb 26, 2023
@boegel boegel deleted the extension_hook branch February 26, 2023 18:54
@boegel boegel changed the title add pre/post extension hook (triggered before/after individual extension installations) add pre/post extension hook that is triggered before/after individual extension installations Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feature request: Add pre/post extension hooks.

2 participants