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

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



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


Commits:
c134bf90 by Jochen Sprickerhof at 2025-05-21T17:11:00+02:00
r.d.n./stats: reverse sort order

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

- - - - -


1 changed file:

- bin/rebuilderd_stats.py


Changes:

=====================================
bin/rebuilderd_stats.py
=====================================
@@ -134,7 +134,7 @@ def main() -> None:
     )
     print("</table>")
 
-    print('<p>Packages are ordered by <em>not</em> having a bug in <a href="https://salsa.debian.org/reproducible-builds/reproducible-notes">reproducible-notes</a> primary and secondary by build time (newer logs later).</p>')
+    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.</p>')
 
     if arch not in ['amd64', 'arm64', 'armhf', 'i386']:
         ci_arch = 'amd64'
@@ -148,7 +148,7 @@ def main() -> None:
         span = 0
         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"]]):
+        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"]]:
                 bug_break = True
                 print("</span></p><p><span>")



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

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


More information about the Qa-jenkins-scm mailing list