Commit Graph

70 Commits

Author SHA1 Message Date
154d578ecb scripts/Bootstrap/Pmodules/modulecmd.in:
- bugfix in 'subcommand_use()'
2015-06-08 10:57:35 +02:00
b129a8d05d - em.xyz renamed to pmodules.xxy
- underscore removed as prefix of function names
- keyword function removed
2015-06-04 20:38:33 +02:00
a42cdf4645 scripts/Bootstrap:
- PSI_ variables renamed
- new modulefiles layout implemented
- autoload libmodules.tcl
- use of term 'group' instead of 'family'
2015-06-04 18:50:15 +02:00
f3b6b2fa7d scripts/Bootstrap/Pmodules/environment.csh:
- renamed to 'environment.csh.in'
scripts/Bootstrap/Pmodules/modmanage.in:
- renamed to 'modmanage.bash.in'
scripts/Bootstrap/Pmodules/modulecmd.tcl:
- removed
2015-06-04 18:38:38 +02:00
1aa03ce303 scripts/Bootstrap/Pmodules/modmanage.in:
- in function sync_modules(): do not sync module template files
2015-05-21 15:04:23 +02:00
8665107992 scripts/Bootstrap/Pmodules/libpmodules.bash:
- in function log(): redirect output to '1>&$fd' not '/dev/fd/$fd',
  writing to '/dev/fd/X' might run into permission problems
2015-05-21 15:02:49 +02:00
0a2ee2e1ba scripts/Bootstrap/Pmodules/modmanage.in: add some comments 2015-05-20 16:08:09 +02:00
b8fb76cb1c scripts/Bootstrap/Pmodules/modmanage.in: set PMODULES_VERSION in config/environment.bash to version of script; print usage if called without args 2015-05-20 10:30:01 +02:00
c51908da41 scripts/Bootstrap/Pmodules/modulecmd.in: in header of sub-command 'search': 'Family' replaced by 'Group' 2015-05-19 16:18:54 +02:00
51005f7adb scripts/Bootstrap/Pmodules/modulecmd.in: bugfix in get_hierarchy_depth() 2015-05-19 14:00:17 +02:00
6c610714ad scripts/Bootstrap/Pmodules/modulecmd.in: bugfix in sub-command 'unuse' 2015-05-19 09:18:03 +02:00
c84417282f scripts/Bootstrap/Pmodules:
- bugfixes in modulecmd.in
- bugfixes in modmanage.in
2015-05-06 18:37:38 +02:00
21e9b9720f script/Bootstrap/Pmodules/modulecmd.in:
- use our own GNU base64
2015-05-06 15:18:43 +02:00
c7721ab60d Pmodules:
- use the term 'group' instead of 'family'
- prefix 'PSI_' changed to 'PMODULES_' for several shell vars.
2015-05-06 10:15:55 +02:00
346798015e scripts/Bootstrap/Pmodules/modulecmd.in:
- export vars via function 'export_env()'
- PSI_RELEASES renamed to PSI_DEFINED_RELEASES
- bugfixes
- sub-command 'clear' fixed
- sub-command 'whatis' partially fixed
2015-04-23 17:51:04 +02:00
b81a326f8b scripts/Bootstrap/Pmodules/environment.bash.in:
- PSI_RELEASES renamed to PSI_DEFINED_RELEASES
- set PSI_DEFAULT_RELEASES instead of PSI_USED_RELEASES
- PSI_USED_RELEASES renamed to USED_RELEASES (and saved in PMODULES_ENV)
2015-04-23 17:48:02 +02:00
d1f0209416 script/Bootstrap/Pmodules/bash:
- expose less env.vars to the user, cache them in PMODULES_ENV
2015-04-23 17:45:49 +02:00
90c6f1a602 scripts/Bootstrap/Pmodules/modulecmd.in:
- bugfix in sub-command use:
	- PSI_LOADEDFAMILIES was not updated
2015-04-15 19:06:14 +02:00
e5c7aeb859 scripts/Bootstrap/Pmodules/bash:
- bugfix: accept tilde and slash as first character of an argument
2015-04-15 19:05:00 +02:00
317775e872 scripts/Bootstrap/Pmodules/modulecmd.in:
- bugfix in subcommand_search: argument --src was not handled correctly
2015-04-15 16:48:50 +02:00
8c418bbf7a scripts/Bootstrap/Pmodules/modmanage.in:
- header of delete_module() fixed
- in function subcommand_sync():
    - use value of PMODULES_INSTALL_SOURCE for src_prefix if not
      specified on command line
2015-04-15 16:13:51 +02:00
60859b9c40 Bugfix: first line was mistakingly overwritten with it's substitution 2015-04-15 13:17:23 +02:00
3d47e6b3f5 Make modmanage sync work with new module environment setup 2015-04-15 12:05:21 +02:00
f265261aef - Filter out .release files
- Exit with correct return value in non library mode
2015-04-15 12:03:16 +02:00
23c5586a28 Make dialog work again with the changed environment setup 2015-04-14 17:01:16 +02:00
cee56109cd Merge with Achims version 2015-04-13 15:51:51 +02:00
14f0356774 Merge branch 'master' of gitorious.psi.ch:pmodules/src
Conflicts:
	scripts/Bootstrap/Pmodules/libpmodules.bash
