haproxy/dev/patchbot/scripts
Willy Tarreau 896d452015 DEV: patchbot: use checked buttons as reference instead of internal table
The statuses[] table was pre-filled from the shell code during
initialization based on the evaluation and the buttons pre-checked
accordingly, but upon reload, the checked buttons are preserved and
the statuses reinitialized, leading to a different status and color
on lines that were changed.

In practice we don't need this table and we can directly check each
button's state. This makes sure that displayed state is consistent
with checked buttons and allows to preserve the statuses upon reloads
to benefit from updates. Only the start of the review is reset upon
reload now (this allows to consider latest backport state). Of course,
a full reload (shift-ctrl-R) continues to reset the form.
2023-12-19 16:22:04 +01:00
..
post-ai.sh DEV: patchbot: use checked buttons as reference instead of internal table 2023-12-19 16:22:04 +01:00
process-patch-v15.sh DEV: patchbot: add the AI-based bot to pre-select candidate patches to backport 2023-12-18 20:50:51 +01:00
submit-ai.sh DEV: patchbot: add the AI-based bot to pre-select candidate patches to backport 2023-12-18 20:50:51 +01:00
update-3.0.sh DEV: patchbot: add the AI-based bot to pre-select candidate patches to backport 2023-12-18 20:50:51 +01:00