-
Notifications
You must be signed in to change notification settings - Fork 118
Open
Labels
Description
It is desired some time to execute specific site procedure at the beginning or at the end of a modulefile or modulerc evaluation.
This is currently possible with either trace Tcl command or by superseding one of the internal Tcl procedure (like execute-modulefile). All of that is described at https://modules.readthedocs.io/en/latest/module.html#hooks
These methods have the disadvantage to require an internal code analysis every time Modules is upgraded at the site, to determine if the hook code or connection point should be changed.
Defining a stable API would help here. With it people would not need to review code at every upgrade. They will be able to rely on the interface that provides the API.
Reactions are currently unavailable