Skip to content

Commit f5a2148

Browse files
committed
Release of version 4.1.2
1 parent eaf4652 commit f5a2148

File tree

2 files changed

+56
-1
lines changed

2 files changed

+56
-1
lines changed

NEWS.rst

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,58 @@ This file describes changes in recent versions of Modules. It primarily
77
documents those changes that are of interest to users and admins.
88

99

10+
Modules 4.1.2 (2018-03-31)
11+
--------------------------
12+
13+
* Add an example global rc file in ``contrib/etc`` directory that ensures
14+
``MODULEPATH`` is always defined.
15+
* Check ``HOME`` environment variable is defined on ``savelist`` and
16+
``is-saved`` commands or raise error if not.
17+
* Fix saving of deep module default version in collection when version pinning
18+
is disabled: if ``foo/bar/version`` is default version for ``foo``,
19+
collection will retain just ``foo`` (was retaining ``foo/bar``).
20+
* Enable to save and restore collections containing full path modulefiles
21+
eventually with no modulepath defined.
22+
* Run ``puts`` command not related to ``stderr`` or ``stdout`` channels in
23+
calling modulefile context to correctly get access to the targeted file
24+
channel. (fix issue#157)
25+
* Quote ``autoinit`` result for eval interpretation on SH-kind shells to avoid
26+
parameter expansion to randomly occur on generated code depending on file
27+
or directory names of current working directory. (fix RH bug#1549664)
28+
* Ignore empty elements found in ``MODULEPATH``, ``LOADEDMODULES`` or
29+
``_LMFILES_`` to ensure all elements in these variables are non-empty
30+
strings.
31+
* Raise error if loaded environment is in an inconsistent state when calling
32+
commands requiring correlation of information from the ``LOADEDMODULES`` and
33+
the ``_LMFILES_`` environment variables. Error raised on ``load``,
34+
``unload``, ``switch``, ``reload``, ``purge``, ``list``, ``save`` and
35+
``restore`` commands. May affect ``info-loaded`` or ``is-loaded`` commands
36+
if module passed as argument to these command is specified as a full path
37+
modulefile.
38+
* Fix ``list`` command to process loaded modules information before performing
39+
any content output.
40+
* Install: adapt ``configure`` script and Makefiles to support installation on
41+
Cygwin system.
42+
* Detect terminal width on Windows ``cmd`` terminal with ``mode`` command.
43+
* Improve Windows ``cmd`` shell support: error code returned, echoing text,
44+
shell alias creation and removal, working directory change.
45+
* Raise error when an empty module name is passed to module sub-commands like
46+
``load``, ``display`` or ``unload``.
47+
* Raise error when an empty collection name is passed to module sub-commands
48+
like ``save``, ``saveshow`` or ``restore``.
49+
* Raise error when an empty path is passed to module ``unuse`` sub-command,
50+
like already done on ``use`` sub-command.
51+
* Clear argument list if an empty module command name is passed.
52+
* Fix ``module`` function definition for all shells in ``autoinit`` command to
53+
correctly handle empty-string parameters or parameters containing
54+
white-spaces, quotes, escape characters.
55+
* Fix ``module`` function definition for Python to accept being called with no
56+
argument.
57+
* Fix parameter expansion on ``module`` function for all SH-kind shells when
58+
quarantine mode is activated.
59+
* Escape ``\`` character when producing R shell code.
60+
61+
1062
Modules 4.1.1 (2018-02-17)
1163
--------------------------
1264

contrib/rpm/environment-modules.spec.in

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
22

33
Name: environment-modules
4-
Version: 4.1.1
4+
Version: 4.1.2
55
Release: @MODULES_RPM_RELEASE@%{?dist}
66
Summary: Provides dynamic modification of a user's environment
77

@@ -217,6 +217,9 @@ fi
217217

218218

219219
%changelog
220+
* Sat Mar 31 2018 Xavier Delaruelle <[email protected]> - 4.1.2-1
221+
- Update to 4.1.2
222+
220223
* Sat Feb 17 2018 Xavier Delaruelle <[email protected]> - 4.1.1-1
221224
- Update to 4.1.1
222225
- Move hostname requirement to compat subpackage (bug #1545369)

0 commit comments

Comments
 (0)