Commit Graph

155 Commits

Author SHA1 Message Date
Xavier Delaruelle
214fe6967a Release of version 5.0.0-alpha 2021-07-25 21:36:37 +02:00
Xavier Delaruelle
1a6bb4dab8 rpm: run tests in quick mode 2021-07-24 14:06:09 +02:00
Xavier Delaruelle
786764a98d rpm: remove compat specific subpackage
Remove the code that was specific to the generation of the compat
subpackage.

Make environment-modules-compat subpackage obsolete by the
environment-module package, following Fedora guidelines [1]

[1] https://docs.fedoraproject.org/en-US/packaging-guidelines/#renaming-or-replacing-existing-packages
2021-07-24 14:06:09 +02:00
Xavier Delaruelle
664808acd7 install: swap --enable-dotmodulespath/--enable-modulespath
Make --enable-modulespath the primary option name and
--enable-dotmodulespath the secondary option name as .modulespath is not
anymore the primary name of this configuration file.
2021-07-18 22:06:02 +02:00
Xavier Delaruelle
2e2e3c3275 install: set --with-initconf-in to etcdir by default
Installation option '--with-initconf-in' is set to 'etdir' by default
to locate configuration files in the directory designated by the
'--etcdir' option. Therefore the initialization configuration file is
named `initrc` in this directory, and the  modulepath-specific
configuration file is named `modulespath`.

Configuration files are thus located in a traditional etcdir rather
being part of the init dir among scripts that should stay read only.
2021-07-18 16:06:20 +02:00
Xavier Delaruelle
6050cb7216 install: set --enable-set-shell-startup off by default
Installation option '--enable-set-shell-startup' is set off by default
but could be enabled once installed through the `initrc` configuration
file.

It seems better to let people choose to enable this option than being
surprised to find Modules initialization script run automatically each
time a sub-shell is spawn.
2021-07-16 22:04:27 +02:00
Xavier Delaruelle
9398e2a0c0 rpm: remove specific installation of createmodule.sh 2021-07-16 15:56:07 +02:00
Xavier Delaruelle
3e705098d5 Release of version 4.8.0 2021-07-14 09:36:29 +02:00
Xavier Delaruelle
5895929c97 vim: add variant-related modulefile cmds & var 2021-06-21 20:43:11 +02:00
Xavier Delaruelle
d9c3883b71 Release of version 4.7.1 2021-04-06 06:39:50 +02:00
Xavier Delaruelle
af510f94ac vim: add modfile vars Module{Tool,ToolVersion,sCurrentModulefile} 2021-04-04 09:14:36 +02:00
Xavier Delaruelle
eea8bafd4d Release of version 4.7.0 2021-02-19 09:02:42 +01:00
Xavier Delaruelle
5ce3886578 rpm: align spec syntax with Fedora spec file
Add on the way a missing build dependency on 'make' package.

Also remove obsolete 'Group' tag (see
https://fedoraproject.org/wiki/Changes/Remove_Group_Tag)
2021-02-17 16:04:04 +01:00
Xavier Delaruelle
1b4278acea vim: add new modulefile command 'module-tag' 2020-12-18 18:58:26 +01:00
Xavier Delaruelle
c88f56ef9a Release of version 4.6.1 2020-11-14 18:37:30 +01:00
Xavier Delaruelle
58248128dc Release of version 4.6.0 2020-09-16 06:24:27 +02:00
Xavier Delaruelle
bcd86d6922 vim: add new modulefile command 'module-forbid' 2020-08-13 15:22:41 +02:00
Xavier Delaruelle
81f58ea033 vim: add new modulefile command 'module-hide' 2020-08-11 07:02:18 +02:00
Xavier Delaruelle
3191d408f8 rpm: build with multilib support enabled 2020-08-10 08:06:09 +02:00
Xavier Delaruelle
fd9f5db4df rpm: use make macros to build and install
Apply requested change for F33:
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
2020-08-10 08:06:09 +02:00
Xavier Delaruelle
f4d1c9b520 rpm: fix modulecmd pre-alternatives check
Was wrongly checking %{buildroot} content rather targeted system.
2020-08-10 08:06:09 +02:00
Xavier Delaruelle
2e1e0fc52d install: accept new compat-specific opts on ./configure
Take into account the `--build`, `--host`, `--target`,
`--enable-dependency-tracking` and `--disable-dependency-tracking`
configure options to transmit them to Modules compatibility version
./configure script. Such options are implied when using `%configure`
macro in RPM spec file.

Fixes #354
2020-08-10 08:05:55 +02:00
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