[Git][qa/jenkins.debian.net][master] r.d.n/stats: sort by bugs

Holger Levsen (@holger) gitlab at salsa.debian.org
Fri May 2 09:36:28 BST 2025



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


Commits:
b38ac088 by Jochen Sprickerhof at 2025-05-02T10:36:19+02:00
r.d.n/stats: sort by bugs

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/rebuilderd_stats.py


Changes:

=====================================
bin/rebuilderd_stats.py
=====================================
@@ -143,7 +143,7 @@ def main() -> None:
         print(f'\n<h2 id="{anchor}">{message}</h2>')
         span = 0
         print("<p><span>")
-        for pkg in packages:
+        for pkg in sorted(packages, key=lambda pkg: pkg["src"] in rn_bugs and "bugs" in rn_bugs[pkg["src"]]):
             print(f'<a href="https://reproduce.debian.net/{arch}/api/v0/builds/{pkg["id"]}/log">{pkg["name"]}</a> ', end='')
             if pkg["diff"]:
                 print(f'<a href="https://reproduce.debian.net/{arch}/api/v0/builds/{pkg["id"]}/diffoscope">💠</a>', end='')



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/b38ac08842f387dc4ab9c325e77d838d7233d8df
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/20250502/b5e1d374/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list