From f6910a45786db7dd493d0840f1cd8e59de80de2f Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Wed, 4 Sep 2024 09:38:43 +0200 Subject: [PATCH] DEV: patchbot: add direct links to show only specific categories The per-category counters are now clickable so that it becomes possible to list the relevant ones. --- dev/patchbot/scripts/post-ai.sh | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/dev/patchbot/scripts/post-ai.sh b/dev/patchbot/scripts/post-ai.sh index c1abc31cee..3662fc85e9 100755 --- a/dev/patchbot/scripts/post-ai.sh +++ b/dev/patchbot/scripts/post-ai.sh @@ -257,6 +257,16 @@ function updt(line,value) { updt_output(); } +function show_only(b,n,u,w,y) { + document.getElementById("sh_b").checked = !!b; + document.getElementById("sh_n").checked = !!n; + document.getElementById("sh_u").checked = !!u; + document.getElementById("sh_w").checked = !!w; + document.getElementById("sh_y").checked = !!y; + document.getElementById("show_all").checked = true; + updt(0,"r"); +} + // --> @@ -264,17 +274,17 @@ EOF echo "" echo -n "" -echo -n "" -echo -n "" -echo -n "" -echo -n "" +echo -n "" +echo -n "" +echo -n "" +echo -n "" echo -n "" echo "" echo -n "" -echo -n "" -echo -n "" -echo -n "" -echo -n "" +echo -n "" +echo -n "" +echo -n "" +echo -n "" echo -n "" echo "
Backported N: 0 U: 0 W: 0 Y: 0 N: 0 U: 0 W: 0 Y: 0 total: 0
Not backported N: 0 U: 0 W: 0 Y: 0 N: 0 U: 0 W: 0 Y: 0 total: 0

" echo -n "Show:" @@ -287,7 +297,7 @@ echo -n "
(B=show backported, N=no/drop, U=uncertain, W=wait/ne echo ")

" echo "" -echo "" +echo "" seq_num=1; do_check=1; review=0; for patch in "${PATCHES[@]}"; do # try to retrieve the patch's numbering (0001-9999)
All
CIDSubjectVerdict
N U W Y
Reason
All
CIDSubjectVerdict
N U W Y
Reason