From 835df2eee3b861c1428b56f34347871fd31a7fdd Mon Sep 17 00:00:00 2001 From: Xavier Delaruelle Date: Sun, 21 Jan 2024 09:31:03 +0100 Subject: [PATCH] doc: desc. in NEWS report and conflict mngt changes --- .hunspell.en.dic | 1 + NEWS.rst | 17 ++++++++++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.hunspell.en.dic b/.hunspell.en.dic index d6877afde..6469f825c 100644 --- a/.hunspell.en.dic +++ b/.hunspell.en.dic @@ -567,6 +567,7 @@ mksh mlprof mlstatus mmap +mngt modEq modEqStatic modStartNb diff --git a/NEWS.rst b/NEWS.rst index 67d43f137..9948b7eb5 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -125,11 +125,22 @@ Modules 5.4.0 (not yet released) from a modulefile. * No *Switching* block message report when :mfcmd:`module switch` command is run from a modulefile. -* Report all error messages locally under *Loading* or *Unloading* block - message rather reporting some of them under the block message of the main - action. +* Report all error and warning messages locally under *Loading* or *Unloading* + block message rather reporting some of them under the block message of the + main action. These errors and warnings are thus reported where they occur. * Report switched-on load failure as error rather warning. * Report switched-on module locating or access issues only once. +* Report conflict error message when it occurs rather than after modulefile + evaluation. +* Update conflict error message to report all conflicting modules name and + version rather conflict module specification. +* Fix conflict error check to avoid reporting both *unloading conflict failed* + and *conflict is loading* messages. +* Raise an error and stop modulefile evaluation when :mfcmd:`module + switch` command fails unless if :option:`--force` option is set. +* When a *useless requirement unload* fails, do not increase error count as + this failure is reported as a warning and main unload process is not + affected. .. _5.3 release notes: