Xavier Delaruelle
a1f10ef8da
script: add ability to select test to perform on 'mb'
2020-09-27 19:19:00 +02:00
Xavier Delaruelle
090d1e3b88
script: drop profiling of <4.4 releases in mb
2020-09-23 06:50:49 +02:00
Xavier Delaruelle
7a51140489
script: fix min version condition bench test
2020-09-18 06:50:26 +02:00
Xavier Delaruelle
ef419b262e
script: build src with compat vers enabled on mrel
2020-09-16 06:09:28 +02:00
Xavier Delaruelle
e039eb9fac
script: add avail3/whatis3 tests to mb
...
Bench new hide/forbid features mixed with advanced version specifiers
syntax. These new tests only apply to newer versions.
2020-09-02 06:09:17 +02:00
Xavier Delaruelle
1fb1bd8c79
script: clean trailing space character
2020-08-11 07:02:18 +02:00
Xavier Delaruelle
67dcfc3c89
script: add single module avail/whatis test on mb
2020-08-10 08:59:33 +02:00
Xavier Delaruelle
99cc718847
script: add support of koji 'free' task state in mrel
2020-07-31 10:57:26 +02:00
Xavier Delaruelle
091f50da6c
script: enable mrel/mpub to release from a vZ.Y.x branch
...
Adapt the `mrel` and `mpub` release to produce new Modules release from
a 'vZ.Y.x' branch rather from 'master' branch.
2020-07-30 22:53:37 +02:00
Xavier Delaruelle
97f8dc7e25
script: add option --base64-failed-log to mt
...
Add option ``--base64-failed-log`` to the ``mt`` script to output test
log on failure in a base64 serialized format.
2020-07-16 21:53:51 +02:00
Xavier Delaruelle
db9384f186
script: fix distclean err to ignore in mrel/mpub
2020-07-16 21:53:51 +02:00
Xavier Delaruelle
b34595dec9
script: add cleaning of prev built rpm in 'mrel'
2020-07-16 21:53:51 +02:00
Xavier Delaruelle
1e863c6365
script: add 'mpub' to publish new release
...
Add the `mpub` script, that automates Modules new release publishing
over git repositories and websites.
2020-04-12 20:51:38 +02:00
Xavier Delaruelle
c1d2f0e6f6
script: add 'mrel' to build/test release files
...
Introduce the `mrel` script, that automates build of the Modules release
files and performs tests over these distribution files to guaranty their
correctness.
2020-04-12 18:42:33 +02:00
Xavier Delaruelle
dcd6025503
install/ts/doc: install and test envml.cmd along other *.cmd
2020-03-10 07:44:20 +01:00
Xavier Delaruelle
d787bc14ac
script: apply same module enablement check in all *.cmd
2020-03-10 07:44:20 +01:00
Jacques Raphanel
ae235a87ad
script: introduce envml.cmd for windows
...
Provide a dedicated batch file to provide similar behavior of envml bash
script but for CMD Windows shell. Update existing envml bash script to
provide same behavior for cmd and sh file (split argument over ';'
character, in addition to '&' character).
2020-03-10 07:44:20 +01:00
Xavier Delaruelle
25e75401f3
script: mt exits in err if ts ok but review failed
2020-03-08 10:09:32 +01:00
Xavier Delaruelle
66ea61c1c4
script: handle variable value change in createmodule.sh
...
When analyzing environment variable changes applied by shell script
passed as argument, produce a `setenv` modulefile statement for any
variable found set prior script evaluation and for which value is
completely changed after script evaluation.
Fixes #320
2020-03-05 05:45:46 +01:00
Xavier Delaruelle
0e43e3592d
script: adapt nglfar2ccov to nagelfar new format output
...
Analyzed script name is now reported with its path name.
2020-02-25 06:38:42 +01:00
Xavier Delaruelle
6b95e5064e
script: fix path deduplication in createmodule.sh
...
Fixes #316
2020-02-19 21:03:37 +01:00
Armin Wehrfritz
a9e8019253
script: fix createmodule.py for python3
...
Fixes #315
2020-02-17 15:50:52 +01:00
Xavier Delaruelle
9535266a60
install: build createmodule.py/gitlog2changelog.py to set shebang
...
Adapt configure script and Makefile to detect `python` command location
and set it as shebang for `createmodule.py` and `gitlog2changelog.py`.
If python command is not found python3 then python2 are searched.
2020-02-10 07:00:32 +01:00
Xavier Delaruelle
a28181074e
install/script: abort auxiliary tools download after few seconds
...
Abort download of icdiff, nagelfar or tclsh83 after 2 timeouts of 5
seconds and record download failure for icdiff to avoid mt script to
attempt a new download tentative every time it is called.
2020-02-03 20:46:15 +01:00
Andrey Portnoy
e5c19bdd74
Fix typo in add.modules.in
2020-02-03 19:34:03 +01:00
Xavier Delaruelle
985aa88590
script: fix createmodule.{sh,py} for script outputting text
...
Inhibit output generated by scripts evaluated by createmodule.sh and
createmodule.py to ensure these outputs will not get in the way when
analyzing the environment change done by the evaluated scripts.
Fixes #309
2020-02-01 15:25:04 +01:00
Xavier Delaruelle
1ef61d6e77
script: avoid shell func defs in createmodule.sh
...
Fix createmodule.sh script to correctly analyses environment when shell
functions are found defined in it. These shell function definitions are
skipped.
2020-02-01 13:28:51 +01:00
Xavier Delaruelle
ea8052c23b
script: add TESTINSTALL.bat script and ship it in dist-win
2020-01-25 16:21:53 +01:00
Xavier Delaruelle
13a99e387a
script: ensure relevant exit code is set at end of win scripts
2020-01-25 16:21:53 +01:00
Xavier Delaruelle
fe3765454b
script: move INSTALL.bat & UNINSTALL.bat in script dir
2020-01-25 16:21:53 +01:00
Xavier Delaruelle
d6362eef3d
script/init: quote path variables in win-specific scripts
...
To handle installation path containing whitespaces like "C:\Program
Files\Environment Modules".
2020-01-17 21:39:22 +01:00
Xavier Delaruelle
fff8213e0b
install: add ml.cmd wrapper on Windows installation
2020-01-17 21:39:22 +01:00
Xavier Delaruelle
20597cb580
script: simplify module.cmd batch file
...
Execute initialization script if MODULES_CMD environment variable is not
found defined.
2020-01-14 06:13:30 +01:00
Xavier Delaruelle
d95a66233a
script: move win-specific module.cmd file in script dir
2020-01-14 06:13:30 +01:00
Xavier Delaruelle
9ade952bea
script: move all dist. and maint. scripts in a script dir
2020-01-12 13:31:21 +01:00