[Git][qa/jenkins.debian.net][master] rdn: stats encode < and >

Holger Levsen (@holger) gitlab at salsa.debian.org
Tue Aug 26 21:44:44 BST 2025



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


Commits:
d2a41864 by Jochen Sprickerhof at 2025-08-26T22:44:29+02:00
rdn: stats encode < and >

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

- - - - -


1 changed file:

- bin/rebuilderd_stats.py


Changes:

=====================================
bin/rebuilderd_stats.py
=====================================
@@ -287,7 +287,8 @@ def output(outfile, arch, db_size, total, messages_packages, size_sort, api):
             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)
+                    comments = comments.replace("\n", "
").replace("<", "<").replace(">", ">")
+                    print(f'<span title="{comments}">🗈</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)



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

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


More information about the Qa-jenkins-scm mailing list