From 2d7af7a960045056403d07d6fa484b2d0e599e17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hern=C3=A2ni=20Marques?= Date: Sun, 19 Jul 2026 05:49:42 +0200 Subject: [PATCH 01/33] release 1.16.0: mon sticky info/ok filters + suite version under pill --- VERSION | 2 +- VERSIONS.md | 1 + site-gen/console_to_html.py | 189 ++++++++++++++++++++++++++++-------- 3 files changed, 149 insertions(+), 43 deletions(-) diff --git a/VERSION b/VERSION index 98e863c..15b989e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.15.8 +1.16.0 diff --git a/VERSIONS.md b/VERSIONS.md index 2cdc5a5..ee6efdf 100644 --- a/VERSIONS.md +++ b/VERSIONS.md @@ -17,6 +17,7 @@ Git tags: `vMAJOR.FEATURE.FIX` (e.g. `v1.8.0`). File `VERSION` omits the `v` pre | Tag | Date (UTC) | Notes | |-----|------------|--------| +| **v1.16.0** | 2026-07-19 | **Feature:** mon sticky — blue **info** + green **ok** filter badges; suite **version tag under status pill** (not blue badge); filters `#filter-info` / `#filter-ok`. | | **v1.15.8** | 2026-07-19 | **Bugfix:** mon HTML filter JS — drop literal box-drawing / `\-` regex that caused Python SyntaxWarning (and weird glyphs in suite logs); use Unicode code-point loop instead. | | **v1.15.7** | 2026-07-19 | **Bugfix:** mon HTML — do not paint «perf/ladder summary» as SUMMARY header (restore 2 INFO lines); drop converter SyntaxWarning/noise from public log; «wrote» on stderr; host-agent PYTHONWARNINGS for convert. | | **v1.15.6** | 2026-07-19 | **Bugfix:** aptdeploy ERROR jump list is self-contained — systemd httpd failures include before/after state, Result/SubState, failed units, and journal snippets (no more vague «see systemd lines»); ldd/--version errors embed concrete missing libs / exit output. | diff --git a/site-gen/console_to_html.py b/site-gen/console_to_html.py index 64463f5..184e525 100755 --- a/site-gen/console_to_html.py +++ b/site-gen/console_to_html.py @@ -1035,6 +1035,8 @@ def sticky_bar_html( scope: dict[str, object] | None = None, suite_version: str = "", suite_version_url: str = "", + n_info: int = 0, + n_ok: int = 0, ) -> str: level = status_level(n_err, n_warn) lang = "en" @@ -1082,6 +1084,30 @@ def sticky_bar_html( warn_lbl = ui(lang, "warn_many", n=n_warn) warn_stat = f'{html.escape(warn_lbl)}' + # Blue badge = INFO filter (v1.16.0) + if n_info: + info_lbl = ui(lang, "info_one", n=n_info) if n_info == 1 else ui(lang, "info_many", n=n_info) + info_stat = ( + f'{html.escape(info_lbl)}' + ) + else: + info_lbl = ui(lang, "info_many", n=n_info) + info_stat = f'{html.escape(info_lbl)}' + + # Green count badge = OK-only filter + if n_ok: + ok_lbl = ui(lang, "ok_one", n=n_ok) if n_ok == 1 else ui(lang, "ok_many", n=n_ok) + ok_stat = ( + f'{html.escape(ok_lbl)}' + ) + else: + ok_lbl = ui(lang, "ok_many", n=n_ok) + ok_stat = f'{html.escape(ok_lbl)}' + filter_chip = ( f'