Commit Graph

1303 Commits

Author SHA1 Message Date
gsell a0c62dc92c modulecmd.bash.in: cleanup
- break long lines
- use common format for error messages
2019-05-24 15:42:33 +02:00
gsell c38aafdc52 modulecmd.bash.in: review/partially rewrite of sub-commands 'use', 'unuse' 2019-05-24 14:56:50 +02:00
gsell 2f454d3d07 modulecmd.bahs.in refactoring, better implementation of group handling
- scanning for groups and computation of their depth re-implemented
2019-05-24 13:03:51 +02:00
gsell 013af13633 modulecmd.bash.in: save_env() rewritten
- "typeset -p" is able to handle multiple variables!
2019-05-24 09:27:25 +02:00
gsell d4bc88c1dd modulecmd.bash.in: definition of PSI_LIBMODULES remove
- this environment variable was used in the past in modulefiles to load
  the required Tcl code for Pmodules
2019-05-24 09:02:45 +02:00
gsell bc951463a3 Merge branch '40-export-pmodules_env-after-content-changes-only' into 'master'
Resolve "export PMODULES_ENV after content changes only"

Closes #40

See merge request Pmodules/src!11
2019-05-24 08:52:36 +02:00
gsell a147d655ca conflicts resolved 2019-05-24 08:44:03 +02:00
gsell ea5213d6ea trailing white-space removed in modulecmd.bash.in 2019-05-23 17:08:10 +02:00
gsell c417071956 cleanup and fixes in sub-commands 'use' and 'unuse' 2019-05-23 17:06:15 +02:00
gsell 6a73541a29 conflicts resolved 2019-05-23 16:25:26 +02:00
gsell bc4cdbb25d export PMODULES_ENV only if content changed 2019-05-23 16:11:59 +02:00
gsell 63fad8c272 Merge branch 'master' into 32-overlay-implementation 2019-05-22 11:22:49 +02:00
gsell 8fae38b27d Merge branch '39-with-option-in-sub-command-search-should-accept-space-comma-or-colon-separated-list' into 'master'
Resolve "--with option in sub-command search should accept space, comma or colon separated list"

Closes #39

See merge request Pmodules/src!10
2019-05-22 11:21:58 +02:00
gsell 21beab1a78 --with option of sub-command now accepts lists of modules 2019-05-22 11:21:41 +02:00
gsell fa3d9f6c8d Merge branch 'master' into 32-overlay-implementation 2019-05-22 10:37:56 +02:00
gsell 54eeae4df3 Merge branch '38-implement-generic-print-help-function' into 'master'
Resolve "implement generic print help function"

Closes #38

See merge request Pmodules/src!9
2019-05-22 10:36:55 +02:00
gsell 6521632ac3 fixes in a comment 2019-05-22 10:35:20 +02:00
gsell 6696753c4a cleanup 2019-05-21 18:09:44 +02:00
gsell e6e8335da8 conflict in last commit fixed 2019-05-21 18:08:02 +02:00
gsell 4a8c9498e7 conflict in last commit fixed 2019-05-21 18:07:24 +02:00
gsell 843b320721 conflicts resolved 2019-05-21 18:02:51 +02:00
gsell 94bab4d302 several fixes in modulecmd.bash
- in sub-command 'load': print conflict message not just load failed
- in sub-command 'search': equal sign can now be used for options
  '--with' and '--release'
- sub-command options can now be specified on the LHS of the sub-command
2019-05-21 16:40:50 +02:00
gsell 4062ef669e conflicts resolved 2019-05-19 20:58:53 +02:00
gsell 54bf9c3d6c minor optimization in sub-command 'use', store usage text with key 'help 2019-05-19 20:55:45 +02:00
gsell 91b0ddb729 merged changes from implementation of generic help function 2019-05-18 19:36:23 +02:00
gsell 54d6aa5ff7 implementation of generic help function and better option handling 2019-05-17 19:12:52 +02:00
gsell 309e89e031 changes to fix sub-command 'swap' merged 2019-05-16 17:02:20 +02:00
gsell 73740dbc68 Merge branch '37-switch-command-does-not-work' into 'master'
Resolve "switch command does not work"

