Commit Graph
733 Commits
Author SHA1 Message Date
gsell 5f314e41e9 bugfix in loading modulefiles with a relative path 2023-07-03 18:42:23 +02:00
gsell 077f7d25d9 eval of yq output replaced with envsubs(1) 2023-07-03 18:33:03 +02:00
gsell 561ba25377 modubuild: bugfix in handling of commments in legacy config files 2023-07-03 18:21:16 +02:00
gsell 0e73cd18dd bugfix in libmodules.tcl:_pmodules_setenv{}: subst. of dashes fixed 2023-07-03 18:11:44 +02:00
gsell 1d81b39de0 libmodules.tcl: bugfix in module-addgroup{}
Removing a hierarchical group failed due to a bug in the computation
of the directory to be removed.
2023-07-03 17:57:57 +02:00
gsell 4ed646ccbd modulecmd: system collections implemented 2023-06-21 14:02:06 +02:00
gsell 2fbebfdf98 modulecmd: using/unusing group/modulepath fixed
using a group must have precedence over a directory containing
modulefiles. Otherwise something like `module load Tools` doesn't
work as expected if Tools is a subdirectory of the current
working directory.
2023-06-21 13:54:46 +02:00
gsell ee2018941a modulecmd: argument/option handling fixed 2023-06-21 13:49:45 +02:00
gsell 5f4bf2ebcd enhancement: collections implemented 2023-06-01 14:21:45 +02:00
gsell 7293da8053 use refernce variables instead of std::upvar() 2023-06-01 14:19:25 +02:00
gsell c5746296cd Merge branch '202-pmodules_env-must-be-exported-in-save_env' into 'master'
Resolve "PMODULES_ENV must be exported in save_env()"

Closes #202

See merge request Pmodules/src!179
2023-06-01 12:15:16 +00:00
gsell 8f5a7f7e6d bugfix: exporting PMODULES_ENV 2023-06-01 14:12:40 +02:00
gsell 178afdf338 feature: use Lua and Lmod from Pmodules 2023-06-01 12:06:13 +02:00
gsell 249e552b63 modulecmd: support for Lmod module files added 2023-05-12 16:59:22 +02:00
gsell 8453c0aeb3 modulecmd: rewrite list sub-command 2023-05-12 16:56:35 +02:00
gsell 5f47cda46a modulecmd: rewrite of list sub-command
To support Lmod and Tcl modules, neither 'list' from Lmod nor Modules
can be used.
2023-05-12 16:53:53 +02:00
gsell 566b3f2cb1 modulecmd: rewrite of purge sub-command
purge is now implemented as unload of all loaded modules
2023-05-12 16:52:00 +02:00
gsell e55684dd86 modulecmd: version info changed, now it is understood by easybuild 2023-05-12 16:46:04 +02:00
gsell 128673f699 Merge branch '197-modbuild-broken-with-legacy-variants-files' into 'master'
Resolve "modbuild broken with legacy variants files"

Closes #197

See merge request Pmodules/src!173
2023-04-27 14:56:52 +00:00
gsell 5d6f53b7d4 build in overlays fixed 2023-04-27 16:54:28 +02:00
gsell 68ac0bc28f libmodules.tcl: dont setenv issue fixed 2023-04-21 11:08:44 +02:00
gsell 263ac47838 Python init file added 2023-04-05 16:57:55 +02:00
gsell 445320f229 Python as "shell" support added 2023-04-05 16:48:25 +02:00
gsell 9558522bba pick changes from version 1.0 2023-04-05 16:23:58 +02:00
gsell 8deb1e69d8 modulecmd: port changes from version 1.0 2023-02-10 17:52:45 +01:00
gsell 81265f6124 set PMODULES_VERSION in libpmodules.bash
(cherry picked from commit da0af7f65a)
2023-02-10 14:11:15 +00:00
gsell 9cc52a455e csh initialization fixed
(cherry picked from commit 9d6acb4e7e)
2023-02-10 14:03:35 +00:00
gsell c619985a2c bugfix in get_available_modules() 2023-02-06 10:07:43 +01:00
gsell ec50e22418 bugfix in setting LD_LIBRARY_PATH 2023-02-06 10:04:09 +01:00
gsell 1d6562bbd3 bugfix in std::remove_path() 2023-02-06 10:01:27 +01:00
gsell dbbf761359 Merge branch 'master' into 178-port-cherry-pick-changes-from-version-1-0-0-to-master 2022-12-05 17:09:17 +01:00
gsell 020ed5943b Tcl library paths fixed 2022-12-05 17:06:41 +01:00
gsell 4ee53d12fa changes made in version 1.0 merged/added
- Issue #176, MR !149 relocatable modulecmd
- Issue #175, MR !148 new logmessage format
- Issue #173, MR !146 additional dirs in search path of CMake and pkgconfig
- Issue #172, MR !145: fix in reading legacy variants files
2022-12-05 15:35:26 +01:00
gsell 34a3009120 changes from master merged 2022-10-27 15:07:18 +02:00
gsell f17a66bd2c modulecmd: sub-cmds whatis and keyword fixed 2022-10-26 18:25:12 +02:00
gsell b7da791922 Springdale added as RHEL clone 2022-10-26 15:15:33 +02:00
gsell fc20878cc9 modulecmd: init of manpath is now a sub-function of pmodules_init() 2022-10-21 14:15:32 +02:00
gsell e9bf48c1bf modbuild: add option to pass a configuration file (former variants file) 2022-10-21 14:13:44 +02:00
gsell 05306765c2 modbuild: bugfix in writing the dependencies files 2022-10-21 14:11:50 +02:00
gsell 0af6ef37c4 modbuild: declare and export the build root in BUILD_ROOT 2022-10-21 14:10:45 +02:00
gsell 46a56688f8 modbuild: bugfix in installing doc files 2022-10-21 13:43:39 +02:00
gsell 5b706a7ec7 API function pbuild::unpack() added 2022-10-21 13:32:11 +02:00
gsell 0d5f4dcb18 modulecmd: help for aliases fixed 2022-09-13 19:21:26 +02:00
gsell debde9c152 modulecmd: bugfix: sed command was not defined 2022-09-13 19:20:16 +02:00
gsell fbd4867c3e modulecmd: scan groups during initialisation 2022-08-03 17:31:21 +02:00
gsell f44972947f modulecmd: comments edited 2022-08-03 16:54:44 +02:00
gsell ffbf6158e6 modulecmd: unset 'Version' before restoring variables from cache
If 'Version' is set in the calling shell, initialisation might be
skipped.
2022-08-03 16:41:15 +02:00
gsell 50ef08ca2f modulecmd: parsing the args of sub-cmds simplified 2022-08-03 16:37:58 +02:00
gsell 8d7bba9631 modulecmd: all group depths should be correct after initialisation. 2022-08-03 16:34:21 +02:00
gsell b308bf252a modulecmd: mapping of sub-cmds and their aliases to functions reviwed 2022-08-03 16:32:20 +02:00