* Version 8.7.39:
+ Fix busted test for ModuleA.
+ Added new function `depends_on_any()`:
If `$MODULES_AUTO_HANDLING` is set then
`prereq()` -> `depends_on()`, `prereq_any()` -> `depends_on_any()`
+ Do not reset `BASH_ENV` if already set for `profile.in`.
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=112
- Update to version 8.7.55:
* Version 8.7.38
+ Issue #697: Add warning if doing `module use --help`
+ Make `LMOD_IGNORE_CACHE` use "yes/no" env variable setting
system.
+ Make `module --terse show <module>` do the same as
`module --loc show <module>`, namely print the location of the
module.
+ Support for `module --terse spider phdf5/1.12.2` that just
prints the module in the hierarchy.
+ Move almost almost all `cosmic:value()` calls to inside
function not at routine top-level.
+ Report build time in UTC when `$SOURCE_DATE_EPOCH` is set.
+ Support for downstream conflicts has been added.
+ Support for dynamic `LMOD_MODULERC` has been added.
(8.7.39) * Fix busted test for ModuleA.
* Version 8.7.40
+ Bug fix for prepend/append path when trying to add an empty string.
+ Bug fix for `serializeTbl`: handle empty or single blank
string as key.
* Version 8.7.41
+ Added new function `depends_on_any()`.
+ If `$MODULES_AUTO_HANDLING` is set then
`prereq() -> depends_on()`; prereq_any() -> depends_on_any()`
+ Generate a perl pod format for manpage for `module.1`
+ `ModuleTable` modification: Changes to `$MODULEPATH` are
stored in an entry.
* Version 8.7.42
+ Fix setting of `$FPATH` when running bash or ksh shell
and executing `zsh -l`.
OBS-URL: https://build.opensuse.org/request/show/1234730
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=108
- Update to version 8.7.37:
* Use the correct mname from Framestack when unregistering a "break"
module.
* Ignore backup files (*~ .*.swp etc) files in a modulerc.d directory.
* Fixed buildVersion_src to deal with (HEAD detached at x.y.z)
* From 8.7.35 & 8.7.36:
* Let is-loaded and is-avail set non-zero exit status. This is different
from warnings.
* Must pass in mpathA to isVisible when trying to find hidden modules in
buildDbT
* Do not produce a Lua error on a non-existant collection
* Now use "m_Module_Msgs_close" instead of border so that sites can
override.
* Add LMOD_ADMIN_FILE to config report
* Call build_i18n before calling warnings, errors or messages
* Allow for multiple hooks. Note that last one in list sets the result
value on return
* Allow io.popen() to be called from a modulefile.
* Created buildVersion_src to build src/Version.lua when installing Lmod.
OBS-URL: https://build.opensuse.org/request/show/1167878
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=104
- Update to version 8.7.34
* (Again) Cannot use the string ${ZSH_VERSION} in
$FPATH. Instead change orig zsh version to current one.
* Change isFile(fn) to return nil if fn is a broken symlink.
* Change abspath() to l_abspath() in tools/fileOps.lua
* Create realpath() to use posix.realpath() if it exists
otherwise use l_abspath()
* Implement user request that the Active RC file(s) be realpath()
* Internally rename complete name to be "complete<name>" and
unwrap when necessary.
* Change the current version of zsh with the string
${ZSH_VERSION} when builting the init/zsh file.
* Better handling of zsh shell functions in source_sh().
Must match "\n}\n" to find end of function.
* Better name for extension title, remove trailing \n
* Added support for getenv function in TCL modules
* Fix bug where the version is very long (like git commit tags)
* Must delete old tcl2lua.so* files before installing new ones
* wrap double quotes around any newlines found in env var value
in bash like shells
* Unknown TCL module command now produce an error instead of
being ignored
* Update zsh and bash tab completion files
* Added support for "module purge" in a TCL modulefile to unload
all other modules on load.
* "module show" now prints the contents of inheritted modules.
* Added support for "purge()" function in modules to unload all
other modules on load.
* Created hook colorize_fullName to allow for sites to control
how "module list" and "module av"
OBS-URL: https://build.opensuse.org/request/show/1139499
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=100
- Updated to version 8.7.15:
* Issue #619: Do not source lmod_bash_aliases when $POSIXLY_CORRECT is set
(by bash --posix)
* Issue #620: Dynamically set shell name inside Lmod instead of init/bash.in
* Added debugging stmts to track down issue when adding loop in MODULEPATH
when doing a spider.
* Zsh now gets /path/to/ksh_scripts if KSH_SUPPORT is yes.
* Issue #620: Honor shell name on command line. Use "shell"
when Lmod gets to decide.
* Fix bug in keyword terse output: Add newline on final entry (Created
in Lmod 8.4.18).
- Obsoletes:
issue-620-Delay-setting-of-LMOD_SHELL_PRGM-until-module-is-actually-called.patch
OBS-URL: https://build.opensuse.org/request/show/1058224
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=88
Since Lmod sets BASH_ENV to ,
do not run external commands immediately in this script but only
when `module` is called for the first time. This prevents errors
when this script is run during shell init for access restricted
scripts (apparmor) (boo#1206957).
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=83
- Update to version 8.7.15:
User visible changes include:
* Add option --miniConfig to report configuration differences from default.
* Move cache file location from ~/.lmod.d/.cache/* to ~/.cache/lmod/*
* Transitional support for using ~/.config/lmod for collections. Currently collect
are written to both ~/.lmod.d/ and ~/.config/lmod.
* setenv and pushenv change local environment when running spider (and avail).
* Allow bash users to export SUPPORT_KSH=no so that they can avoid bash startup setting FPATH
* Add --location option to show to write to stderr the file location.
* Only rebuild spider caches if there are any loaded or pending modules.
'module avail <name1> <name2> ...' now only prints matching aliases. Search names are resolved.
* Print dataT table when there is an Exception.
* New command added: 'module overview'.
* Add spiderPathFilter hook so that sites can control what paths are kept or ignored.
* Added $LMOD_SITE_MODULEPATH support to prepend to MODULEPATH
* Add support for sh_to_modulefile to support zsh, ksh, bash and tcsh with aliases and shell functions
* Support for source_sh added. Now support more than one shell script per modulefile.
OBS-URL: https://build.opensuse.org/request/show/1046634
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=81
- Update to version 8.4.27:
* (8.4.21)
+ Add findLuaProg() or die
* (8.4.22)
+ Fix luaCmd -> luaprog.
* (8.4.23)
+ Fix goto in luaterm pkg.
* (8.4.24)
+ Need to quote '?' in csh.
+ Make list of modules from spider skip .version* and .modulerc*
+ analyzeLmodDB now takes a list of all modules so that zero module
usage can be reported.
* (8.4.26)
+ Fix bug with building on Suse linux
+ Allow all paths (but MODULEPATH) to have trailing double slashes.
* (8.4.27)
+ Fix default for SHORT_TIME
+ Adding isAvail() function for Lua modulefiles
+ Now reporting that is-avail() is not working for TCL modulefiles
OBS-URL: https://build.opensuse.org/request/show/879662
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=67
* (8.4.20)
+ Adding wV field to MName and MT class (Merged wV branch)
+ This allows users to tell how (if any) default is set.
* (8.4.19)
+ MasterControl:unsetenv(name) also clears stack if it exists.
+ Issue #490: use old way of following readlink as "readlink -f" is not
universal.
* (8.4.18)
+ Issue #481 (and PR #488) are merged in. New configure options to specify
where lua and luac executables exist (--with-lua= and --with-luac=).
It is also possible to use --with-luaSuffix=.
Both --with-lua= and --with-luac= must be specified if one is specified
The option --with-luaSuffix= can not be used with --with-lua or
--with-luac
+ PR #489 is merged in. This fixes bug with "module --terse keyword"
* (8.4.17)
+ If python exists on system use $PYTHON -mjson.tool on the generation
of *.json files from update_lmod_system_spider_cache_files script.
Note $PYTHON is found by looking for python3, python or python2
+ Added TCL module function require-fullname to match requireFullName
in Lua.
+ Do not check $cache_type twice, use $ext = lua for lua like operations
in update spider cache script.
* (8.4.16)
+ Issue #483: Added hidden file to spider tests. Showing that it works
correctly.
+ Fixed bug where providedByT (a.k.a. Extensions) was always
printed when doing "ml keyword ..."
+ Added lua module function requireFullName()
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=65
- Update to version 8.3.1:
* The function extensions() now takes a string of comma separated names.
* Add support for "atleast()" and "between()" functions support a "<"
to signify a less than instead of less than or equal to between range.
* Make "ml - foo" an error.
* It is now safe to have os.exit(1) in a modulefile. Spider can now
handle it.
- Remove obsolete BuildRequires on ohpc.
OBS-URL: https://build.opensuse.org/request/show/777921
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=51
- Update to version 8.2.5:
* Better support for the fish shell including tab completion
* New function extensions(): This allows for modules like python
to report that the extensions numpy and scipy are part of the
modules. Users can use "module spider numpy" to find which
modules provide numpy etc.
* Added a new command "clearLmod" which does a module purge and
removes all LMOD aliases and environment variables.
* Remove asking for the absolute path for generating spiderT
and dbT. It now only use when building the reverseMapT.
* Lmod now requires "rx" other access when searching for
modulefiles.
* settarg correctly handles a power9 processor running linux.
- Refresh patch
* Messages-Remove-message-about-creating-a-consulting-ticket.patch
OBS-URL: https://build.opensuse.org/request/show/751799
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=49
- Update to version 8.1.14:
* Extended Default feature added: module load intel/17 will find
the "best" intel/17.* etc.
* All hidden files are NOT written to the softwarePage output.
* Lmod now correctly reports failed to load module "A" in the
special case where "ml A B" and A is a prereq of B and A
doesn't exist.
* A meta module takes precedence over a regular module if the
meta module occurs in an earlier directory in $MODULEPATH
* Lmod output only "fills" when the text is more than one line
or it is wider than the current width.
* Embed the TCL interpreter in Lmod when a site allows TCL files
* "module reset" resets $MODULEPATH to be the system $MODULEPATH
* Improved tracing of module loads/unloads when --trace is given.
* Allow MODULERCFILE to be a colon separated list.
- Set --with-fastTCLInterp=no, because this option is not supported
with TCL 8.6
OBS-URL: https://build.opensuse.org/request/show/725390
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=45
- Update to 7.8.15:
* issue #379: Extra space required for shell function definitions
under bash
* issue #380: Change DependencyCk mode from load to dependencyCk,
sType and tcl_mode remain load.
* Fixed problem with unbound variable __lmod_sh_dbg in module shell
function definition
* Add unload state to tracing.
* Define MCP and mcp earlier in lmod main() so that errors/warning
found in SitePackage work.
* issue #383: Use LUA_PATH to evaluate Version.lua instead of
depending on ./?.lua to be LUA_PATH.
* Added mgrload function and documentation
* Fixed unbound variable in bash.in.
* Fixed bug when ~/.lmod.d/cache was read only.
* Fixed quote rules for Python, R and CMAKE.
* issue #390: Added a message when find first rules are used to set
defaults when NVV is found in both avail and tracing.
* issue #389: Honor newlines and leading spaces in Nag messages.
* Allow MODULERCFILE to be a colon separated list.
* issue #391: Only process the family stack when in the modulefile
that requested it.
* Allow MODULERCFILE to be a colon separated list with the priority
be left to right instead of right to left.
* Added cc test case for issues with choosing the correct module
when doing reloadAll()
* issue #394: Only reload modules when the userName has remained the
same in mt.
* Add Lmod version report to --trace output.
* issue #394: use mname = MName:new("load",mt:userName(sn)) to get
OBS-URL: https://build.opensuse.org/request/show/668723
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=40
- Update to 7.8.1:
* Fixed typo in myGlobals.lua about assigning LMOD_DUPLICATE_PATHS
* Fixed TARG_TITLE_BAR_PAREN to always have a value, needed for tcsh.
* Added LMOD_SETTARG_TITLE_BAR=yes to turn on the title bar.
* Changed from sn-version to sn/version in title bar.
* Changed the initialization of LMOD_SETTARG_CMD in bash.in and csh.in.
It is defined to be `:' iff it is undefined. This allows settarg to work
in sub-shells.
* Use spider cache for "module --terse avail" when LMOD_CACHED_LOADS=yes
* Fix bug with LMOD_SETTARG_CMD and csh.
* Turn off LMOD_REDIRECT for tcsh
Settarg now supports C/N/V and N/V/V module layouts.
* Fixed a bug where sometimes a compiler-mpi dependent module wouldn't
be found when it should.
* Fixed issue #321 Changed LMOD_TARGPATHLOC to LMOD_SETTARG_TARG_PATH_LOCATION
changed LMOD_FULL_SETTARG_SUPPORT to LMOD_SETTARG_FULL_SUPPORT. (Lmod supports both)
* Fixed issue #322 where non-existant directory would cause problems
* Fix bug in settarg module for csh.
* Fix bug in Csh.lua where semicolons inside an alias were removed. Only remove the
trailing semicolon.
* Generate an LmodError() if the cachefile is broken.
* Do not convert /foo/bar/../baz to /foo/baz. Leave .. in paths. Fixes issue #324
* The admin.list (aka, nag mesages) supports Lua regex's. Responds to issue #326
* The admin.list now supports multiple targets for the same message (issue #326)
* Use full path_regularize() on all TCL program files. Having paths like /a/b/../d
caused problems for some users when interacting with TCL.
* Do not look for lua_json. Just use the one that comes with Lmod.
* Fix sh_to_modulefile correctly handle bad options (issue #332)
* Allow pushenv("FOO",false) to clear "FOO" (issue #331)
* Always use ref counting for MODULEPATH.
OBS-URL: https://build.opensuse.org/request/show/630002
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=38