gsell
49826b60ec
libpbuild: bugfix: ol_dir replaced by ol_mod_root
2022-06-22 22:21:40 +02:00
gsell
6401d2e1f7
modbuild: bugfix in decision with to use legacy or YAML variants file
2022-06-22 22:19:51 +02:00
gsell
ac318f2e83
function read_config_file moved from libpbuild.bash to build
2022-06-22 22:17:19 +02:00
gsell
9ff2289116
cleanup unused packages: coreutils and gettext
2022-06-22 22:15:36 +02:00
gsell
d916dd1dfe
refactor: ol_dir -> ol_mod_root and ol_install_dir -> ol_inst_root
2022-06-13 11:11:28 +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
ae56b59ef5
modbuild: new key 'with' to specify hierarchical dependencies
2022-06-13 10:23:58 +02:00
gsell
27018d9be0
libstd.bash: redirect output of 'which lsb_release' to /dev/null
...
lsb_release might not be installed!
2022-06-13 10:14:36 +02:00
gsell
67df5ba324
modbuild: don't exit on error
...
there are some issues if exit on error (set -o errexit) is set:
A statement like
var=$(cmd)
causes the program to terminate, if 'cmd' exit with an exit code > 0.
Using
var=$(cmd || :)
cannot be used in all cases because $? will be 0 even if 'cmd' exits
with an error.
2022-06-13 10:06:28 +02:00
gsell
9991dda16c
modulecmd: bugfix in module-addgroup
...
the modulefiles root is now in the array OverlayInfo
2022-06-13 10:04:20 +02:00
gsell
4ac251341c
CHANGELOG updated
2022-06-09 14:49:33 +02:00
gsell
d5ab3dd209
modulecmd: add overlay info to output of sub-command 'search'
2022-06-09 14:48:39 +02:00
gsell
1c39e8ded0
modulecmd: bugfix in initialising src_prefix in sub-cmd search
2022-06-09 14:46:27 +02:00
gsell
36453ff20a
modulecmd: some comments added
2022-06-09 14:45:54 +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
38b265af02
modulecmd: bugfix if MODULEPATH starts or ends with a colon
2022-06-09 14:36:47 +02:00
gsell
07fcd427d5
modbuild: option added to set/override overlay
2022-06-09 14:30:55 +02:00
gsell
80a050e7fa
modbuild: can now be called without specifying a build-script
...
if no build-script has been specified, a file with the name 'build'
must exist in the current directory.
2022-06-09 14:24:16 +02:00
gsell
5337160b7a
modbuild: test for bash 5 or later, otherwise abort
2022-06-09 14:21:15 +02:00
gsell
e52a03ff14
modbuild: cleanup code for debugging
2022-06-09 14:19:10 +02:00
gsell
a8e5f8bf22
modbuild: fixed bug in setting PATH
...
obsolete variable PMODULES_DIR was still used
2022-06-09 14:15:21 +02:00
gsell
cede8559a6
modbuild: abort build on error
...
errors in the build-steps have been ignored
2022-06-09 14:06:02 +02:00
gsell
3c434c48f7
modulecmd: bugfix in module-addgroup()
...
Type of overlay is now stored with key 'overlay_name:type'.
The old method was still used.
2022-06-09 12:03:54 +02:00
gsell
38cd9b1583
modulefile: shell init file must be sourced while loading
2022-06-09 11:59:09 +02:00
gsell
5e01557aad
modbuild: is now defined as function analog to module()
2022-06-09 10:42:43 +02:00
gsell
aa8fcd7a8a
modbuild: is now defined as function analog to module()
2022-06-09 10:32:05 +02:00
gsell
b53c737907
libpbuild.bash: UTF encode space replaced with ASCII space char
2022-06-07 17:33:31 +02:00
gsell
3e1d802012
modubuild: error exit if overlay does not exist
...
If an overlay is requested in an variants file which does not exist,
print a message and exit with exit code > 0
2022-06-07 17:30:43 +02:00
gsell
436cbcf1ee
modbuild: type fixed in message "No YAML variants file found"
2022-06-07 17:29:29 +02:00
gsell
cae2a10b4e
modbuild: bugfix in build_modules_yaml()
...
- quering dependencies fixed
2022-06-07 15:46:05 +02:00
gsell
81486a0606
Pmodules version bumped to 1.1.9
2022-06-07 15:45:09 +02:00
gsell
184ceb73d5
Changelog for version 1.1.8 added
1.1.8
2022-06-07 11:55:58 +02:00
gsell
71671f9ff3
always add Pmodules libexec dir to search path to find and set binaries
2022-06-07 09:49:11 +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
944c1ab558
libstd.bash: upvar replaced with reference variables
2022-05-24 11:17:12 +02:00
gsell
bd0efa648b
libstd.bash: use reference variable in std:prepend_path() not upvar
2022-05-24 10:13:19 +02:00
gsell
25c302d91c
modulecmd: PMODULES_ENV initialisation fixed
...
PMODULES_ENV must be initialised before modulecmd.bin is called
2022-05-24 10:10:20 +02:00
gsell
7d9fe02b39
YAML configurarion file added
2022-05-23 23:51:36 +02:00
gsell
c4592a5c32
modbuild: support for YAML variant files and splitted overlays
2022-05-23 23:50:35 +02:00
gsell
2e131c1f2a
definition of overlay types moved to libpmodule.bash
2022-05-23 23:49:21 +02:00
gsell
454ae6ec15
modulecmd: bugfix in listing unused overlays
2022-05-23 23:48:14 +02:00
gsell
d371fc78ab
shopt errexit disabled
2022-05-23 23:47:28 +02:00
gsell
9c304009c3
module use: output of overlay info improved
2022-05-18 10:24:21 +02:00
gsell
94e7c72a14
MODULEPATH initialisation issue fixed
2022-05-18 10:23:31 +02:00
gsell
9a47e7b511
define yq as env. variable
2022-05-17 19:12:51 +02:00
gsell
25152acb5e
zsh init fixed
2022-05-17 19:01: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
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