[Git][qa/jenkins.debian.net][master] r.d.n./stats: fix grouping after reversing the order

Holger Levsen (@holger) gitlab at salsa.debian.org
Wed May 21 16:41:34 BST 2025



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
eaa0ec61 by Jochen Sprickerhof at 2025-05-21T17:41:26+02:00
r.d.n./stats: fix grouping after reversing the order

(cherry picked from commit bef74be67f89c2a8be7db97eaf9305505b4e8291)
Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/rebuilderd_stats.py


Changes:

=====================================
bin/rebuilderd_stats.py
=====================================
@@ -149,7 +149,7 @@ def main() -> None:
         bug_break = False
         print("<p><span>")
         for pkg in sorted(packages, key=lambda pkg: pkg["src"] in rn_bugs and "bugs" in rn_bugs[pkg["src"]], reverse=True):
-            if not bug_break and pkg["src"] in rn_bugs and "bugs" in rn_bugs[pkg["src"]]:
+            if not bug_break and not (pkg["src"] in rn_bugs and "bugs" in rn_bugs[pkg["src"]]):
                 bug_break = True
                 print("</span></p><p><span>")
             print(f'<a href="https://reproduce.debian.net/{arch}/api/v0/builds/{pkg["id"]}/log">{pkg["name"]}</a> ', end='')



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/eaa0ec61975c302b320ee1fa093dc2444cc994ff

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/eaa0ec61975c302b320ee1fa093dc2444cc994ff
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20250521/56f93f7a/attachment.htm>


More information about the Qa-jenkins-scm mailing list