[Git][qa/jenkins.debian.net][master] r.d.n: merge `categorized issues` links into `reproduced builds` column

Holger Levsen (@holger) gitlab at salsa.debian.org
Thu Feb 20 19:47:16 GMT 2025



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


Commits:
f4d2cc82 by James Addison at 2025-02-20T20:46:57+01:00
r.d.n: merge `categorized issues` links into `reproduced builds` column

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

- - - - -


1 changed file:

- hosts/osuosl5-amd64/var/www/html/index.html


Changes:

=====================================
hosts/osuosl5-amd64/var/www/html/index.html
=====================================
@@ -49,6 +49,19 @@
         <script>
         document.addEventListener('DOMContentLoaded', function() {
             // display stats
+            function spanWith(text) {
+                let s = document.createElement('span');
+                s.textContent = text;
+                return s;
+            }
+
+            function linkTo(href, text) {
+                let a = document.createElement('a');
+                a.href = href;
+                a.textContent = text;
+                return a;
+            }
+
             function updateStats(element, pad, arch, data) {
                 let div = document.getElementById(element+'-'+arch);
                 // clear children
@@ -59,6 +72,11 @@
                     let key = row[0] + ': ';
                     r.textContent = key.padEnd(pad) + row[1];
                     div.appendChild(r);
+                    if ('bad' === row[0]) {
+                        div.appendChild(spanWith('('));
+                        div.appendChild(linkTo(`/${arch}/stats/`, 'reasons'));
+                        div.appendChild(spanWith(')'));
+                    }
                 });
             }
 
@@ -116,7 +134,7 @@
 	</p>
 	<table>
 	<tr>
-	<th width=20%><code>suite/arch</code></th><th width=20%>reproduced builds</th><th width=20%>graph</th><th width=20%>categorized issues</th><th width=20%>percentage tried / queued sources</th>
+	<th width=25%><code>suite/arch</code></th><th width=25%>reproduced builds</th><th width=25%>graph</th><th width=25%>percentage tried / queued sources</th>
 	</tr><tr>
 	<td>
 		<a href="https://reproduce.debian.net/all/">
@@ -128,8 +146,6 @@
 		<a href="https://reproduce.debian.net/all/">
 			<img src="https://reproduce.debian.net/all/stats/rb.png">
 		</a>
-	</td><td>
-		<a href="https://reproduce.debian.net/all/stats/">unreproduced packages</a>
 	</td><td>
 		<div id="progress-all">Loading progress...</div>
 	</td></tr><tr><td>
@@ -142,8 +158,6 @@
 		<a href="https://reproduce.debian.net/amd64/">
 			<img src="https://reproduce.debian.net/amd64/stats/rb.png">
 		</a>
-	</td><td>
-		<a href="https://reproduce.debian.net/amd64/stats/">unreproduced packages</a>
 	</td><td>
 		<div id="progress-amd64">Loading progress...</div>
 	</td></tr><tr><td>
@@ -156,8 +170,6 @@
 		<a href="https://reproduce.debian.net/arm64/">
 			<img src="https://reproduce.debian.net/arm64/stats/rb.png">
 		</a>
-	</td><td>
-		<a href="https://reproduce.debian.net/arm64/stats/">unreproduced packages</a>
 	</td><td>
 		<div id="progress-arm64">Loading progress...</div>
 	</td></tr><tr><td>
@@ -170,8 +182,6 @@
 		<a href="https://reproduce.debian.net/armhf/">
 			<img src="https://reproduce.debian.net/armhf/stats/rb.png">
 		</a>
-	</td><td>
-		<a href="https://reproduce.debian.net/armhf/stats/">unreproduced packages</a>
 	</td><td>
 		<div id="progress-armhf">Loading progress...</div>
 	</td></tr><tr><td>
@@ -184,8 +194,6 @@
 		<a href="https://reproduce.debian.net/i386/">
 			<img src="https://reproduce.debian.net/i386/stats/rb.png">
 		</a>
-	</td><td>
-		<a href="https://reproduce.debian.net/i386/stats/">unreproduced packages</a>
 	</td><td>
 		<div id="progress-i386">Loading progress...</div>
 	</td></tr><tr><td>
@@ -198,8 +206,6 @@
 		<a href="https://reproduce.debian.net/riscv64/">
 			<img src="https://reproduce.debian.net/riscv64/stats/rb.png">
 		</a>
-	</td><td>
-		<a href="https://reproduce.debian.net/riscv64/stats/">unreproduced packages</a>
 	</td><td>
 		<div id="progress-riscv64">Loading progress...</div>
 	</td></tr>



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

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


More information about the Qa-jenkins-scm mailing list