[Git][qa/jenkins.debian.net][master] rdn stats: fix t.r-b.o link

Holger Levsen (@holger) gitlab at salsa.debian.org
Fri Aug 29 14:46:12 BST 2025



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


Commits:
a797c49f by Jochen Sprickerhof at 2025-08-29T15:46:00+02:00
rdn stats: fix t.r-b.o link

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

- - - - -


1 changed file:

- bin/rebuilderd_stats.py


Changes:

=====================================
bin/rebuilderd_stats.py
=====================================
@@ -266,6 +266,11 @@ def output(outfile, arch, db_size, total, messages_packages, size_sort, api):
         ci_arch = 'amd64'
     else:
         ci_arch = arch
+
+    ci_release = args.release.split("-", 1)[0]
+    if args.release == "experimental":
+        ci_release = "unstable"
+
     for message, packages in messages_packages.items():
         anchor = message.replace(" ", "-")
         message = sub(r'(#)([0-9]*)', r'https://bugs.debian.org/\2', message)
@@ -285,7 +290,7 @@ def output(outfile, arch, db_size, total, messages_packages, size_sort, api):
                 else:
                     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)
+            print(f'<a href="https://tests.reproducible-builds.org/debian/rb-pkg/{ci_release}/{ci_arch}/{pkg["src"]}.html">🔬</a>', end='', file=outfile)
             if rn_bug := rn_bugs.get(pkg["src"]):
                 if comments := rn_bug.get("comments"):
                     comments = escape(comments).replace("\n", "
")



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

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


More information about the Qa-jenkins-scm mailing list