Commit Graph
459 Commits
Author SHA1 Message Date
gsell 359e63d7d9 link to documatation added to usage/help text 2024-03-21 10:33:51 +01:00
gsell 0064fe059a modulecmd: typo in comment fixed 2024-02-23 15:50:06 +01:00
gsell be7d8517ac modulecmd: store field-names in YAML module config in lowercase 2023-11-17 16:06:57 +01:00
gsell 964a22be60 modulecmd: rel_stage refactored to relstage 2023-11-17 16:04:30 +01:00
gsell 19c0b65331 modulecmd: bugfix in reading module config
Missing redirect added
2023-11-17 16:00:20 +01:00
gsell 63f9e225f4 modulecmd: ununsed function die_is_blocked() removed 2023-11-17 15:50:06 +01:00
gsell 693c38b3b0 modulecmd: check availability of a module reviewed
Entries in the system- and blocklist can now use glob pattern.
The blocklist is now checked before the system list.
2023-11-17 15:47:02 +01:00
gsell adbceb602f modulecmd: blocking of modules reviewed
System- and blocklist are now in the YAML module configuration file.
2023-11-17 15:43:11 +01:00
gsell 3c66af7565 Implementation of YAML configuration files 2023-10-20 17:35:15 +02:00
Achim Gsellandgsell 4c74e288c0 modulecmd: block loading of a module on dedicated systems 2023-08-04 14:29:10 +02:00
gsell 3d013bce0b modulecmd.bash: bugfix in getting available modules 2023-07-10 18:48:18 +02:00
gsell 460e6624f9 modulecmd.bash.in: bugfix in search_collection 2023-07-04 17:31:24 +02:00
gsell 14941fc8c3 don't save Pmodules module in collection 2023-07-04 17:30:04 +02:00
gsell 2518eca26a collections in overlays implemented 2023-07-04 17:08:12 +02:00
gsell 2b815051ed Merge branch '217-exclude-hide-modules-with-overlays' into 'master'
Resolve "exclude/hide modules with overlays"

Closes #217

See merge request Pmodules/src!194
2023-07-04 11:43:17 +00:00
gsell 56962f7b7f modulecmd.bash.in: exclude list of modules using an overlay
In the overlay configuration a list of module names can be given to be
excluded from the available modules. The modules in this list are not
exposed to the user.
2023-07-04 13:39:36 +02:00
gsell ec2e0c6d5f modulecmd.bash.in: some comments added/reviwed 2023-07-04 13:35:33 +02:00
gsell ee9ed544cf modulecmd.bash.in: code for sub-cmd avail reviewed 2023-07-04 13:27:38 +02:00
gsell 9cd3e6b6be modulecmd.bash: bugfix in find_modulefile()
Matching with used release stages fiyed
2023-07-04 11:50:31 +02:00
gsell 0eec056778 Merge branch '216-replace-bash-empty-sting-test-with-existence-test-of-variable' into 'master'
Resolve "replace bash empty-sting test with existence test of variable"

Closes #216

See merge request Pmodules/src!193
2023-07-03 17:20:10 +00:00
gsell 442a1e23dd test existence of variable instead of empty string 2023-07-03 19:18:33 +02:00
gsell 5d14dd1fd2 output modulefile in err-msg of sub-cmd unload on error 2023-07-03 19:07:11 +02:00
gsell 5f314e41e9 bugfix in loading modulefiles with a relative path 2023-07-03 18:42:23 +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 5d6f53b7d4 build in overlays fixed 2023-04-27 16:54:28 +02:00
gsell 445320f229 Python as "shell" support added 2023-04-05 16:48:25 +02:00
gsell 8deb1e69d8 modulecmd: port changes from version 1.0 2023-02-10 17:52:45 +01:00
gsell c619985a2c bugfix in get_available_modules() 2023-02-06 10:07:43 +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 fc20878cc9 modulecmd: init of manpath is now a sub-function of pmodules_init() 2022-10-21 14:15:32 +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