-
Notifications
You must be signed in to change notification settings - Fork 217
add build_and_install_loop hooks to run before and after the install loop for individual easyconfigs
#4304
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
Conversation
poised hook to run after easyconfigs are parsed but before the build starts
easybuild/main.py
Outdated
| from easybuild.tools.github import new_pr_from_branch | ||
| from easybuild.tools.github import sync_branch_with_develop, sync_pr_with_develop, update_branch, update_pr | ||
| from easybuild.tools.hooks import START, END, load_hooks, run_hook | ||
| from easybuild.tools.hooks import LOOP, PRE_PREF, POST_PREF, START, END, load_hooks, run_hook |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will be used soon!
poised hook to run after easyconfigs are parsed but before the build startsbuild_and_install_loop hooks to run before and after the install loop for individual modules
branfosj
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tabs instead of spaces after the ".
boegel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
|
@XavierCS-dev I assume this is good to go, but I'll let you mark it as "Ready for review" first... Are you up for also updating the documentation (https://docs.easybuild.io/hooks) accordingly, via a PR to https://github.com/easybuilders/easybuild-docs ? |
build_and_install_loop hooks to run before and after the install loop for individual modulesbuild_and_install_loop hooks to run before and after the install loop for individual easyconfigs
POISEDBUILD_AND_INSTALL_LOOP hook to list of hooksPOISEDBUILD_AND_INSTALL_LOOP hook to run after easyconfigs are parsed + after install loopPOISEDBUILD_AND_INSTALL_LOOP hook an ordered list of the easyconfigs, to be processed by external tools.fixes #4303