Skip to content

Commit 4c901e6

Browse files
committed
doc: desc. module-warn and associated changes in NEWS
Signed-off-by: Xavier Delaruelle <[email protected]>
1 parent df30810 commit 4c901e6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

NEWS.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,18 @@ Modules 5.6.0 (not yet released)
115115
* Update :mfcmd:`add-property` modulefile command to use its *value* argument
116116
to define tag on currently loading module.
117117
* Doc: add :ref:`module-warn` design notes.
118+
* Add :mfcmd:`module-warn` modulerc and modulefile command which prints a
119+
warning message when designated modulefile is evaluated. This command
120+
accepts options to emit the warning only for specific users, groups or
121+
times.
122+
* Introduce the ``warning`` informational :ref:`module tag<Module tags>` on
123+
modulefiles targeted by :mfcmd:`module-warn` command. Update default
124+
:mconfig:`tag_abbrev` configuration option to add an abbreviation for the
125+
new tag (``W``) and default light and dark color palettes.
126+
* Change light and dark color palettes for ``nearly-forbidden`` tag (red text
127+
with yellow background), to make it look closer to ``forbidden`` tag (red
128+
background) and distinguish it from new ``warning`` tag (black text and
129+
yellow background).
118130

119131
.. _Security policy: https://github.com/envmodules/modules/blob/main/SECURITY.md
120132
.. _Modules chat room: https://matrix.to/#/#modules:matrix.org

0 commit comments

Comments
 (0)