Commit Graph

1288 Commits

Author SHA1 Message Date
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 f75f00dbfb Merge branch '138-invalid-options-are-not-handled-properly' into 'master'
Resolve "issues in parsing options and arguments"

Closes #138

See merge request Pmodules/src!108
2021-10-29 11:55:05 +00:00
gsell ef5dd9f761 modulecmd: fixes in option and argument parsing 2021-10-29 13:54:22 +02:00
gsell 0ba602dbbd Merge branch '137-sort-modules-numerically-in-sub-command-avail' into 'master'
Resolve "sort modules numerically in sub-command avail"

Closes #137

See merge request Pmodules/src!107
2021-10-29 10:08:07 +00:00
gsell 3d326a527a modulecmd: sort output of sub-command avail numerically 2021-10-29 12:05:41 +02:00
gsell f7f589471e Merge branch 'cherry-pick-c22422ac' into 'master'
fixes in module search sub-command

See merge request Pmodules/src!106
2021-10-28 17:13:30 +00: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 17bfdf51b1 Merge branch '32-overlay-implementation' of gitlab.psi.ch:Pmodules/src into 32-overlay-implementation 2021-10-28 14:45:06 +02:00
gsell 0a0633c68f fix indentation 2021-10-28 14:31:10 +02:00
gsell a4215874a3 Merge branch '135-fix-output-of-group-name-in-avail-sub-commanf' into 'master'
Resolve "fix output of group name in avail sub-commanf"

Closes #135

See merge request Pmodules/src!104
2021-09-17 13:34:47 +00: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 06406e463d Merge branch '133-modulecmd-fix-exit-function' into 'master'
Resolve "modulecmd: fix exit function"

Closes #133

See merge request Pmodules/src!102
2021-08-12 16:28:24 +00:00
gsell e3d8ee9780 modulecmd: bugfix in removing tmp file in _exit 2021-08-12 18:27:01 +02:00
gsell 979e4f5d38 Merge branch '132-module-sub-cmd-help-bugs' into 'master'
Resolve "module sub-cmd --help bugs"

Closes #132

See merge request Pmodules/src!101
2021-08-12 16:17:18 +00: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 457f3d5430 Merge branch '131-libstd-bash-fix-issue-with-current-centos-in-std-get_os_release' into 'master'
Resolve "libstd.bash: fix issue with current CentOS in std::get_os_release()"

Closes #131

See merge request Pmodules/src!100
2021-07-20 15:55:29 +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 54817c70f5 Merge branch '130-libpbuild-bash-bugs-in-functions-to-compare-versions' into 'master'
Resolve "libpbuild.bash: bugs in functions to compare versions"

Closes #130

See merge request Pmodules/src!99
2021-07-20 15:46:23 +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 2f537795cc Merge branch '129-modulecmd-use-some-defaults-if-pmodules-conf-does-not-exist' into 'master'
Resolve "modulecmd: use some defaults if Pmodules.conf does not exist"

Closes #129

See merge request Pmodules/src!98
2021-06-09 10:04:59 +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 84a04aaebe Merge branch '126-sort-versions-numerically' into 'master'
Resolve "Sort versions numerically"

See merge request Pmodules/src!97
2021-06-07 15:34:35 +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 8da5f14ca9 Merge branch '128-terse-output-in-sub-cmd-avail-is-broken' into 'master'
Resolve "terse output in sub-cmd avail is broken"

Closes #128

See merge request Pmodules/src!96
2021-06-07 14:34:24 +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 f0c51a15ea Merge branch '127-use-term-release-stage-in-code-options-and-help' into 'master'
Resolve "use term release stage in code, options and help"

Closes #127

See merge request Pmodules/src!95
2021-06-02 18:25:59 +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 954ba40054 Merge branch '125-rename-variable-defaultusedreleasestages-to-defaultreleasestages' into 'master'
Resolve "rename variable DefaultUsedReleaseStages to DefaultReleaseStages"

Closes #125

See merge request Pmodules/src!94
2021-05-26 17:48:27 +02:00