Commit Graph

32 Commits

Author SHA1 Message Date
gsell ac33def277 build-system: YAM anchors are now supported 2024-11-28 14:01:06 +01:00
gsell 9b996bb1bc build-system: set Pmodules system config file with env. variable 2024-11-28 13:54:03 +01:00
gsell f828c728ad modulecmd: create missing directories for overlays
Print error message if the directory cannot be created.
2024-08-16 13:02:00 +02:00
gsell e272a092eb modulecmd: bugfix: overlay were listed twice 2024-08-14 14:57:35 +02:00
gsell 2653bb86b3 modulecmd: additional directories in overlays 2024-08-14 14:28:11 +02:00
gsell 09fe3894d6 modulecmd: set group depth to 0 for modules outside the hierarchy 2024-08-13 15:22:33 +02:00
gsell bea9ae8231 bugfix in reading overlay configuration 2024-08-09 21:40:42 +02:00
gsell 0a1d81946b modulecmd & build-system: code review with shellcheck 2024-07-24 16:53:13 +02: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 077f7d25d9 eval of yq output replaced with envsubs(1) 2023-07-03 18:33:03 +02:00
gsell 4ed646ccbd modulecmd: system collections implemented 2023-06-21 14:02:06 +02:00
gsell e55684dd86 modulecmd: version info changed, now it is understood by easybuild 2023-05-12 16:46:04 +02:00
gsell 81265f6124 set PMODULES_VERSION in libpmodules.bash
(cherry picked from commit da0af7f65a)
2023-02-10 14:11:15 +00:00
gsell 4e2150b6d7 libpmodules: create directory in compute_group_depth() if missing 2022-07-15 18:10:58 +02:00
gsell d9a1771838 modulecmd/libpmodules: bugfixes in scaning group depths 2022-06-30 18:23:20 +02:00
gsell d408a73d89 modulecmd/libpmodules.bash: interface of compute_group_depth() changed
retrun result in a reference variable
2022-06-30 10:44:56 +02:00
gsell 44e5edeebb modulecmd: reading the YAML config files reviewed 2022-06-30 10:43:10 +02:00
gsell 8c247f673a code cleanup
there is one important change:
The keys in Dir2OverlayMap are now the modulefiles root + group name.
Example: New '/opt/psi/Tools', old '/opt/psi/Tools/modulefiles'
2022-06-13 11:06:37 +02:00
gsell 047e7161b5 modulecmd: initialise Dir2OverlayMap for all available groups
till now Dir2OverlayMap was only initialise for used groups. This is
not sufficient, if a module outside the used groups is loaded via
module load group:name.
2022-06-09 14:41:22 +02:00
gsell 1f7e9340e4 default values for overlays changed
- install_root is now mandatory
- if modulefiles_root is not specified it defaults to install_root
2022-06-07 09:47:10 +02:00
gsell 1c98c12684 some varibales renamed
- OverlayList -> UsedOverlays
- OverlayDict -> OverlayInfo
2022-05-24 11:52:35 +02:00
gsell 2e131c1f2a definition of overlay types moved to libpmodule.bash 2022-05-23 23:49:21 +02:00
gsell 9a47e7b511 define yq as env. variable 2022-05-17 19:12:51 +02:00
gsell 32b2687936 YAML config files, more flexible overlays
- modulefiles must not any more in the same root directory as
  the software installation
2022-05-17 14:25:11 +02:00
gsell 0b43ed2280 derive PMODULES_ROOT from PMODULES_HOME 2022-05-13 11:32:35 +02:00
gsell 4503c5ef0c implementing new config file format 2022-04-06 09:36:17 +02:00
gsell 917af785ab libpmodules: function to get info about overlays reviewed 2022-02-18 14:07:52 +01:00
gsell 854a6dc3fc libpmodules.bash: functions added
The following function have been added:
- get_overlay_info()
- get_available_overlays()
2021-12-16 18:51:19 +01:00
gsell 804027426d modulecmd: adapt/use functions in libpmodules.bash 2021-11-16 18:41:28 +01:00
gsell 26e7d0f24f libpmodules.bash: default value assigned to PMODULES_CONFIG_DIR 2021-11-10 17:51:46 +01:00
gsell 98ce3112ee review libpmodules.bash, new functions added, cleanup 2021-11-08 14:13:55 +01:00
gsell d1a66d5e6f libpmodules.bash reviewed
- cleanup code in lib
- function we need in modmanage moved to lib
- some cleanup in modulecmd
2021-11-08 14:05:05 +01:00