[Git][qa/jenkins.debian.net][master] Add bugs from reproducible-builds

Holger Levsen (@holger) gitlab at salsa.debian.org
Fri May 2 08:54:51 BST 2025



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


Commits:
ca46c050 by Jochen Sprickerhof at 2025-05-02T09:54:43+02:00
Add bugs from reproducible-builds

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


2 changed files:

- bin/rebuilderd_manual_scheduler.sh
- bin/rebuilderd_stats.py


Changes:

=====================================
bin/rebuilderd_manual_scheduler.sh
=====================================
@@ -38,7 +38,7 @@ SUCCESSES=""
 s=0
 FAILURES=""
 f=0
-for i in $(echo -e $PKGS | tr -d 🍥 | tr -d ♻ | tr -d 💠) ; do
+for i in $(echo -e $PKGS | tr -d 🍥 | tr -d 🔬 | tr -d 💠) ; do
 	echo -n "Scheduling $i: "
 	if rebuildctl -H http://127.0.0.1:$PORT pkgs requeue --reset --distro debian --name $i ; then
 		SUCCESSES="$SUCCESSES $i"


=====================================
bin/rebuilderd_stats.py
=====================================
@@ -12,8 +12,10 @@ from os import path
 from re import DOTALL, search, sub
 from sqlite3 import connect
 from sys import argv
+from urllib.request import urlopen
 
 from psutil._common import bytes2human
+from yaml import safe_load
 
 
 def main() -> None:
@@ -97,6 +99,9 @@ def main() -> None:
                 break
     messages_packages = {k: v for k, v in messages_packages.items() if v}  # Remove empty categories
 
+    with urlopen("https://salsa.debian.org/reproducible-builds/reproducible-notes/-/raw/master/packages.yml?ref_type=heads") as rn:
+        rn_bugs = safe_load(rn)
+
     print(
         '<!DOCTYPE html><html lang="en"><head>'
         '<meta charset="utf-8">'
@@ -143,7 +148,10 @@ def main() -> None:
             if pkg["diff"]:
                 print(f'<a href="https://reproduce.debian.net/{arch}/api/v0/builds/{pkg["id"]}/diffoscope">💠</a>', end='')
             print(f'<a href="https://tracker.debian.org/pkg/{pkg["src"]}">🍥</a>', end='')
-            print(f'<a href="https://tests.reproducible-builds.org/debian/rb-pkg/trixie/{ci_arch}/{pkg["src"]}.html">♻</a>', end='')
+            print(f'<a href="https://tests.reproducible-builds.org/debian/rb-pkg/trixie/{ci_arch}/{pkg["src"]}.html">🔬</a>', end='')
+            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='')
             print(" ")
             span += 1
             if span == 256:



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

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


More information about the Qa-jenkins-scm mailing list