Commit Graph

188 Commits

Author SHA1 Message Date
Xavier Delaruelle
c1e1eef052 install: migrate to SPDX licence format in RPM spec file 2023-04-14 06:18:52 +02:00
Xavier Delaruelle
dfa0962aee Release of version 5.2.0 2022-11-08 05:08:06 +01:00
Xavier Delaruelle
30599c6fa4 doc/vim: update tcl.tk links into tcl-lang.org 2022-11-03 05:01:29 +01:00
Xavier Delaruelle
3a1531bec8 contrib: remove unmaintained template/script content
Remove the contrib template and scripts files as they are not maintained
since a long time in this repository and seem to be deprecated.
2022-08-26 20:47:59 +02:00
Xavier Delaruelle
995488a69b rpm: recommends nagelfar installation
Now nagelfar is available on Fedora and EPEL, recommends its
installation to be able to lint modulefiles.
2022-07-14 22:54:00 +02:00
Xavier Delaruelle
c702c817cc Lint global rc file specifically
Global rc file are evaluated as modulefile but it is not recommended to
use commands that change user environment in such file. When linting
global rc file, the modulefile syntax database is used but a specific
plugin is set to warn against non-recommended usages.
2022-07-12 07:50:33 +02:00
Xavier Delaruelle
dc3e6c6c67 rpm: install Modules-specific Nagelfar linter addons 2022-07-12 07:50:33 +02:00
Xavier Delaruelle
93d230f6f3 nagelfar: add plugins to lint modulefile/modulerc
Create a Nagelfar plugin to lint modulefile and another one to lint
modulerc. These plugins help to report usage of deprecated, not
implemented or not recommended commands or variables. Also help to
handle --option=value argument form.
2022-07-12 07:50:32 +02:00
Xavier Delaruelle
388e5b7c22 contrib: fix lint warning on example modulefiles 2022-07-12 07:50:32 +02:00
Xavier Delaruelle
5e09e95b88 Add specific syntaxdb for modulefile and modulerc
Add Nagelfar syntax databases to lint modulefile and another one to lint
modulerc.
2022-07-12 07:50:32 +02:00
Xavier Delaruelle
9a119ec5e2 contrib,script: enclose installation path references
Update add.modules script and example modulefiles to enclose all
references to the installation paths.
2022-06-16 18:57:30 +02:00
Xavier Delaruelle
c1fd4dc12f Release of version 5.1.1 2022-05-31 19:59:11 +02:00
Xavier Delaruelle
12790fe02a install: update rpmlint rc config for fc36
Update rpmlint rc file to match the new rpmlint version and
configuration provided in Fedora 36.
2022-05-31 07:00:20 +02:00
Xavier Delaruelle
2be2038635 rpm: install lib in specific directory
Move libtclenvmodules in an environment-modules directory under libdir,
as it is a private library.
2022-05-03 15:40:07 +02:00
Xavier Delaruelle
60c3a3311b install: add rpmlint rc config file
Add rpmlint rc configuration file to filter false positive warning
messages when checking RPM spec file and built packages.

Update 'mrel' script to use this rc configuration file when linting RPM
spec file.
2022-05-03 14:12:20 +02:00
Xavier Delaruelle
b590435a35 rpm: remove useless environment-modules provides
Remove useless environment-modules Provides statement since this package
is already named environment-modules.
2022-05-03 09:55:59 +02:00
Xavier Delaruelle
b7bd5aa56c Release of version 5.1.0 2022-04-30 08:13:22 +02:00
Xavier Delaruelle
f8fef370b6 vim: add syntax highlight for pushenv mfcmd 2022-03-14 19:49:06 +01:00
Xavier Delaruelle
764bc9afb8 ts: fix some other typos in tests 2022-02-18 06:42:15 +01:00
Dimitri Papadopoulos
3bc7b9904d Fix typos not found by codespell 2022-02-17 20:15:01 +01:00
Dimitri Papadopoulos
85d79639de contrib: fix additional typos 2022-02-17 20:14:39 +01:00
Xavier Delaruelle
a891f1cda9 contrib: fix typos found in several files 2022-02-17 08:22:44 +01:00
Dimitri Papadopoulos
e9a6678eec Fix typos found by codespell 2022-02-15 05:54:03 +01:00
Xavier Delaruelle
de351d1617 vim: add syntax highlight for complete/uncomplete 2022-02-11 07:16:55 +01:00
Xavier Delaruelle
7d433d531b vim: add syntax highlight for family mfcmd 2022-01-10 20:55:12 +01:00
Xavier Delaruelle
df0088691d vim: add syntax highlight for always-load mfcmd 2021-12-24 16:04:16 +01:00
Xavier Delaruelle
d40ce90e44 vim: add prereq-{all,any}/require-filename/depends-on mfcmds 2021-12-24 16:04:16 +01:00
Xavier Delaruelle
4a3ad674c8 rpm: use shell-specific completion dir 2021-11-24 08:51:03 +01:00
Xavier Delaruelle
1bb0199eeb Release of version 5.0.1 2021-10-16 16:58:59 +02:00
Xavier Delaruelle
e17d5ac729 Release of version 5.0.0 2021-09-12 11:33:11 +02:00
Xavier Delaruelle
05f3c9cde0 doc/install: rename 'diff_v3_v4' doc into 'changes' 2021-09-06 06:55:34 +02:00
Xavier Delaruelle
63feecfe9a rpm: add INSTALL.txt
Include INSTALL guide to the rpm package.
2021-09-06 06:55:34 +02:00
Xavier Delaruelle
c3d99c3d83 doc/install: remove deprecated example.txt guide
example.txt was providing hints applying to old version of Modules. Now
the new commands and configuration mechanism simplify such tasks. Should
rely on INSTALL guide instead.
2021-09-06 06:55:30 +02:00
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