Commit Graph

178 Commits

Author SHA1 Message Date
gsell de50b1ffeb update release file when rebuilding a module, close #20 0.99.12 2017-09-13 15:39:09 +02:00
gsell 35445b99a9 Pmodules/modmanage.bash.in: exit if rsync fails 2017-09-11 17:44:58 +02:00
gsell 5e727ed637 Pmodules/modulecmd.bash.in: quote values in assignment 2017-09-11 17:43:42 +02:00
gsell 31b598ce53 config/version.conf: reset Pmodules version to 0.99.12 2017-08-08 15:21:18 +02:00
gsell 89291c7fe7 Merge branch 'master' of gitlab.psi.ch:Pmodules/src 2017-08-08 14:19:31 +02:00
gsell b940bbd5a9 build:
- unused code removed
2017-08-08 14:17:55 +02:00
gsell db616ce790 Pmodules/modbuild
- bugfix in setting target option
- define variable 'V_PKG' as version of the source package
2017-08-08 14:11:48 +02:00
gsell 43d85f96ab Pmodules/libstd.bash
- std::upvar(), std::upvars() added
2017-08-08 14:09:04 +02:00
gsell cebf145ef1 Pmodules/libpbuild.bash
- source/build directory changed to "${PMODULES_TMPDIR}/{src,build}/$P-$V"
- function to find/download sources rewritten, specifing SOURCE_URL in
  build block is now required.
- we now have pre_ and post_ function for all build stages
2017-08-08 14:08:13 +02:00
Achim Gsell cade57f7cd Pmodules/modulecmd.bash.in
- sub-commands 'avail' and 'search' are now case insensitive and accept
  a shell pattern as argument
2017-08-08 01:11:43 +02:00
Achim Gsell e1993f7091 config/versions.con
- set Pmodules version to 0.99.13
2017-08-08 01:06:39 +02:00
Achim Gsell 79f58c6961 build
- bit more output of 'usage()'
- option '--debug' added to sub-command 'install'
2017-08-08 01:02:17 +02:00
Achim Gsell 20b4edc972 Pmodules/modbuild
- create ${PMODULES_DISTFILESDIR} if not already exists
2017-08-08 01:01:00 +02:00
gsell a7637d4c52 Pmodules/modbuild
- bugfix: 'local' used in global scope
2017-06-09 12:27:24 +02:00
gsell 6f3b552dce build
- various fixed and improvments
2017-06-09 10:38:35 +02:00
gsell 2997d204a7 getopt/build
- use target 'all' for compiling
2017-06-09 10:37:02 +02:00
gsell dac5885500 - configuration file 'environment.bash' merged into 'profile.bash'
- OS dependent build configuration is now in 'modbuild.conf'
- set PATH before sourcing 'modbuild.conf'
- installation path of modulefile fixed
- go through all build steps if nothing else is specified on command line
2017-06-09 10:36:05 +02:00
gsell f757d9f920 .gitignore
- profile.{bash,csh} added to ignore file
2017-05-31 15:27:45 +02:00
gsell cb29cba552 Pmodules/lib/libpbuild.bash
- modulesfile-templates are not used any more
2017-05-31 15:26:28 +02:00
gsell b80f27d2e3 - merge scripts 'configure', 'compile_pmodules' and 'install_pmodules'
into new script 'build'
- merge 'environment.{bash,csh}.in' into 'profile.{bash,csh}.in'
- set version to 0.99.12
2017-05-31 15:22:48 +02:00
gsell e1fd522384 install_pmodules:
- do *not* unset 'PMODULES_ROOT'
0.99.11
2017-05-30 14:33:16 +02:00
gsell 912391ac5a config/environment.bash.{in,psi}
- define 'PMODULES_DISTFILESDIR' and 'PMODULES_TMPDIR' only if still undefined
2017-05-30 14:32:46 +02:00
gsell a53a79348f compile_pmodules.sh:
- do *not* unset PMODULES_ROOT
2017-05-30 14:31:04 +02:00
gsell 8e18b46ed2 Merge branch 'master' of gitlab.psi.ch:Pmodules/src 2017-05-17 12:57:35 +02:00
gsell e48198af59 bootstrap:
- add options to overwrite installation root and config file
2017-05-17 12:57:25 +02:00
gsell f5bf857cee bootstrap:
- add options to overwrite installation root and configuration file
2017-05-17 12:56:22 +02:00
gsell 1d4b3de94c Pmodules/libpbuild
- search_variante_file(): set 'variants_file' to empty string if none found
- load_build_dependencies():
  * here we don't have to look for a variants file  any more
  * bugfix in testing prefix 'b:' and 'r:' for build- or runtime dependency
