[Git][qa/jenkins.debian.net][master] rdn: adopt a bit to the new api
Holger Levsen (@holger)
gitlab at salsa.debian.org
Fri Aug 22 12:53:33 BST 2025
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
d70f829c by Holger Levsen at 2025-08-22T13:53:21+02:00
rdn: adopt a bit to the new api
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- hosts/osuosl5-amd64/var/www/html/amd64-pull184/index.html
Changes:
=====================================
hosts/osuosl5-amd64/var/www/html/amd64-pull184/index.html
=====================================
@@ -73,9 +73,10 @@
function searchPkgs(query) {
let div = document.getElementById('search-results');
- let url = '/amd64-pull184/api/v0/pkgs/list?' + new URLSearchParams({
+ let url = '/amd64-pull184/api/v1/pkgs/list?' + new URLSearchParams({
name: query,
distro: 'debian',
+ release: 'forky',
});
fetch(url)
.then(response => response.json())
@@ -103,19 +104,19 @@
if (build_id) {
r.appendChild(spanWith(' ['));
- r.appendChild(linkTo(`/amd64-pull184/api/v0/builds/${build_id}/log`, 'log'));
+ r.appendChild(linkTo(`/amd64-pull184/api/v1/builds/${build_id}/log`, 'log'));
r.appendChild(spanWith(']'));
}
if (pkg.has_attestation) {
r.appendChild(spanWith(' ['));
- r.appendChild(linkTo(`/amd64-pull184/api/v0/builds/${build_id}/attestation`, 'attestation'));
+ r.appendChild(linkTo(`/amd64-pull184/api/v1/builds/${build_id}/attestation`, 'attestation'));
r.appendChild(spanWith(']'));
}
if (pkg.has_diffoscope) {
r.appendChild(spanWith(' ['));
- r.appendChild(linkTo(`/amd64-pull184/api/v0/builds/${build_id}/diffoscope`, 'diffoscope'));
+ r.appendChild(linkTo(`/amd64-pull184/api/v1/builds/${build_id}/diffoscope`, 'diffoscope'));
r.appendChild(spanWith(']'));
}
@@ -150,7 +151,7 @@
}
function fetchStats() {
- fetch('/amd64-pull184/api/v0/dashboard')
+ fetch('/amd64-pull184/api/v1/dashboard?release=forky')
.then(response => response.json())
.then(data => {
let div = document.getElementById('stats');
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/d70f829c1b6b9ed095405cce0383d7d0fcf81af1
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/d70f829c1b6b9ed095405cce0383d7d0fcf81af1
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/20250822/1df0e24c/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list