Commit Graph

133 Commits

Author SHA1 Message Date
Xavier Delaruelle
43c1a3eb46 install: disable compat version build by default
Version 4 of Modules is available since almost 3 years. Many
improvements have been made to integrate features of version 3.2 still
needed in module command. So it is now time to disable the build of
version 3.2 which was triggered by default since 4.0.
2020-07-07 09:39:46 +02:00
Xavier Delaruelle
65549cfbb8 vim: add new modulefile command 'source-sh' 2020-06-01 21:03:11 +02:00
Xavier Delaruelle
d22d531664 Release of version 4.5.1 2020-06-01 13:51:51 +02:00
Xavier Delaruelle
d9aaa588be Release of version 4.5.0 2020-04-07 17:54:11 +02:00
Xavier Delaruelle
3c6932365f rpm: define LD_PRELOAD as quarantine var along with LD_LIBRARY_PATH
To ensure a sane quarantine effect in case LD_PRELOAD libs depend on
libraries found with LD_LIBRARY_PATH.

See https://sourceforge.net/p/modules/mailman/message/36959212/
2020-03-29 21:11:09 +02:00
Xavier Delaruelle
5397c24616 rpm: use configure option --with-python to set shebang 2020-02-10 07:31:24 +01:00
Xavier Delaruelle
55c6612f0a contrib: remove not-used-anymore pre-commit script 2020-01-12 13:31:21 +01:00
Xavier Delaruelle
9ade952bea script: move all dist. and maint. scripts in a script dir 2020-01-12 13:31:21 +01:00
Xavier Delaruelle
6ae7ec68d5 script: remove need to build project management-specific tools
Make mb, mlprof, mtreview and playdemo use `/usr/bin/env tclsh` shebang
rather applying there TCLSH location defined by `./configure` process.
2020-01-12 10:00:22 +01:00
Xavier Delaruelle
39658239d7 doc/rpm: add ml man page 2020-01-09 20:38:50 +01:00
Xavier Delaruelle
5923a31c38 Release of version 4.4.1 2020-01-03 19:38:26 +01:00
Xavier Delaruelle
c9904e4b22 New year (2020) copyright mention update 2020-01-02 08:26:12 +01:00
Xavier Delaruelle
7ffe88cdb8 contrib/mlprof: keep proc stats even if redefined 2020-01-02 08:22:24 +01:00
Xavier Delaruelle
50201a79c7 contrib: adapt 'mb' script to profile rather bench module
Adapt `mb` script to profile modulecmd test runs rather bench them when
`profile` argument is passed to the script.
2019-12-30 06:55:35 +01:00
Xavier Delaruelle
4118b79c9f contrib: add 'mlprof' script
Add the 'mlprof' script which wraps modulecmd.tcl to collect profiling
information on its execution.
2019-12-30 06:55:35 +01:00
Xavier Delaruelle
c1974dd171 rpm: fix spec file for el8 build
Remove Modules compat version build dependency on tclx-devel package as
TclX is not provided anymore in el8.

Convert shebang of createmodule.py tool from python to python3.
2019-12-03 06:37:03 +01:00
Xavier Delaruelle
a0de177ddb contrib: add 'playdemo' script 2019-11-21 06:32:38 -07:00
Xavier Delaruelle
2fe1709d94 Release of version 4.4.0 2019-11-17 05:54:48 -07:00
Xavier Delaruelle
b523581b7a Release of version 4.3.1 2019-09-21 14:58:17 +02:00
Xavier Delaruelle
3d75225cae doc: add modulepaths-persist-over-sudo recipe to cookbook
Rework global RC file proposed in contrib/etc/rc-modulepath, for use
case described at [1], as a cookbook recipe.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1139165
2019-09-14 10:48:15 +02:00
Xavier Delaruelle
f23c55bca5 contrib: add 'mb' script to bench modules versions 2019-07-30 08:29:41 +02:00
Xavier Delaruelle
c999abdc95 Release of version 4.3.0 2019-07-26 15:37:19 +02:00
Xavier Delaruelle
a0c4de20d4 rpm: use /etc/environment-modules as etcdir
And store Modules initialization configurations in it.
2019-07-11 08:08:12 +02:00
Xavier Delaruelle
9b2d1b18a1 rpm: disable set_shell_startup 2019-07-11 07:53:55 +02:00
Xavier Delaruelle
d067250210 doc/rpm: merge release of version 4.2.5 2019-07-08 21:15:51 +02:00
Xavier Delaruelle
07181a3468 contrib: fix array init issue on 'mt' script 2019-07-04 20:09:22 +02:00
Xavier Delaruelle
d0fc0be445 contrib: fix var unbound issue on 'mt' with older bash 2019-07-02 20:22:34 +02:00
Jacques Raphanel
bd2034371f contrib: add support for creating module file skeleton from MSDOS prompt
Update createmodule.py to provide support for cmd shell to use `set`
instead of `env`.

