[Git][qa/jenkins.debian.net][master] rdn: add rb comments to stats

Holger Levsen (@holger) gitlab at salsa.debian.org
Mon Aug 25 11:12:56 BST 2025



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


Commits:
785d5ba6 by Jochen Sprickerhof at 2025-08-25T12:12:47+02:00
rdn: add rb comments to stats

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

- - - - -


1 changed file:

- bin/rebuilderd_stats.py


Changes:

=====================================
bin/rebuilderd_stats.py
=====================================
@@ -278,7 +278,11 @@ def output(outfile, arch, db_size, total, messages_packages, size_sort, api):
             if pkg["diff"]:
                 print(f'<a href="../{api}/builds/{pkg["id"]}/diffoscope">💠</a>', end='', file=outfile)
             print(f'<a href="https://tracker.debian.org/pkg/{pkg["src"]}">🍥</a>', end='', file=outfile)
-            print(f'<a href="https://tests.reproducible-builds.org/debian/rb-pkg/trixie/{ci_arch}/{pkg["src"]}.html">🔬</a>', end='', file=outfile)
+            comment_title = ""
+            if pkg["src"] in rn_bugs and "comments" in rn_bugs[pkg["src"]]:
+                comment = rn_bugs[pkg["src"]]["comments"].replace("\n", "
")
+                comment_title = f' title="{comment}"'
+            print(f'<a href="https://tests.reproducible-builds.org/debian/rb-pkg/trixie/{ci_arch}/{pkg["src"]}.html"{comment_title}>🔬</a>', end='', file=outfile)
             if pkg["src"] in rn_bugs and "bugs" in rn_bugs[pkg["src"]]:
                 for bug in rn_bugs[pkg["src"]]["bugs"]:
                     print(f'<a style="color: #FF0000;" href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug={bug}">#</a>', end='', file=outfile)



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

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


More information about the Qa-jenkins-scm mailing list