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
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
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
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
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
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
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
gsell
b40297d1a4
variable DefaultUsedReleaseStages renamed to DefaultReleaseStages
2021-05-26 17:47:26 +02:00
gsell
d453e173b0
Merge branch '124-review-bash-profile-and-init-file' into 'master'
...
Resolve "review bash profile and init file"
Closes #124
See merge request Pmodules/src!93
2021-05-26 17:40:17 +02:00
gsell
fd6708352c
tcllib added
2021-05-26 16:50:41 +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
9b33e1723a
build: tcllib added
2021-05-26 16:42:50 +02:00
gsell
67815236a7
Merge branch '123-refactor-pmodules_default_groups' into 'master'
...
Resolve "Refactor PMODULES_DEFAULT_GROUPS"
Closes #123
See merge request Pmodules/src!92
2021-05-25 15:42:41 +02:00
gsell
25129b57f7
refactored PMODULES_DEFAULT_GROUPS to DefaultGroups
2021-05-25 15:37:09 +02:00
gsell
b08fdca050
Merge branch '122-refactor-pmodule_default_releases' into 'master'
...
Resolve "refactor PMODULE_DEFAULT_RELEASES"
Closes #122
See merge request Pmodules/src!91
2021-05-25 14:49:33 +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
4f6b8c89b5
set version to 1.0.0rc10
2021-05-20 16:40:43 +02:00
gsell
d3d02d76c4
Merge branch '120-modulecmd-switch-sub-cmd-need-tmpfile' into 'master'
...
Resolve "modulecmd: switch sub-cmd need tmpfile"
Closes #120
See merge request Pmodules/src!89
1.0.0rc9
2021-05-11 14:06:30 +02:00
gsell
69bcb98a07
modulecmd: create a tmpdile for sub-cmd switch
2021-05-11 14:05:19 +02:00
gsell
adcfbd5401
Merge branch '119-modulecmd-fixes-in-loading-a-pmodules-module' into 'master'
...
Resolve "modulecmd: fixes in loading a Pmodules module"
Closes #119
See merge request Pmodules/src!88
2021-05-11 13:37:31 +02:00
gsell
e0950bcd25
modulecmd: fix initialisation after loading a Pmodule module
2021-05-11 12:05:00 +02:00
gsell
bc1afaf60c
Merge branch '118-modulecmd-loading-a-pmodules-module' into 'master'
...
Resolve "modulecmd: loading a Pmodules module"
Closes #118
See merge request Pmodules/src!87
2021-05-10 16:18:36 +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
gsell
d32f04ea83
modulecmd: bugfix in basic initialization
2021-05-07 16:41:00 +02:00
gsell
bff9055b20
modulecmd: bugfix in tmp file setup/cleanup
2021-05-07 16:40:08 +02:00
gsell
183e7f40a2
libstd.bash: function to check Bash variable type added
2021-05-07 15:51:28 +02:00
gsell
a6623727ae
Merge branch '117-reinitialize-pmodules-environment-after-loading-a-new-pmodules-version' into 'master'
...
Resolve "reinitialize Pmodules environment after loading a new Pmodules version"
Closes #117
See merge request Pmodules/src!86
2021-05-06 19:05:36 +02:00
gsell
0ea9e54cc4
modulecmd: reinitialize Pmodules if Pmodules version changed
2021-05-06 19:04:27 +02:00