Closes #37

See merge request Pmodules/src!8
2019-05-16 16:55:40 +02:00
gsell 0fe3048804 re-implementation of sub-command 'swap'
- sub-command 'swap' is now implemented via unload/load
- tmpfile variable in subcommand_load() cannot be read-only any more
2019-05-16 16:44:23 +02:00
gsell 41b6e2a26e cleanup in libmodules.tcl
- unused procedures removed
- implementation of the output of the .info file moved to modulecmd.bash
- swap is now implemented in modulecmd.bash as unload followed by a load
2019-05-16 16:42:05 +02:00
gsell e86930feee simplified module() function, do NOT loop over arguments
- all arguments are passed to modulemcd without being parsed/checked
2019-05-16 16:06:26 +02:00
gsell ab117e94fb better debug statements in libmodules.tcl 2019-05-16 14:40:17 +02:00
gsell 58534905d7 bug-fix in adding a directory to MODULEPATH via sub-command 'use' 2019-05-15 16:49:49 +02:00
gsell 8be6a10ee1 changes merged from master 2019-05-15 16:27:34 +02:00
gsell df909d8640 Merge branch '36-sub-command-unload-must-eval-output-from-modulecmd-bin' into 'master'
Resolve "sub-command unload must eval output from modulecmd.bin"

Closes #36

See merge request Pmodules/src!7
2019-05-15 16:17:21 +02:00
gsell 05338d25b4 update of PMODULES_ENV fixed in subcommand 'unload'
Not all cached data has been updated while unloading a module amangst
other the list of used groups (UsedGroups)
2019-05-15 16:16:36 +02:00
gsell a1821a961b fixes 2019-05-15 15:01:48 +02:00
gsell 4f2558b524 Merge branch '35-path-must-be-initialized-in-profile-shell' into 'master'
Resolve "PATH must be initialized in profile.SHELL"

Closes #35

See merge request Pmodules/src!6
2019-05-15 10:41:41 +02:00
gsell eff13d06e3 Merge branch '35-path-must-be-initialized-in-profile-shell' into 32-overlay-implementation 2019-05-14 14:55:14 +02:00
gsell 9d2974dd9c unset PMODULES_ENV during initialization 2019-05-14 14:54:46 +02:00
gsell 9f155dbf9c bugfixes in sub-command 'avail' 2019-05-14 14:52:52 +02:00
gsell 2aa283b210 implement overlay support in build-system 2019-05-14 14:52:13 +02:00
gsell fbc9695d4f Merge branch '35-path-must-be-initialized-in-profile-shell' into 32-overlay-implementation 2019-05-14 10:33:25 +02:00
gsell 8b67fd45a3 cleanup double exports in profile.bash.in 2019-05-13 16:47:56 +02:00
gsell 6ef4dd3667 bugs in initialization of PATH fixed in modulecmd.bash.in
- prepend Pmodules bin directory to PATH
- export MANPATH
2019-05-13 16:47:17 +02:00
gsell 2c92aa659d prepend Pmodules bin directory to PATH 2019-05-13 16:44:11 +02:00
gsell f446d4cae9 libstd.bash: fixes in append_path() and prepend_path()
- use export instead of eval
2019-05-13 16:42:27 +02:00
gsell 4e57627166 branch '32-initialisation-cleanup' merged to overlay implemtation 2019-04-30 15:37:02 +02:00
gsell 4fcc74839c Merge branch '34-initialisation-cleanup' into 'master'
Resolve "initialisation cleanup"

Closes #34

See merge request Pmodules/src!4
2019-04-30 13:23:10 +02:00
gsell 251c0bad77 cleanup 2019-04-30 13:17:56 +02:00