Commit Graph
789 Commits
Author SHA1 Message Date
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 6093d858ef modbuild: some comments added/modified 2021-08-23 14:46:48 +02:00
gsell ce897c1f1d Merge branch 'master' into 32-overlay-implementation 2021-08-13 10:22:27 +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 20d6a61106 Merge branch 'master' into 32-overlay-implementation 2021-07-20 16:13:03 +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 7a721b859b libpbuild.bash: bugfix in version cmp 2021-06-23 09:33:12 +02:00
gsell 3ca2ddc69e Merge branch 'master' into 32-overlay-implementation 2021-06-09 10:08:13 +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
gsell 4ef135c6ab modulecmd: soure Pmodules.conf only if exist and readable 2021-06-09 10:01:13 +02:00
gsell 12a5fcd872 modulecmd: fix in 'unuse' help text 2021-06-09 10:00:34 +02:00
gsell 49aa32f4df modulecmd: set defaults for DefaultGroups, etc
- defaults are set for DefaultsGroups, DefaultReleaseStages and ReleaseStages
2021-06-09 09:58:47 +02:00
gsell 20a2c0376e modulecmd: fixed refactored function name 2021-06-08 10:02:34 +02:00
gsell 586493f69f libmodules.tcl: missing curly bracket fixed 2021-06-08 10:01:14 +02:00
gsell 09a9ebbbb7 Merge branch 'master' into 32-overlay-implementation
Conflicts:
	Pmodules/modulecmd.bash.in
2021-06-07 15:45:48 +02:00
gsell 5edcec4544 modulecmd: sort module names version aware
- call sort with option --version-sort in getting available modules
  and search cmd
2021-06-07 15:27:08 +02:00
gsell 129d6ff540 bugfix in terse output of sub-cmd avail 2021-06-07 14:14:57 +02:00
gsell 7817efe3ce Merge branch 'master' into 32-overlay-implementation
Conflicts:
	Pmodules/libmodules.tcl
	Pmodules/modulecmd.bash.in
	Tools/tcllib/build
2021-06-02 23:18:40 +02:00
gsell b3a6adf9f8 modulecmd: handle changes in PMODULES_ENV for old versions 2021-06-02 18:23:04 +02:00
gsell d908a4041c modulecmd: bugfix in listing unused release stages 2021-06-02 18:21:53 +02:00
gsell d592519252 use term release stage instead of release
- refactor variables and function names
- internal: refactor UseFlags -> UsedFlags and change type to normal array
2021-06-02 13:56:28 +02:00
gsell b40297d1a4 variable DefaultUsedReleaseStages renamed to DefaultReleaseStages 2021-05-26 17:47:26 +02:00
gsell dfb133cae7 config/Pmodules.conf added 2021-05-26 16:50:10 +02:00
gsell 85c89df9f5 initialization of Pmodules environment reviewed
- introduce new configuration file ${PMODULES_ROOT}/config/Pmodules.conf
- move as much as possible from profile.bash and init/bash to
  modulecmd
- expose less environment variables to the user
2021-05-26 16:43:38 +02:00
gsell 25129b57f7 refactored PMODULES_DEFAULT_GROUPS to DefaultGroups 2021-05-25 15:37:09 +02:00
gsell edd3fc4009 refactor variable PMODULES_DEFAULT_RELEASES
- new name is DefaultUsedReleaseStages
2021-05-25 14:35:59 +02:00
gsell 8ba396930a refactor variable PMODULES_DEFINED_RELEASES
- new name is ReleaseStages

- new name is ReleaseStages
2021-05-25 14:34:29 +02:00
gsell 0b87dc8ac4 modulecmd: bugfix in unuse an overlay
- local declaration of overlay was missing
2021-05-20 14:57:37 +02:00
gsell 5c393560df modulecmd: re-using overlay check improved/simplified 2021-05-20 14:54:03 +02:00
gsell 5941ded0d4 modulecmd: more descriptive error message in sub-cmd use 2021-05-20 14:52:46 +02:00
gsell f31dc38513 modulecmd: some unnecessary return statements removed after std::die 2021-05-20 14:41:19 +02:00
gsell fd21f98254 modulecmd: optional overlay configuration in config file added 2021-05-11 15:09:20 +02:00
gsell 18f586599c Merge branch 'master' into 32-overlay-implementation 2021-05-11 14:06:58 +02:00
gsell 69bcb98a07 modulecmd: create a tmpdile for sub-cmd switch 2021-05-11 14:05:19 +02:00
gsell 27fcf7ed69 Merge branch 'master' into 32-overlay-implementation 2021-05-11 13:40:45 +02:00
gsell e0950bcd25 modulecmd: fix initialisation after loading a Pmodule module 2021-05-11 12:05:00 +02:00
gsell fe07ceef9d Merge branch 'master' into 32-overlay-implementation 2021-05-11 11:39:14 +02:00
gsell fcec9f77c2 modulecmd: restore some env.vars after loading Pmodules module 2021-05-10 15:55:19 +02:00
gsell ca4c530a5e modulecmd: prevent loading Pmodules module if other modules are loaded 2021-05-10 15:53:06 +02:00