[Git][qa/jenkins.debian.net][master] rdn: sort bugs with comments in the first group

Holger Levsen (@holger) gitlab at salsa.debian.org
Mon Aug 25 17:05:06 BST 2025



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


Commits:
b3356921 by Jochen Sprickerhof at 2025-08-25T18:04:28+02:00
rdn: sort bugs with comments in the first group

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

- - - - -


1 changed file:

- bin/rebuilderd_stats.py


Changes:

=====================================
bin/rebuilderd_stats.py
=====================================
@@ -252,8 +252,9 @@ def output(outfile, arch, db_size, total, messages_packages, size_sort, api):
         print('<p>Packages are grouped by having a bug in <a href="https://salsa.debian.org/reproducible-builds/reproducible-notes">reproducible-notes</a> and sorted by build time (newer logs later) inside the group. There is also a <a href="index_size.html">page</a> sorted by diffoscope size.</p>', file=outfile)
 
     def sorter(pkg):
-        if pkg["src"] in rn_bugs and "bugs" in rn_bugs[pkg["src"]]:
-            return -1
+        if rn_bug := rn_bugs[pkg["src"]]:
+            if "bugs" in rn_bug or "comments" in rn_bug:
+                return -1
         if size_sort:
             return pkg["diff"]
         return 1



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/b3356921e5bcb918a17c61fb86209fb9890040fe
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/20250825/dd5cb2f3/attachment.htm>


More information about the Qa-jenkins-scm mailing list