over 4 years agoTracing module executionby Xavier DelaruelleThe trace verbosity is introduced between the verbose and debug levels to report details on module searches, resolutions, selections and evaluations. Trace mode can be enabled by setting the verbosity config to the trace value or by...
over 4 years agoForbidding use of modulesby Xavier DelaruelleThe module-forbid modulefile command is added to dynamically forbid the evaluation of modulefiles it specifies. When forbidden, a module cannot be loaded and an access error is returned when an attempt is made to evaluate it. $ cat...
over 4 years agoHiding modulesby Xavier DelaruelleThe newly introduced module-hide modulefile command enables to dynamically hide modulefiles, module aliases or symbolic versions specified to it: $ cat /path/to/modulefiles/bar/.modulerc #%Module4.6 module-version bar/1.0...
over 4 years agoQuerying user's name and groups membershipby Xavier DelaruelleTwo new sub-commands are introduced for the module-info modulefile command: username and usergroups. They respectively fetch the name of the user currently running modulecmd.tcl or the name of all the groups this user is member of...
over 4 years agoEmbed shell scripts in modulefilesby Xavier DelaruelleThe source-sh modulefile command is introduced to source environment changes done by the evaluation of a shell script passed as argument. With newly introduced sh-to-mod sub-command resulting environment changes done by script are output...
over 4 years agoTranslating shell scripts into modulefilesby Xavier DelaruelleThe sh-to-mod sub-command is added to output as a modulefile content the environment changes done by the evaluation of a shell script passed as argument. sh-to-mod is especially useful for software providing a shell script for their...
almost 5 years agoAutomatic default and latest symbolic versionsby Xavier DelaruelleWhen the implicit default mechanism and the advanced module version specifiers are both enabled, a default and a latest symbolic versions are automatically defined for each module name. This new feature gives the ability to select the...
almost 5 years agoError stack traceby Xavier DelaruelleError messages will now embed a stack trace for unknown errors to help localize the root cause of issues. This change applies to modulefile evaluation: Loading foo/1.2 Module ERROR: add-path cannot handle path equals to...
almost 5 years agoImproved Windows supportby Xavier DelaruelleA new option to the ./configure script named --enable-windows-support is introduced to install additional files relative to the enablement of Modules on the Windows platform. When set, this option installs module.cmd, ml.cmd and envml...