Skip to content

Commit c5e220c

Browse files
committed
doc: desc. require_via in NEWS
Signed-off-by: Xavier Delaruelle <[email protected]>
1 parent aaaf65e commit c5e220c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

NEWS.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,17 @@ Modules 5.6.0 (not yet released)
159159
of these files, which is enabled by default, is controlled by the
160160
:instopt:`--enable-emacs-addons` and :instopt:`--emacsdatadir` configure
161161
options. (contribution from Laurent Besson)
162+
* Add :mconfig:`require_via` configuration option that controls whether or not
163+
a requirement is considered between a module stored in a modulepath and the
164+
loaded module that enables this modulepath. With :ref:`Automated module
165+
handling mechanisms<MODULES_AUTO_HANDLING>` enabled, modules stored in a
166+
modulepath are unloaded or reloaded when the module enabling this modulepath
167+
is changed. :mconfig:`require_via` is disabled by default but everyone
168+
willing to hierarchically organize their modulefiles is encouraged to enable
169+
this new option. This option can be changed at installation time with
170+
:instopt:`--enable-require-via`. When :mconfig:`require_via` is changed with
171+
:subcmd:`config` sub-command, it sets the :envvar:`MODULES_REQUIRE_VIA`
172+
environment variable.
162173
* Install: installation option :instopt:`--enable-new-features` is updated to
163174
include :instopt:`--enable-require-via`.
164175
* Doc: add :ref:`require-via` design notes.

0 commit comments

Comments
 (0)