Fixes #270.
2019-05-21 09:23:02 +02:00
Xavier Delaruelle
3640b2d798 ts: outputs full log in 'mt' if testsuite failed but no failure found 2019-05-20 20:36:56 +02:00
Xavier Delaruelle
9865ca6012 install: provide a bare siteconfig.tcl
Provide a bare siteconfig.tcl in designated etcdir at installation time
if no pre-existing site-specific configuration file is found at
designated location.
2019-05-20 20:36:56 +02:00
Xavier Delaruelle
5d199c5b98 ts: rework way 'mt' pass test list to runtest
Instead of removing read access to test files that should not be run in
'mt' script, transmits to 'runtest' the list of test files to run via a
RUNTESTFILES environment variable appended to 'runtest' command line in
Makefile targets.
2019-05-05 14:14:42 +02:00
Xavier Delaruelle
ee090599e2 install/ts: trigger coverage with var instead of make target
Instead of running test coverage with 'make testcoverage', use COVERAGE
variable to trigger this run ('make test COVERAGE=y').
2019-05-03 14:01:42 +02:00
Xavier Delaruelle
af8307ac64 install/ts: run ts against currently built ext lib
Adapt Makefile and testsuite initialization to set then use a specific
modulecmd.tcl script tuned to load the libtclenvmodules.so currently
built in 'lib' directory.
2019-04-29 16:02:13 +02:00
Xavier Delaruelle
5d9af77c3e install: configure/build/install lib from main scripts
Call configure script and Makefile of 'lib' directory from main
configure and Makefile to configure/build/install/clean libtclenvmodules
from top-level scripts.

Add '--libdir', '--enable-libtclenvmodules', '--with-tcl' and
'--with-tclinclude' options to main configure script to control
libtclenvmodules build and installation. Documentation of these new
options has been added to INSTALL guide.

When '--enable-libtclenvmodules' option is set (default) code in
modulecmd.tcl is enabled to load compiled libtclenvmodules shared
library.

Update RPM spec file to take into account libtclenvmodules.

Update Travis and AppVeyor configurations to check libtclenvmodules
enablement and disablement over the various test cases.
2019-04-29 16:02:13 +02:00
Xavier Delaruelle
e7ac00c02d rpm: install modulefile vim syntax addons 2019-04-29 13:23:54 +02:00
Felix Neumärker
76a4d4ce71 add vim syntax support 2019-04-28 21:42:38 +02:00
Xavier Delaruelle
2b53c068da Release of version 4.2.4 2019-04-26 10:28:28 +02:00
Xavier Delaruelle
c15554e51d Release of version 4.2.3 2019-03-23 11:42:43 +01:00
Xavier Delaruelle
0666518083 ts: add distinctive mark at end of res/exp string
To distinguish the end of the output or expected result from the output
or expected result content. 'mtreview' tool better catches the content
it has to compare.
2019-03-21 06:42:48 +01:00
Xavier Delaruelle
237af902aa install: fetch 'icdiff' to process test res throught it 2019-03-21 06:42:48 +01:00
Xavier Delaruelle
ba2721641d contrib: mt calls mtreview to process test results 2019-03-21 06:42:48 +01:00
Xavier Delaruelle
64514ce4d5 travis,appveyor,cirrus: launch tests throught 'mt' 2019-03-21 06:42:48 +01:00
Xavier Delaruelle
9e6aaa6385 contrib: add 'mtreview' script to highlight failed tests 2019-03-21 06:42:48 +01:00
Xavier Delaruelle
a5864c3f5a rpm: add CONTRIBUTING guide to %doc 2019-02-23 07:56:16 +01:00
Xavier Delaruelle
414fbe38b0 Release of version 4.2.2 2019-02-17 08:21:57 +01:00
Xavier Delaruelle
864f24d81a contrib: fix mkdir in get_started guide scripts 2018-11-30 18:56:50 +01:00
Xavier Delaruelle
8c9df050f9 doc: introduce cookbook
Add a cookbook section in the documentation and port there the 3
pre-existing recipes: inhibit-report-info, top-priority-values and
unload-firstly-loaded.

Move the examples files of these recipes from contrib/cookbook to
doc/example directory.
2018-11-19 04:02:06 +01:00
Xavier Delaruelle
f965f39e16 Release of version 4.2.1 2018-11-11 08:51:17 -06:00
Xavier Delaruelle
73c3989117 contrib: select between files at same ts num in 'mt' 2018-11-01 10:24:48 +01:00
Xavier Delaruelle
26c7c6bc85 cookbook: port 'top-priority-values' to v4.2 2018-10-20 13:32:52 +02:00