[Git][qa/jenkins.debian.net][master] reproducible Debian: also export data for unstable to reproducible-tracker.json

Holger Levsen (@holger) gitlab at salsa.debian.org
Wed Aug 30 12:36:27 BST 2023



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


Commits:
ad86258b by Holger Levsen at 2023-08-30T13:36:08+02:00
reproducible Debian: also export data for unstable to reproducible-tracker.json

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

- - - - -


2 changed files:

- bin/reproducible_json.py
- job-cfg/reproducible.yaml


Changes:

=====================================
bin/reproducible_json.py
=====================================
@@ -49,18 +49,17 @@ crossarchkeys = ['package', 'version', 'suite', 'status']
 archdetailkeys = ['architecture', 'version', 'status', 'build_date']
 
 # crossarch is a dictionary of all packages used to build a summary of the
-# package's test results across all archs (for suite=unstable only)
+# package's test results across all archs and all suites
 crossarch = {}
 
-crossarchversions = {}
 for row in result:
     pkg = dict(zip(keys, row))
     pkg['build_date'] = str(pkg['build_date'])
     log.debug(pkg)
     output.append(pkg)
 
-    # tracker.d.o should only care about results in testing
-    if pkg['suite'] == 'trixie':
+    # tracker.d.o should only care about results in testing and unstable
+    if pkg['suite'] in ("trixie", "unstable"):
 
         if pkg["status"] in ("E404", "NFU", "blacklisted"):
             # don't export these states in reproducible-tracker.json


=====================================
job-cfg/reproducible.yaml
=====================================
@@ -637,7 +637,7 @@
                     my_timed: '30 6 1 * *'
                     my_hname: 'osuosl3'
                 - 'json':
-                    my_description: 'Generate https://reproducible.debian.net/userContent/reproducible.json for consumption by tracker.debian.org.'
+                    my_description: 'Generate https://reproducible.debian.net/userContent/reproducible.json and https://reproducible.debian.net/userContent/reproducible-tracker.json'
                     my_timed: '1 H/2 * * *'
                     my_shellext: ".py"
                 - 'html_alpine':



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/ad86258b8406e5186ddd8ffc4aff401cdbfb4cb6
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/20230830/39304c1c/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list