gsell
33f09074cb
modulecmd: use local __doc__ for function documentation
2025-03-06 14:07:20 +01:00
gsell
3c1a4b2287
modulecmd: some fixes for the Spack module integration
...
- get_module_config() reviewed
- bugix in header of module avail output
- module search:
- remove .lua extension in module search output
- don't loop over Pmodules groups if an overlay with layout 'Spack'
with type 'replacing' is in use.
2025-02-19 15:55:24 +01:00
gsell
0486faec1c
modulecmd: search in Spack modules
2025-02-19 11:08:32 +01:00
gsell
56ab7553c9
support for overlays without groups (e.g. for Spack modules)
2025-02-06 09:13:42 +01:00
gsell
b878d6b7dd
modulecmd: switching Pmodules versions fixed
2025-01-09 11:20:57 +01:00
gsell
8291cc27a6
modulecmd: variable PMODULES_MODULEFILES_DIR renamed to __MODULEFILES_DIR__
2025-01-09 10:50:14 +01:00
gsell
68b411894c
modulecmd: derive prefix from location of script
2025-01-09 10:34:05 +01:00
gsell
53e7dbfa1c
build-system, modulecmd: code cleanup
2024-11-27 18:14:44 +01:00
gsell
2c25825a87
modulecmd: show load hints again
2024-09-20 09:51:13 +02:00
gsell
a86a0a7ce4
modulecmd: bugfix in handling overlay excludes
2024-09-11 17:00:52 +02:00
gsell
ea7fe2783c
modulecmd: use 'hostname -f' to get the fqdn not $HOSTNAME
2024-09-09 15:28:00 +02:00
gsell
946610658f
modulecmd: regex can now be used in overlay excludes
2024-09-09 10:31:32 +02:00
gsell
33f5847293
modulecmd: bugfix in loading multiple modules in same call of module
...
If more than one module is passed to the module function, loading
failed if one of the modules is already loaded as dependency.
2024-09-05 17:21:31 +02:00
gsell
4b676a5b96
modulecmd: redefine LOADEDMODULES, _LMFILE_, PMODULES_HOME if undef
2024-08-29 14:58:37 +02:00
gsell
dd14f9d3e9
modulecmd: loading Lmod modulefiles as deps of Tcl modulefile fixed
2024-08-23 13:21:39 +02:00
gsell
cfc844bccb
modulecmd: read dependencies from file in same directory as modulefile
2024-08-23 13:14:48 +02:00
gsell
35081f59ce
modulecmd: bugfix: use of wrong shell in sub-cmd unload
2024-08-23 13:08:19 +02:00
gsell
d639c08bb3
modulecmd: bugfix in un-using a group
2024-08-21 11:06:40 +02:00
gsell
84f3ab6703
modulecmd: fix order of dirs in MODULEPATH
2024-08-21 11:01:06 +02:00
gsell
fefe313d51
modulecmd: use of unset variable fixed
2024-08-21 10:48:22 +02:00
gsell
889aafd2f9
modulecmd: re-add directory to MODULEPATH removed by Lmod
2024-08-21 10:42:53 +02:00
gsell
c977703d26
modulecmd: ignore release stage if full module name specified
2024-08-16 13:34:20 +02:00
gsell
367337b559
modulecmd: set _LMFILES_ and LOADEDMODULES if removed by Lmod
2024-08-16 13:29:34 +02:00
gsell
c26ac94dae
modulecmd: problems with loading/unloading Lmod files fixed
2024-08-14 17:20:30 +02:00
gsell
8192c6db6b
modulecmd: cleanup and syntactical errors fixed
2024-08-14 15:02:51 +02:00
gsell
2653bb86b3
modulecmd: additional directories in overlays
2024-08-14 14:28:11 +02:00
gsell
85cf207e9e
modulecmd: bugfix in test whether a file is a modulefile or not
2024-08-13 16:32:07 +02:00
gsell
d63c9c15dd
modulecmd: function to find modules reviewed
2024-08-13 16:02:50 +02:00
gsell
4b4c51d652
modulecmd: eval output of modulecmd.bin only if not empty
2024-08-13 15:51:09 +02:00
gsell
c3bfc7a173
modulecmd: ignore relative dirs in MODULEPATH
2024-08-13 15:41:12 +02:00
gsell
09fe3894d6
modulecmd: set group depth to 0 for modules outside the hierarchy
2024-08-13 15:22:33 +02:00
gsell
0b09acf3ec
modulecmd: bugfix in handling overlays
2024-08-13 14:00:50 +02:00
gsell
27793f1b70
modulecmd: alias 'spider' added to search sub-cmd
2024-08-12 16:40:58 +02:00
gsell
93e0f6b1e7
modulecmd: print help if modulecmd is called without args
2024-08-12 16:35:42 +02:00
gsell
d1ddbf5f07
modulecmd: bugfix: wrong quoting in sub-cmd search
2024-08-12 16:30:15 +02:00
gsell
36a522c152
modulecmd: Lua support for all sub-commands
2024-07-30 17:08:36 +02:00
gsell
9d4380a6f6
modulecmd: sub-command search fixed
2024-07-30 17:04:46 +02:00
gsell
327117500a
modulecmd: references to undefined variables fixed
2024-07-30 15:47:26 +02:00
gsell
0a1d81946b
modulecmd & build-system: code review with shellcheck
2024-07-24 16:53:13 +02:00
gsell
b908a13ddb
modulecmd: set -u commented out
2024-07-16 11:10:33 +02:00
gsell
e51244ed0b
modulecmd: module search over all dirs in MODULEPATH outside hierarchy
2024-07-12 17:24:11 +02:00
gsell
3841f9d0db
modulecmd: don't show directory of modulefiles
...
Don't show the full modulefile name for modules outside the Pmodules
hierarchy.
2024-07-12 15:59:46 +02:00
gsell
c5d2f47afa
modulecmd: don't show extension of Lua modulefiles
2024-07-12 14:32:14 +02:00
gsell
926289a375
modulecmd: treat unset variables as error and pipefail set
2024-07-12 14:11:19 +02:00
gsell
c2bc123132
modulecmd: using unset variables fixed
2024-07-12 11:40:09 +02:00
gsell
45df61cc9c
modulecmd: loading multiple modules fixed
2024-07-12 11:18:17 +02:00
gsell
03caddd42d
modulecmd: swap meaning of option --debug and --verbose
2024-06-13 14:59:43 +02:00
gsell
f8e45fdc81
modulecmd: bugfixes in collection sub-commands
2024-05-24 20:26:23 +02:00
gsell
6498e60b58
modulecmd: bugixes in the implementation of collection sub-cmds
2024-05-02 15:57:26 +02:00
gsell
9e3b4c8237
modulecmd: bugfix in sub-cmd 'unuse' if argument is a directory
2024-05-02 15:50:52 +02:00