5.0.0-alpha
Pre-release
Pre-release
- Remove deprecated
createmodule.sh
andcreatemodule.py
tools as shell script to modulefile conversion is now achieved with thesh-to-mod
sub-command. - Remove mention of the
init*
sub-commands in module usage message to put focus on the collection handling sub-commands. - Do not declare anymore the
chdir
,module
,module-trace
,module-verbosity
,module-user
andmodule-log
commands under the modulerc Tcl interpreter as no-op commands. A clear error message is obtained if these commands are still used in modulerc files instead of silently ignoring them. - Return by default an empty string rather
_UNDEFINED
ongetenv
modulefile command if passed environment variable is not defined. - Align empty directory name error message obtained on
use
sub-command with message obtained when module or collection name is empty. - Accept non-existent modulepath on
use
sub-command. - Install: installation option
--enable-auto-handling
is set on by default which enables the automated module handling mode (seeMODULES_AUTO_HANDLING
). - Install: installation option
--enable-extended-default
is set on by default which allows partial module version specification (seeMODULES_EXTENDED_DEFAULT
). - Install: installation option
--enable-advanced-version-spec
is set on by default which activates the Advanced module version specifiers - Install: installation option
--enable-color
is set on by default which enables theauto
output color mode (seeMODULES_COLOR
). - Install: installation option
--with-icase
is set tosearch
by default to activate case insensitive match on search contexts (seeMODULES_ICASE
). - Install: installation option
--enable-new-features
has been reset following major version change as all the options it implied are now enabled by default. - Install: installation option
--enable-set-shell-startup
is set off by default but could be enabled once installed through theinitrc
configuration file. - Install: installation option
--with-initconf-in
is set toetcdir
by default to locate configuration files in the directory designated by the--etcdir
option. Therefore the initialization configuration file is namedinitrc
in this directory, and the modulepath-specific configuration file is namedmodulespath
. - Only look at configuration files found in the location designated by the
--etcdir
or--initdir
option (depending on the value of--with-initconf-in
option). Configuration files were previously searched in both locations. - Install: remove installation option
--enable-compat-version
. Compatiblity version co-installation is discontinued.switchml
shell function andMODULES_USE_COMPAT_VERSION
are thus removed as well. - Testsuite: introduce the non-regression quick test mode. When the
QUICKTEST
environment variable is set to1
, only the main tests from the non-regression testsuite are run. When first argument of themt
script isquick
, tests are run in quick mode. - Install: run non-regression testsuite in quick mode in RPM spec file.
- Rename the environment variables that are used by Modules to track loaded environment state (variables whose name starts with
MODULES_LM
). A__
prefix is added to the name of these variables to indicate that they are intended for internal use only. - Rename the environment variables used to indirectly pass to
modulecmd.tcl
the value of variables set in quarantine (variables whose name finishes with_modquar
). A__MODULES_QUAR_
prefix is applied to the name of these variables instead of the_modquar
suffix to indicate they are intended for Modules internal use of only. - Update Tcl requirement to version 8.5 as Tcl 8.4 is deprecated since a long time and this version is not available anymore on recent OS distributions. Update internal code of
modulecmd.tcl
to take benefit from the features brought by Tcl 8.5.