2015-04-13 15:38:09 +02:00
a519acdac0 Merge branch 'master' of gitorious.psi.ch:pmodules/src
Conflicts:
	scripts/Bootstrap/Pmodules/libpmodules.bash
	scripts/Bootstrap/Pmodules/modmanage.in
2015-04-13 15:35:25 +02:00
6e7025cad8 scripts/Bootstrap/Pmodules/modulecmd.in:
- bugfixes
- minor changes
2015-04-08 18:47:06 +02:00
0f08af57cb scripts/Bootstrap/Pmodules/bash:
- bugfix in handling sub-command without arguments
2015-04-08 18:46:01 +02:00
6eeb0a2f69 scripts/Bootstrap/Pmodules/modulecmd.in:
- cache 'FAMILES' and 'HIERARCHY_DEPTHS'
- usage output reviewed
- append_path (), prepend_path(), remove_path() moved to libpmodules
- is_modulefile() added (testing shebang)
- argument/option handling reviewed, using 'getopt' now for all sub-commands
- in sub-command 'load': testing whether a module is loadable improved
- use 'info' for most output
- bugfixes
2015-04-07 15:32:55 +02:00
df9adc8251 scripts/Bootstrap/Pmodules/libpmodules.bash:
- set 'bindir' if not set
- '\n' removed from info() and error()
- die() always prints to stderr
- get_abspath(), append_path(), prepend_path(), remove_path() added
2015-04-07 15:26:06 +02:00
2d0b29ec5d scripts/Bootstrap/Pmodules/modulecmd.in: cleanup 2015-03-30 17:35:37 +02:00
40e0143b9f scripts/Bootstrap/Pmodules/libmodules.tcl: add debug output if PREFIX does not exist 2015-03-23 17:01:24 +01:00
d722a60c89 scripts/Bootstrap/Pmodules/modmanage.in: bugfix in sub-command 'install' 2015-03-18 18:37:57 +01:00
731805801c Merge branch 'master' of gitorious.psi.ch:pmodules/src 2015-03-18 18:25:50 +01:00
a85c5070ca scripts/Bootstrap/Pmodules/modmanage.in: in sub-command 'install': options '--dry-run' and '--force' added; do not re-sync existing moules if not forced 2015-03-18 18:25:39 +01:00
247d9431b5 scripts/Bootstrap/Pmodules/modmanage.in: in sub-command 'init': option '--version=' added, with this option you specify the version of Pmodules to be sync'ed 2015-03-18 18:08:05 +01:00
a777b1240c scripts/Bootstrap/Pmodules/modulecmd.in: unset CDPATH added; print message in sub-command 'load' if no module specified 2015-03-18 17:46:18 +01:00
406536df53 scripts/Bootstrap/Pmodules/modmanage.in: unset CDPATH added 2015-03-18 17:44:57 +01:00
6a7ae8ed52 scripts/Bootstrap/Pmodules/bash: run module purge and re-initialize everything 2015-03-18 14:50:41 +01:00
0366201a0b scripts/Bootstrap/Pmodules/environment.bash.in: hardcoded version replaced with @PMODULES_VERSION@ 2015-03-17 17:30:34 +01:00
30e636c030 scripts/Bootstrap/Pmodules/bash: set MODULEPATH if empty only; remove old PMODUES_HOME in PATH and MANPATH; legacy variables MODULE_VERSION, MODULE_VERSION_STACK and MODULESHOME removed 2015-03-17 17:29:09 +01:00
9a745ecfc8 scripts/Bootstrap/Pmodules/environment.bash: renamed 2015-03-17 17:22:15 +01:00
2fb13788e5 scripts/Bootstrap/Pmodules/modmanage.in: sub-command 'install' implemented 2015-03-17 10:59:47 +01:00
2c2a4f669d scripts/Bootstrap/Pmodules/modulecmd.in: redirect output of sub-command 'search' to stderr if option '--print-modulefiles' is used 2015-03-17 10:05:25 +01:00
c537be0ed9 scripts/Bootstrap/Pmodules/modulecmd.in: '--src=<dir>' option added to search sub-command 2015-03-13 15:33:23 +01:00
543f7fa523 scripts/Bootstrap/Pmodules/modmanage.in: create dir '/modulefiles'; add installation source to environment.bash 2015-03-13 15:31:56 +01:00
78af18063c scripts/Bootstrap/Pmodules/libpmodules.bash: 'check_modules_env()' splitted into 'check_pmodules_env_vars()' and 'check_pmodules_directories()' 2015-03-13 15:27:37 +01:00
0296400ffa Merged with newest version of Achim 2015-03-13 09:39:53 +01:00