Commit Graph

856 Commits

Author SHA1 Message Date
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 47165af6dc YAML config file added 2022-05-13 11:35:20 +02:00
gsell 0b43ed2280 derive PMODULES_ROOT from PMODULES_HOME 2022-05-13 11:32:35 +02:00
gsell 1edda11174 build: read config from YAML file, PMODULES_ROOT replaced 2022-05-13 11:30:26 +02:00
gsell 5fac2bc7f7 garbage removed 2022-05-13 11:25:43 +02:00
gsell 14e305cfca overlay definitions are now in Pmodules.yaml 2022-05-13 11:24:42 +02:00
gsell 0d7607735b libstd.bash: function std::parse_yaml added 2022-05-13 11:23:34 +02:00
gsell 4503c5ef0c implementing new config file format 2022-04-06 09:36:17 +02:00
gsell 3ec952dbc5 modbuild: revert change which made --overlay a synonym of --system 2022-04-06 09:29:24 +02:00
gsell e040142e51 build: install yq, use YAML for configuration file
- Pmodules.conf renamed to Pmodules.yaml
2022-04-06 08:58:34 +02:00
gsell 1cd725e8e5 yq for Linux renamed 2022-04-06 08:57:01 +02:00
gsell 51010fa614 yq for macOS added 2022-04-06 08:56:02 +02:00
gsell e2385ac368 modulecmd: on Linux base64 always wraps long line, fixed for Linux 2022-04-05 17:05:53 +02:00
gsell 078653c6c7 modulecmd: unsetting aliases fixed 2022-04-05 15:43:39 +02:00
gsell e8f9e3476a modulecmd: set <PackageName>_ROOT 2022-04-05 15:42:26 +02:00
gsell 7c88678fa2 ignore file updated 2022-03-03 09:32:04 +01:00
gsell 314bb94f1f modulecmd: typos in output fixed 2022-03-02 09:25:12 +01:00
gsell ca59c2a24d modulecmd: base64 can be called without --wrap
- base64 on macOS does not support the option --wrap. Since we running
  it in a sub-process, the option is not required anyway.
2022-03-02 09:20:04 +01:00
gsell 4617b1ff39 modulecmd: search path fixed for macOS
- Pmodules libexec directory must be prepended - not appended
2022-03-02 09:17:16 +01:00
gsell b4e7044d4c build-script: make libpmodules.bash available 2022-03-01 14:16:28 +01:00
gsell d4759ff98e Pmodules version set to 1.1.8, use findutils 4.9.0 2022-03-01 12:07:03 +01:00
gsell a1fb4a8f43 Changelog updated 1.1.7 2022-02-18 15:54:08 +01:00
gsell 6cc92f2d97 modbuild: fixes 2022-02-18 14:38:54 +01:00
gsell 917af785ab libpmodules: function to get info about overlays reviewed 2022-02-18 14:07:52 +01:00
gsell 18dae1f6df modulecmd: improved output of available overlays in sub-cmd use 2022-02-18 13:08:13 +01:00
gsell e2756ed9c2 version set to 1.1.7 2022-02-18 12:49:18 +01:00
gsell 955902815f Merge branch 'master' into 32-overlay-implementation 2022-01-18 18:35:05 +01:00
gsell dde25e8116 modbuild: support for YAML formated variant files 2022-01-18 18:04:37 +01:00
gsell 045450f96e YAML query tool added 2022-01-18 18:03:49 +01:00
gsell 1ca5be0950 use bash 5.1.16 2022-01-18 18:03:18 +01:00
gsell ec8b0c41b0 Pmodules version set to 1.1.6 1.1.6 2022-01-18 18:02:51 +01:00
gsell dfca6fc2c9 modulecmd: bugfix in find_module()
The result of the find command was stored as string not as bash array.
1.1.5
2022-01-18 17:51:33 +01:00
gsell a31485551b Merge branch 'gsell-master-patch-03650' into 'master'
Update CHANGELOG.md

See merge request Pmodules/src!127
2021-12-17 12:48:02 +00:00
gsell c7b8e11dff Update CHANGELOG.md 2021-12-17 12:47:50 +00:00
gsell bee35b63a1 Merge branch 'gsell-master-patch-62201' into 'master'
Update CHANGELOG.md

See merge request Pmodules/src!126
2021-12-17 12:31:12 +00:00
gsell 3febbe35de Update CHANGELOG.md 2021-12-17 12:30:54 +00:00
gsell 7c12c6e77e modulecmd.bash: improved output of loaded and available overlays 2021-12-16 18:57:23 +01:00
gsell 20f01d1589 libmodules.bash: get_overlay_info() moved to libpmodules.bash 2021-12-16 18:55:59 +01:00
gsell 22672b9a95 modulecmd: bugfix in getting available modules 2021-12-16 18:55:05 +01:00
gsell 8c9e20ef71 modulecmd: normalize paths by replacing multiple slashes with one
A trailing slash is also removed.
2021-12-16 18:53:40 +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 ddbbdf9be8 build-system: prefix for modulefiles can differ from install prefix 2021-12-16 18:39:14 +01:00
gsell 37e52a0f31 libmodules.tcl: prefix for modulefiles can differ from install prefix
modulefiles and the prefix for software installation can now be in
different directories.
2021-12-16 18:33:44 +01:00
gsell 816dfa9839 libmodules.tcl: refactor variable names in _find_overlay 2021-12-16 18:30:39 +01:00
gsell 6e1107852a libmodule.tcl: debug statement in module-addgroup removed 2021-12-16 18:28:52 +01:00
gsell 43831c4660 libmodules.tcl: handle new format of OverlayDict 2021-12-13 09:37:58 +01:00
gsell 7983a03221 modulecmd: bugfix in unloading overlay 2021-12-13 09:36:47 +01:00
gsell 2b3696f070 modulecmd: bugfix in get_overlay_info() 2021-12-13 09:36:06 +01:00
gsell dce6d0058f modulecmd: made get_module_prefix() global 2021-12-13 09:35:15 +01:00
gsell 225dd774ef modulecmd: save overlay type and prefix in OverlayDict 2021-12-10 14:13:47 +01:00