2017-05-17 10:33:35 +02:00
gsell 43171df80f Pmodules/modbuild
- don't search for a variants file while bootstrapping
2017-05-17 10:30:05 +02:00
Achim Gsell 1daace6713 OS specific build settings moved to configuration file 2017-05-09 23:34:16 +02:00
Achim Gsell 9a68b2b060 install_pmodules:
- source of configuration moved to the right place
- create directories "${PMODULES_HOME}/{libexec,sbin}" added
2017-05-09 01:43:03 +02:00
Achim Gsell c9e1f74557 Pmodules/modbuild
- first attempt to get latest version from a variants file (still broken)
2017-05-09 01:41:20 +02:00
Achim Gsell f1f9ae775c Pmodules/libpbuild.bash
- if OS == Darwin: do not add path to Xquarz
- function documentation improved
- some download problems fixed
2017-05-09 01:39:24 +02:00
Achim Gsell d5e3e9e09c Modules/build
- SOURCE_URL added
2017-05-09 01:36:28 +02:00
gsell ce283bddea Pmodules/modulecmd.bash.in
- is_modulefile(): typo fixed
2017-04-20 14:45:46 +02:00
gsell cfac331329 config/versions.conf
- set version to 0.99.11
2017-04-20 11:29:23 +02:00
gsell 2739df53ec Pmodules/modulecmd.bash.in
- accept shebangs like '#%Module17.3' for traditional modulefile
- accept shebang '#%Pmodule' for modulefiles using Pmodules extensions (fixing #18)
- stub added for printing CSV output in search command (see issue #19)
2017-04-20 11:28:33 +02:00
gsell 11ec0c068b Merge branch 'master' of gitlab.psi.ch:Pmodules/src 0.99.10 2017-03-30 14:41:33 +02:00
gsell ba84c7341e install_pmodules.sh
- option to overwrite PMODULE_ROOT added, resolving #17
2017-03-30 14:41:10 +02:00
gsell 483731fa02 install_pmodules.sh
- option to overwrite PMODULE_ROOT added
2017-03-30 14:38:34 +02:00
gsell c621f7233a Pmodules/modmange.bash.in:
- bugfix in initializing a new module environment, fixes #16
2017-03-30 14:32:21 +02:00
gsell ba9e082914 config/environment.bash.{in.psi}
- define PMODULES_ROOT only if not already set
2017-03-30 13:20:10 +02:00
gsell f219e40460 Pmodules/modmanage.bash.in
- fix bug in 'get_group_depth()', fixing issue #15
2017-03-29 18:52:37 +02:00
gsell c49821f1f8 install_pmodules.sh
- install 'libmodules.tcl' in $PMODULES_HOME/lib/Pmodules, fixing issue #14
2017-03-22 15:20:23 +01:00
gsell f2502ee30f config/version.conf
- set Pmodules version to 0.99.10
2017-03-22 15:17:16 +01:00
gsell 6de41599fb compile_pmodules.sh
- bugfix: install 'getopt' to right location, fixing issue #13
2017-03-22 15:16:34 +01:00
gsell 706b11b812 Pmodules/modulecmd.tcl.in
- Extended procedure for Pmodules implemented in the pure Tcl variant,
  closing issue #12
2017-03-22 15:13:36 +01:00
gsell d491c3046e Pmodules/modulecmd.bash.in
- libmodules.tcl moved to $PMODULES_HOME/lib/Pmodules
- revert removing PSI_LIBMODULES, there are still some old modulefiles
- bugfix in sub-command 'purge' fixing issue #10
2017-03-22 15:07:46 +01:00
gsell 3bd6c9c1b4 Pmodules/modulecmd.tcl.in
- indentation changed to 8 spaces
- avoid needless nesting
0.99.9
2017-03-01 14:08:17 +01:00
gsell 972c0cdcdd Pmodules/modulecmd.bash.in
- missing sub-command 'help' added to dictionary
2017-03-01 14:05:27 +01:00
gsell 0cd1c02775 Pmodules/libmodules.tcl:
- prefix global variables with 'g_'
2017-03-01 14:04:36 +01:00