Correct source-sh tests in 50/400 to succeed when tests are run in an
environment where module is defined but has been uninstalled. It
corresponds to the environment created for 'mrel' script execution.
Do not output Tagging message block if module is set hidden-loaded and
evaluation has not been directly asked by user.
Add uasked argument to cmdModuleTag procedure to know if the evaluation
of module has been asked or not by user.
When just tagging a module already loaded, report a *Tagging* message
with module denomination. Like for *Loading* message, it is only seen
during a restore/source sub-commands or in verbose mode.
Fix the siteconfig.tcl file of the log-module-command cookbook recipe
not to break when a file is sourced through cmdModuleSource. Limit the
addition of the 'auto' log field only if load evaluation comes from
cmdModuleLoad procedure.
Fixes#453
Update Loading/Unloading/Refreshing header message block to render the
tags applying on the currently analyzed module over or along this module
name, as done when reporting loaded modules with list sub-command.
Update formatListEltToDisplay and formatListEltToLongDisplay to enclose
element name in single quote if it contains a space character. As a
result list and avail output will now report enclosed module names if
space character if found in them, like it is done when reporting module
designation as loading/unloading header.
Only enclose element name and not suffix, to follow the same output
approach than 'ls' command.
Remove from the in-memory knowledge the auto-loaded and keep-loaded tags
set on unloading modules. These tags are then forgotten and will not be
reapplied if module is currently reloading.
Update reloadModuleListUnloadPhase and reloadModuleListLoadPhase
procedures to save extra tags of unloaded modules to re-inject them when
reloading these modules.
Remove from the in-memory knowledge the extra tags set on unloading
modules. These extra tags are then forgotten and will not be reapplied
if module is currently reloading.
Add unset_extra argument to the cmdModuleTag procedure to remove, when
enabled, the extra tags currently set on designated modules that are not
part of the transmitted tag list.
Update every cmdModuleTag calls to take into account this new
unset_extra argument.
When a module load attempt is made on an already loaded module with
additional tag set, update the tag list set on this loaded module: add
the new tags not already set on the loaded module.
Update findCollections procedure to rely on a checkValidColl procedure
that verifies given collections can be read and are compatible with
current Modules version if they express a minimum version requirement.
As a side effect, when listing available collections with savelist
sub-command, now the collections that cannot be read are withdrawn from
result list.