[Git][qa/jenkins.debian.net][master] rdn: add notes icon

Holger Levsen (@holger) gitlab at salsa.debian.org
Mon Aug 25 15:19:20 BST 2025



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


Commits:
60c5bfb3 by Jochen Sprickerhof at 2025-08-25T16:17:14+02:00
rdn: add notes icon

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

- - - - -


1 changed file:

- bin/rebuilderd_stats.py


Changes:

=====================================
bin/rebuilderd_stats.py
=====================================
@@ -278,13 +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)
-            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 href="https://tests.reproducible-builds.org/debian/rb-pkg/trixie/{ci_arch}/{pkg["src"]}.html">🔬</a>', end='', file=outfile)
+            if rn_bug := rn_bugs.get(pkg["src"]):
+                if comments := rn_bug.get("comments"):
+                    print(f'<span title="{comments.replace("\n", "
")}">🗈</span>', end='', file=outfile)
+                for bug in rn_bug.get("bugs", []):
                     print(f'<a style="color: #FF0000;" href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug={bug}">#</a>', end='', file=outfile)
             print(" ", file=outfile)
             span += 1



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

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


More information about the Qa-jenkins-scm mailing list