Commit Graph

399 Commits

Author SHA1 Message Date
gsell 69dfe514e1 libmodules.tcl: add more dirs to search path of pkgconfig and CMake 2022-11-09 17:14:19 +01:00
gsell 1f7bebcef2 modbuild: exit if no suitable variants file could be found 2022-11-03 14:28:50 +01:00
gsell f17a66bd2c modulecmd: sub-cmds whatis and keyword fixed 2022-10-26 18:25:12 +02:00
gsell b7da791922 Springdale added as RHEL clone 2022-10-26 15:15:33 +02:00
gsell 45a6c0530a init/csh: undefined DefaultGroups error fixed 2022-04-06 17:30:39 +02:00
gsell a209d7f335 revert changes to set <PackageName>_ROOT 2022-04-05 18:32:15 +02:00
gsell 13b3dbcfd8 modulefile: some comment added 2022-04-05 17:57:26 +02:00
gsell 5a739a0a8f modulefile: don't set default env.variable PMODULES_ROOT 2022-04-05 17:54:23 +02:00
gsell ba0e6a7ce0 modulecmd: unsetting aliases in sub-command 'purge' fixed 2022-04-05 17:48:51 +02:00
gsell 7c500b7bf3 modulecmd: unsetting aliases fixed 2022-04-05 14:45:56 +02:00
gsell 184397caa8 modulecmd: set <PackageName>_ROOT 2022-04-05 10:06:39 +02: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 58fcd79f9a modmange: search sub-c,d implemented 2021-11-12 11:20:28 +01: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 0c6fbc635c modmanage: use 'modmanage' as name with getopt 2021-11-12 10:55:29 +01:00
gsell 0a4d68d015 modulecmd: handling od option --all-release-stages fixed 2021-11-11 19:32:00 +01:00
gsell 121a9c26c0 Merge branch 'master' into 134-fix-bugs-in-modmanage 2021-11-10 18:06:39 +01: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 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
gsell 9dc4df7987 Merge branch 'master' into 134-fix-bugs-in-modmanage 2021-11-08 16:53:31 +01:00
gsell f6fe194e40 modmanage: review with lot of changes 2021-11-08 16:51:24 +01:00
gsell 5815bc5201 modulecmd: shell glob pattern search implemented 2021-11-08 14:43:46 +01:00
gsell 5f81fe32e9 modulecmd: bugfix in saving state to PMODULES_ENV 2021-11-08 14:40:35 +01:00
gsell a7678bad10 Merge branch '139-review-fix-argument-handling-in-modulecmd' into 'master'
Resolve "review/fix argument handling in modulecmd"

Closes #139

See merge request Pmodules/src!109
2021-11-08 13:33:14 +00:00
gsell 1204517a99 modulecmd: cmd-line arguments and handling reviewed 2021-11-08 14:27:12 +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
gsell a67b3cdf5f better solution to define used commands implemented 2021-11-08 13:44:54 +01:00
gsell 6d53069bed std::split_abs_path() renamed to std::split_abspath() 2021-11-08 12:25:25 +01:00
gsell 8112e8b6d4 std::split_fname(): reviewed and renamed to std::split_abs_path() 2021-11-08 12:20:17 +01:00
gsell bdc9ddf8b5 std:split_fname(): changed arguments and leading slash handling
- a leading slash is now removed
- the filename is now passed as second argument, the number of
  parts is returned in an optional third argument
2021-11-08 11:59:21 +01:00
gsell f55966a6dd Merge branch 'master' into 134-fix-bugs-in-modmanage 2021-10-29 17:31:05 +02:00
gsell ef5dd9f761 modulecmd: fixes in option and argument parsing 2021-10-29 13:54:22 +02:00
gsell 3d326a527a modulecmd: sort output of sub-command avail numerically 2021-10-29 12:05:41 +02:00
gsell 6d6609126f fixes in module search sub-command
- error fixed in printing the modulefile
- sanity checks added if --src is specified


(cherry picked from commit c22422aca9)
2021-10-28 17:12:58 +00:00
gsell 5083800958 modmanage.bash.in: fixes 2021-10-28 18:36:46 +02:00
gsell d4aaa4a137 bugfix in modmanage.in
- missing dopple-quote added
2021-10-28 18:35:48 +02:00
gsell b241031fc1 fix std::split_fname() in libstd.bash
- if path start with a leading slash, remove it, otherwise the
  first component of the splitted path is empty
2021-10-28 18:32:49 +02:00
gsell c22422aca9 fixes in module search sub-command
- error fixed in printing the modulefile
- sanity checks added if --src is specified
2021-10-28 18:20:58 +02:00
gsell 50c9b6d692 modulecmd: fix output of module avail
- for directories outside the hierarchy the header did not include the
  directory name.
2021-09-17 15:32:56 +02:00
gsell e3d8ee9780 modulecmd: bugfix in removing tmp file in _exit 2021-08-12 18:27:01 +02:00
gsell 02d1939c81 modulecmd: module sub-command --help bugs fixed 2021-08-12 18:14:37 +02:00
gsell 6ceb76e8fb bash_completion: sub-commands dependencies and sync removed 2021-08-12 18:12:13 +02:00
gsell 4f625ed86b libstd.bash: fix in std.get_os_release_linux() for current CentOS 2021-07-20 15:54:21 +02:00
gsell 2d12850de0 libpbuild.bash: bugfix in version compare functions 2021-07-20 15:44:46 +02:00
gsell d4132018d1 modulecmd: do not source Pmodules.conf if PMODULES_ENV exist
- if PMODULES_ENV is set but DefaultGroups, DefaultReleaseStages or
  ReleaseStages is not set in PMODULES_ENV, the the default defined in
  modulecmd is used
2021-06-09 10:01:47 +02:00