doc: desc. 'loaded' sym in NEWS/MIGRATING

This commit is contained in:
Xavier Delaruelle
2020-11-08 10:45:04 +01:00
parent e508673b9f
commit f75e2ef217
2 changed files with 25 additions and 0 deletions

View File

@@ -45,6 +45,28 @@ The :mfvar:`ModuleTool` and :mfvar:`ModuleToolVersion` variables and the
:mfcmd:`versioncmp` modulefile command are supported by the `Lmod`_ project
starting version ``8.4.8``.
Symbolic version to designate module loaded version
---------------------------------------------------
When the `Advanced module version specifiers`_ is enabled, the ``loaded``
symbolic version may be used to designate the currently loaded version of
specified module.
.. code-block:: console
$ ml display foo@loaded
-------------------------------------------------------------------
/path/to/modulefiles/foo/1.0:
module-whatis foo/1.0
-------------------------------------------------------------------
If no version of specified module can be found loaded, an error is returned.
.. code-block:: console
$ ml display foo@loaded
ERROR: No loaded version found for 'foo' module
From v4.5 to v4.6
=================

View File

@@ -57,6 +57,9 @@ Modules 4.7.0 (not yet released)
* Remove the pre-definition of runtime states with no specific property. These
basic states are defined on-the-fly which implied they are not reported on a
:subcmd:`module config --dump-state<config>` command unless if instanciated.
* Introduce the ``loaded`` symbolic version among advanced version specifiers
(e.g. ``foo@loaded``) to designate the currently loaded version of specified
module. (fix issue #366)
.. _4.6 release notes: