release 1.15.7: mon HTML SUMMARY classify + no converter noise

This commit is contained in:
Hernâni Marques 2026-07-19 05:20:41 +02:00
parent a5562cf5fb
commit b72a4f21cb
No known key found for this signature in database
GPG key ID: CB5738652768F7E9
4 changed files with 84 additions and 19 deletions

View file

@ -353,7 +353,13 @@ htmlify_host() {
mkdir -p "$HTML_BASE/$host/${HTML_OK_DIR}" "$HTML_BASE/$host/${HTML_ERR_DIR}"
if [ -n "$SITE_GEN" ] && [ -f "$SITE_GEN/console_to_html.py" ]; then
python3 "$SITE_GEN/console_to_html.py" \
# PYTHONWARNINGS: never let SyntaxWarning leak into the suite log (tee).
# stderr → agent log file only, not the mon console stream.
_mon_html_py() {
PYTHONWARNINGS=ignore::SyntaxWarning \
python3 "$SITE_GEN/console_to_html.py" "$@" 2>>"${LOG_DIR:-/tmp}/console_to_html.err"
}
_mon_html_py \
--lang "${TALER_MON_LANG:-en}" \
--log "$LOG" \
--out "$mon_err" \
@ -368,7 +374,7 @@ htmlify_host() {
--path-err "$HTML_URL_ERR" \
--link-other "$HTML_URL_OK"
if [ "$ec" -eq 0 ]; then
python3 "$SITE_GEN/console_to_html.py" \
_mon_html_py \
--lang "${TALER_MON_LANG:-en}" \
--log "$LOG" \
--out "$mon" \
@ -385,7 +391,7 @@ htmlify_host() {
rm -rf "$HTML_BASE/$host/${HTML_ERR_DIR}"
echo "html $host${HTML_URL_OK} only (clean · ${COMMIT_SHORT:-?})"
else
python3 "$SITE_GEN/console_to_html.py" \
_mon_html_py \
--lang "${TALER_MON_LANG:-en}" \
--log "$LOG" \
--out "$mon" \