mirror of
https://github.com/envmodules/modules.git
synced 2026-06-14 00:42:43 +08:00
doc: desc. 'loaded' sym in NEWS/MIGRATING
This commit is contained in:
@@ -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
|
||||
=================
|
||||
|
||||
3
NEWS.rst
3
NEWS.rst
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user