Commit Graph

114 Commits

Author SHA1 Message Date
2ac06ce262 scripts/Bootstrap/Pmodules_version:
- set PMODULES_VERSION to 0.99.5
2015-07-09 17:43:13 +02:00
a5376bbd65 scripts/Bootstrap/install_pmodules.sh:
- adapted to new format of Pmodules_version.conf
2015-07-09 13:41:14 +02:00
fee0947978 scripts/Bootstrap/compile_pmodules.sh
- adapted to new format of Pmodules_version.conf
- conditional compiling
2015-07-09 13:40:27 +02:00
7c7cf6c7dd scripts/Bootstrap/Pmodules_version.conf:
- new, language independent format
2015-07-09 13:38:18 +02:00
dfb42a9748 scripts/Bootstrap/compile_pmodules.sh:
- cleanup
2015-07-09 10:22:34 +02:00
5d87ddc1b2 scripts/Bootstrap/Pmodules/profile.bash:
- bugfix PMODULES_PREFIX has been renamed to PMODULES_ROOT
2015-07-09 10:21:28 +02:00
f08150143d scripts/Bootstrap/Pmodules/modulecmd.in:
- '--norc' removed from shebang
2015-07-09 10:19:32 +02:00
25d15181cf Merge branch 'master' of gitorious.psi.ch:pmodules/src 2015-07-02 14:16:20 +02:00
e46ed0b484 script/Bootstrap/Pmodules/modulecmd.in:
- fix bash glob issue with [A-Z]* pattern
2015-07-02 11:13:28 +02:00
65aad9aaf5 scripts/Bootstrap/Pmodules_version.conf
- set version to 0.99.4
2015-06-26 17:50:24 +02:00
aba087f849 scripts/Bootstrap/Pmodules
- do not read profiles
- tcsh output added to 'export_env()'
- supress errors from 'typeset' in 'save_env()'
- use 'export_env()' to instead of 'echo'
- add global declaration of PMODULES_DEFAULT_GROUPS
  and PMODULES_DEFAULT_RELEASES to 'pmodules_init()'
- add 'tcsh' as supported shell
2015-06-26 17:49:49 +02:00
fde9205f16 scripts/Bootstrap/Pmodules/environment.csh.in
- fixes
- adapted to new variable names
2015-06-26 17:45:32 +02:00
7ceec6e288 scripts/Bootstrap/Pmodules/csh:
- set correct exec_prefix
- do not set MODULESHOME
2015-06-26 17:44:41 +02:00
364270b6c7 scripts/Bootstrap/compile_pmodules.sh
- cleanup $PMODULES_DIR before compiling
2015-06-26 17:43:29 +02:00
ab9edd13b0 scripts/Bootstrap/Pmodules/modulecmd.in: bugfixes in subcommand_unuse() 2015-06-15 14:54:02 +02:00
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
ccf5f2b9ba scripts/Bootstrap/install_pmodules.sh:
- do not cleanup after build dir
- specify bash verion
2015-06-04 18:43:14 +02:00
8781da4c53 scripts/Bootstrap/bootstrap.sh: bugfix 2015-06-04 18:41:37 +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
b6820c5687 Bootstrap/gettext/build: --with-pic=yes added to configure call 2015-05-06 18:35:34 +02:00
21e9b9720f script/Bootstrap/Pmodules/modulecmd.in:
- use our own GNU base64
2015-05-06 15:18:43 +02:00
a56b83e44a scripts/Bootstrap:
- coreutils added, we need a unique base64
2015-05-06 15:17:53 +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