gsell
ac312040da
build-system: install Pmodules files with mode 0644
...
Running the command 'install -m 0444 ...' causes problems on SElinux
enabled systems. Updating the context failed if the file is created
read-only.
2021-12-10 10:37:06 +01:00
gsell
c2bf13ac3e
Pmodules version set to 1.1.5
2021-12-10 10:21:26 +01:00
gsell
8cde81ff39
moduecmd: fixes and review of the functions use() and unuse()
...
- Overlay can be loaded by name and directory.
- The 'overlay' keyword has been removed
- fixes
2021-12-09 18:06:44 +01:00
gsell
62e7cd2e0a
modulecmd: simplify code in removing replacing overlays
2021-12-09 18:04:51 +01:00
gsell
8237e61ab2
modulecmd: restrict removing overlays to top on stack
2021-12-09 18:02:40 +01:00
gsell
3d4df78def
modulecmd: use_group() fix bug with replacing overlays
2021-12-09 18:00:53 +01:00
gsell
2b16e82bf8
modulecmd: use_overlay(): missing 'fi' added
2021-12-09 17:59:46 +01:00
gsell
ec147e78be
modulecmd: exit with err mesg if (un)use_group() is called for
...
hierarchical group
2021-12-09 17:56:34 +01:00
gsell
a08078b1c1
modulecmd: bugfix in printing overlay info
...
replacing overlay weren't handled correct
2021-12-09 17:54:23 +01:00
gsell
4bc94c519c
modulecmd: use_overlay() improve code for overlays of type replacing
2021-12-09 17:52:09 +01:00
gsell
363b6d4353
modulecmd: bugfix in use_overlay(), typo in variable name
2021-12-09 17:49:58 +01:00
gsell
f0f6e6bd0a
modulecmd: simpler test whether a overlay can be loaded or unloaded
2021-12-09 17:47:16 +01:00
gsell
941fa376a9
modulecmd: addind modifying some comments
2021-12-09 17:26:31 +01:00
gsell
9b0ddcce3d
libstd.bash: prepend_path(), remove_path() except multipe dirs now
2021-12-09 17:20:47 +01:00
gsell
9710e506bd
modulecmd: loading and unloading overlays reviewed
2021-12-09 00:15:52 +01:00
gsell
d121c73a94
versions.conf: set Pmodules version to 1.1.4
2021-12-09 00:14:26 +01:00
gsell
21e188d271
modulecmd: load/unload overlays by name (without overlay=)
1.1.3
2021-12-07 18:25:08 +01:00
gsell
22e5c682ac
modulecmd: loading and unloading overlays by name
2021-12-07 17:40:54 +01:00
gsell
7acd70d2df
modbuild: bugfixes in get_overlay_name_and_dir()
2021-12-07 17:38:20 +01:00
gsell
de118b20f4
bugfix in libmodules.tcl
2021-12-07 17:36:51 +01:00
gsell
1e5102d238
modulecmd: bugfix in listing available modules
...
There was a bug in hidding overlays. In this type of overlay a module
hides all modules with the same name in overlays loaded before. This
didn't work if the module was unstable or deprecated.
2021-12-07 13:31:15 +01:00
gsell
de01903242
modulecmd: missing definition of Dir2OverlayMap fixed
2021-12-07 13:30:21 +01:00
gsell
ca2da5b90e
user configurable overlay configuration files
...
The following overlay configuration files are read:
1. The file defined in the environment variable PMODULES_OVERLAY_CONF
if set.
2. ${HOME}/.Pmodules/overlays.conf
3. ${PMODULES_ROOT}/config/overlays.conf
2021-12-07 13:25:51 +01:00
gsell
5101847bda
Tcl build-script: update download URL
2021-12-07 13:24:29 +01:00
gsell
ead70119c0
versions.conf: use new versions for bash and Tcl and cleanup
...
- use bash 5.1.8
- use Tcl 8.6.12
- coreutils and gettext removed
2021-12-07 13:22:08 +01:00
gsell
56a70e5863
modulefiles: Pmodules extensions for modules not in an overlay
...
The Pmodules functions module-whatis, module-url, module-maintainer
etc can now be used in modulefiles which are not in an overlay
2021-12-07 13:15:39 +01:00
gsell
3638af38a0
Merge branch 'master' into 32-overlay-implementation
2021-12-06 15:04:46 +01:00
gsell
fac5b212d5
Merge branch 'master' into 32-overlay-implementation
2021-12-06 15:03:49 +01:00
gsell
99ac10e907
Merge branch '152-don-t-set-path-in-modulecmd' into 'master'
...
Resolve "don't set PATH in modulecmd"
Closes #152
See merge request Pmodules/src!122
1.0.0rc10
2021-12-06 14:03:18 +00:00
gsell
68357e0167
modulecmd: do not set PATH
2021-12-06 15:02:46 +01:00
gsell
b082bfcaf4
build-system: fix case in hierarchical group name 'HDF5_serial'
...
the name of the hierarchical group for modules compiled
with a serial HDF5 is HDF5_serial not HDF5_SERIAL
2021-12-06 14:30:34 +01:00
gsell
804027426d
modulecmd: adapt/use functions in libpmodules.bash
2021-11-16 18:41:28 +01:00
gsell
e0841ff7e8
Merge branch 'master' into 32-overlay-implementation
...
Conflicts:
Pmodules/modulecmd.bash.in
2021-11-15 10:13:38 +01:00
gsell
bb0f40f59c
Merge branch '149-modmanage-implement-a-search-sub-cmd' into 'master'
...
Resolve "modmanage: implement a 'search' sub-cmd"
Closes #149
See merge request Pmodules/src!120
2021-11-12 10:21:30 +00:00
gsell
58fcd79f9a
modmange: search sub-c,d implemented
2021-11-12 11:20:28 +01:00
gsell
db11e7e2a7
Merge branch '148-modmanage-code-cleanup-and-polishing' into 'master'
...
Resolve "modmanage: code cleanup and polishing"
Closes #148
See merge request Pmodules/src!119
2021-11-12 10:16:38 +00:00
gsell
56b4a05b94
modmanage: code cleanup, polishing and optimization
...
- sync_config() moved into subcommand_init()
- options '-y' and '--yes' added as synonym for '--force'
- print environment source and target sub-cmd 'init'
- building the group mapping optimized
- improved readability of output in sub-cmd 'install'
2021-11-12 11:09:19 +01:00
gsell
a827314391
Merge branch '147-modmanage-set-program-name-in-getopt' into 'master'
...
Resolve "modmanage: set program name in getopt"
Closes #147
See merge request Pmodules/src!118
2021-11-12 09:56:51 +00:00
gsell
0c6fbc635c
modmanage: use 'modmanage' as name with getopt
2021-11-12 10:55:29 +01:00
gsell
a8773ce27f
Merge branch '146-modulecmd-bug-in-handling-options-in-sub-cmd-search' into 'master'
...
Resolve "modulecmd: bug in handling options in sub-cmd search"
Closes #146
See merge request Pmodules/src!117
2021-11-11 18:33:15 +00:00
gsell
0a4d68d015
modulecmd: handling od option --all-release-stages fixed
2021-11-11 19:32:00 +01:00
gsell
ba93bb2a66
Merge branch '134-fix-bugs-in-modmanage' into 'master'
...
Resolve "fix bugs in modmanage"
Closes #134
See merge request Pmodules/src!103
2021-11-10 17:08:35 +00:00
gsell
121a9c26c0
Merge branch 'master' into 134-fix-bugs-in-modmanage
2021-11-10 18:06:39 +01:00
gsell
49d7c03e2d
Merge branch '145-modulecmd-bash-remove-case-statement-added-by-accident' into 'master'
...
Resolve "modulecmd.bash: remove case statement added by accident"
Closes #145
See merge request Pmodules/src!116
2021-11-10 17:05:14 +00:00
gsell
99d979677b
modulecmd.bash: case statement added by accident removed
2021-11-10 18:04:05 +01:00
gsell
a0b9dc7ba3
modmanage.bash: reviewed, lot of modifications and fixes
2021-11-10 17:58:06 +01:00
gsell
283167fad7
build: install libpmodules.bash.in
2021-11-10 17:55:58 +01:00
gsell
ea64c2bbf8
modmange: execute modmanage.bash relative to own path
2021-11-10 17:53:56 +01:00
gsell
9765a4c0ff
libstd.bash: std::split_path() added
2021-11-10 17:52:48 +01:00
gsell
26e7d0f24f
libpmodules.bash: default value assigned to PMODULES_CONFIG_DIR
2021-11-10 17:51:46 +01:00