5899aadf81
scripts/Bootstrap/Pmodules/modmanage.bash.in:
...
- interupt handler added
- some simple fixes
- create Tools/modulefiles
- first code to handle dependencies added
2015-07-15 10:39:44 +02:00
3193331a1f
scripts/Bootstrap/Pmodules/modulecmd.bash.in:
...
- cleanup
2015-07-15 10:38:20 +02:00
840ae5d1d6
scripts/Bootstrap/Pmodules/bash:
...
- module() function cleanup
- build MANPATH from /etc/man.conf{ig}
2015-07-15 10:37:35 +02:00
9ad827b364
scripts/Bootstrap/Pmodules/modulecmd.bash.in:
...
- support for release in extendet module name added
2015-07-13 17:29:28 +02:00
e5503c54dd
scripts/Bootstrap/Pmodules/{ennvironment,profile}.bash:
...
- cleanup
2015-07-10 18:48:48 +02:00
9b1f262264
scripts/Bootstrap/Pmodules/modulecmd.bash.in:
...
- renamed from 'modulecmd.in'
- moved to libexec
- sub-command load now supports extended module names like Libraries:mpc/1.0.3
2015-07-10 18:47:34 +02:00
7db9a2e068
scripts/Bootstrap/Pmodules/modulecmd:
...
- wrapper to make modulecmd relocatable
2015-07-10 18:45:06 +02:00
15fbb5ec83
scripts/Bootstrap/Pmodules/modmanage:
...
- do not source profiles
- modmanage.bash has been moved to libexec
2015-07-10 18:43:36 +02:00
537ed6353e
scripts/Bootstrap/Pmodules/modulecmd.in: renamed to 'modulecmd.bash.in'
2015-07-10 18:39:27 +02:00
704ddb4b54
scripts/Bootstrap/Pmodules/modulecmd.bash.in: renamed from modulecmd.in
2015-07-10 18:34:07 +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
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
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
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