Commit Graph
400 Commits
Author SHA1 Message Date
gsell a9fccf7aef Merge branch '346-modulecmd-make-sure-loadedmodules-_lmfiles_-and-pmodules_home-are-defined' into 'master'
Resolve "modulecmd: make sure LOADEDMODULES, _LMFILES_ and PMODULES_HOME are defined"

Closes #346

See merge request Pmodules/src!334

(cherry picked from commit 98f7d6b06e)

4b676a5b modulecmd: redefine LOADEDMODULES, _LMFILE_, PMODULES_HOME if undef

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-29 15:17:15 +02:00
gsell 8ba670e7a4 modulecmd: define LOADEDMODULES and PMODULES_HOME if undef 2024-08-28 15:23:44 +02:00
gsell f6ea0bd3a6 Merge branch '339-modulecmd-loading-lmod-files-as-dependencies-of-a-tcl-modulefile' into 'master'
Resolve "modulecmd: loading Lmod files as dependencies of a Tcl modulefile"

Closes #339

See merge request Pmodules/src!318

(cherry picked from commit af82391ef0)

dd14f9d3 modulecmd: loading Lmod modulefiles as deps of Tcl modulefile fixed

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-23 13:39:36 +02:00
gsell 069b67d0fa Merge branch '338-modulecmd-read-dependencies-file-from-same-directory-as-modulefile' into 'master'
Resolve "modulecmd: read dependencies file from same directory as modulefile"

Closes #338

See merge request Pmodules/src!317

(cherry picked from commit 25c9525f3f)

cfc844bc modulecmd: read dependencies from file in same directory as modulefile

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-23 13:38:46 +02:00
gsell bb4b93e16c Merge branch '337-modulecmd-use-of-wrong-shell-in-sub-cmd-unload' into 'master'
Resolve "modulecmd: use of wrong shell in sub-cmd unload"

Closes #337

See merge request Pmodules/src!316

(cherry picked from commit c99e10d180)

35081f59 modulecmd: bugfix: use of wrong shell in sub-cmd unload

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-23 13:36:31 +02:00
gsell 1f82ab9deb Merge branch '334-modulecmd-un-using-a-group-is-broken' into 'master'
Resolve "modulecmd: un-using a group is broken"

Closes #334

See merge request Pmodules/src!313

(cherry picked from commit 8500068473)

d639c08b modulecmd: bugfix in un-using a group

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-23 13:33:36 +02:00
gsell da3d5ecd98 Merge branch '333-modulecmd-module-use-group-adds-directories-of-overlays-in-wrong-order' into 'master'
Resolve "modulecmd: 'module use GROUP' adds directories of overlays in wrong order"

Closes #333

See merge request Pmodules/src!312

(cherry picked from commit ea28d5c0fd)

84f3ab67 modulecmd: fix order of dirs in MODULEPATH

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-23 13:32:14 +02:00
gsell 9f9042440d Merge branch '332-modulecmd-use-of-unset-variable-in-sub-cmd-unuse' into 'master'
Resolve "modulecmd: use of unset variable in sub-cmd unuse"

Closes #332

See merge request Pmodules/src!311

(cherry picked from commit 59c116b70b)

fefe313d modulecmd: use of unset variable fixed

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-23 13:31:14 +02:00
gsell b3cfe9c4ea Merge branch '331-modulecmd-lmod-removes-directories-from-modulepath' into 'master'
Resolve "modulecmd: Lmod removes directories from MODULEPATH"

Closes #331

See merge request Pmodules/src!310

(cherry picked from commit 10c6922f8a)

889aafd2 modulecmd: re-add directory to MODULEPATH removed by Lmod

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-23 13:29:03 +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
gsell dab07c8a07 modulecmd: bugfix in testing tty 2024-04-17 14:54:51 +02:00
gsell 4925158aa2 modulecmd: don't abbreviate output of search command.
The output of the search command shouldn't be abbreviated if not
running in a terminal.
2024-04-16 14:56:21 +02:00
gsell fab058ac37 modulecmd: output of load hints fixed 2024-03-22 15:41:27 +01:00
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