Commit Graph

459 Commits

Author SHA1 Message Date
gsell a68763c365 modulecmd: bugfix in unloading a versioned module by name. 2026-02-04 17:05:13 +01:00
gsell c6ea07e6ad modulecmd: use of unset variable fixed in find_modulefile() 2026-01-29 16:55:54 +01:00
gsell ff730bc852 modulecmd: bugfix in find_overlay()
While fixing #1344 we introduced a new bug in the function find_overlay().
2025-12-18 14:32:53 +01:00
gsell e89a4c39c8 modulecmd: issue with Lmod spider cmd fixed 2025-12-18 14:21:06 +01:00
gsell bd8e36c827 modulecmd: don't allow absolute path names for modules in an overlay 2025-12-15 14:02:12 +01:00
gsell acf5faa541 modulecmd: bugfix for absolute modulefile path names 2025-12-15 13:55:05 +01:00
gsell 9ea687caf3 modulecmd: bugfix in unloading modules. 2025-12-04 16:43:33 +01:00
gsell cddd618a4b build-system: pbuild::install_docfiles(): exit with error if called 2025-11-27 16:25:26 +01:00
gsell 2175a50545 modulecmd: type error fixed in subcommand_avail 2025-10-30 17:24:54 +01:00
gsell 68183c51da bugfix: link to documention in help text changed 2025-10-29 17:07:40 +01:00
gsell d217939d8a bugfix: reading /etc/os-release fixed
If the LSB tools are not installed on a Linux system, the OS is
determined by sourcing /etc/os-release. In this file a variable
VERSION is defined which is already defined and set read-only in
modulecmd.
2025-10-29 16:12:30 +01:00
gsell 9f97c0d5e7 modulecmd: bugfix in keeping track of used overlay 2025-08-04 17:03:05 +02:00
gsell 3f00511527 modulecmd: cleanup code: unused variable Dir2OverlayMap 2025-08-04 16:21:30 +02:00
gsell 1e6cfd9c74 modulecmd: missing space in definition of local variable fixed 2025-07-18 11:16:22 +02:00
gsell bd6ec0e2c6 modulecmd: output hints in help sub-command if module is unavailable 2025-07-17 17:15:22 +02:00
gsell 7ac15dc560 make sure that local variables are defined as local 2025-07-17 17:07:58 +02:00
gsell 622d4c7720 modulecmd: review code to search modules 2025-07-17 13:26:34 +02:00
gsell 7233371f98 modulecmd: review code for searching/finding available modules
The cache will be recreated only if the mtime of a modulefile
is newer than the cache.
2025-07-17 11:50:24 +02:00
gsell 78c1049c0a modulecmd: Call modulecmd, lmod and spider via a wrapper function. 2025-07-16 17:07:21 +02:00
gsell ad164276a6 modulecmd: unbound variables fixed in get_available_modules() 2025-05-28 16:26:03 +02:00
gsell c72b203e5f modulecmd: bugfix in get_available_modules()
Due to a bug in this function not all available modules were found.
2025-05-28 14:51:49 +02:00
gsell d89066bff2 modulecmd: don't print message after loading a stable module 2025-05-28 14:44:56 +02:00
gsell a08eaafa2e modulecmd: increase cache timeout to 4h 2025-05-28 14:40:42 +02:00
gsell 41a361aaab modulecmd: sub-cmds whatis and apropos fixed 2025-05-13 18:17:39 +02:00
gsell 345fb5ab21 modulecmd: fix module search for Lmod hierarchical modules 2025-05-13 18:13:46 +02:00
gsell c899c16a0c modulecmd: initialize MANPATH if not set 2025-05-13 18:03:57 +02:00
gsell c130603322 modulecmd: reverse sort output of avail and search only if pattern is not the empty string 2025-04-09 17:01:38 +02:00
gsell d2556b373f modulecmd: bugfix Lmod modules couldn'd be loaded 2025-04-09 16:53:38 +02:00
gsell bdd7963a13 modulecmd: print more verbose deprecated message 2025-04-09 16:46:47 +02:00
gsell a3cd779fd6 modulecmd: bugfix: smb-cmds 'avail' and 'search' are case insensitive 2025-03-24 17:44:17 +01:00
gsell eb51f231be modulecmd: fixes/review sub-cmd 'purge' 2025-03-24 17:39:12 +01:00
gsell 25d923e988 modulecmd: get_available_modules() and find_modulefile() reviewed 2025-03-21 14:08:11 +01:00
gsell 78a9005d15 modulecmd: type in call to find_modulefile() fixed 2025-03-21 14:06:55 +01:00
gsell c022e146de modulecmd: cleanup some code 2025-03-21 14:06:14 +01:00
gsell 26a129fe62 modulecmd: caption text in 'module avail' fixed 2025-03-21 13:57:31 +01:00
gsell 91df1635bf modulecmd: comments added/reviewed; break some long lines 2025-03-21 13:46:58 +01:00
gsell ea471fb57a modulecmd: caption in output of 'module avail' fixed 2025-03-21 13:44:26 +01:00
gsell 996667e4d6 modulecmd: review/rewrite code to get available modules 2025-03-20 17:36:06 +01:00
gsell f9aa82ca0a modulecmd: bugfixes in use_group() and unuse_group() 2025-03-14 17:30:12 +01:00
gsell ef0dfb0662 modulecmd: re-init Pmodules env with sub-cmd purge 2025-03-14 17:17:47 +01:00
gsell 40411f2d92 modulecmd: don't export SystemCPU and OSrelease in PMODULES_ENV 2025-03-14 17:08:28 +01:00
gsell d2fd5f3cb1 modulecmd: error in defining doc-sring in pmodules_setup() fixed 2025-03-14 17:03:43 +01:00
gsell 10ffe41db1 modulecmd: use/unuse group while loading an overlay 2025-03-14 16:57:40 +01:00
gsell 05525fd25b modulecmd: main reviewed plus some minor changes 2025-03-06 14:49:29 +01:00
gsell 4280bd2b84 modulecmd: print correct release stage for Spack modules 2025-03-06 14:45:17 +01:00
gsell 9f5313e457 modulecmd: review code to handle extended module names in sub-cmd load 2025-03-06 14:35:06 +01:00
gsell 8e3a4c11d3 modulecmd: fatal error messages reviewed 2025-03-06 14:27:54 +01:00
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