[rb-general] reproducible.json

Bernhard M. Wiedemann bernhardout at lsmod.de
Thu Jul 6 17:07:32 CEST 2017


Hi,

during last IRC meeting we had a bit of discussion on the
reproducible.json format I described in
http://rb.zq1.de/spec/json-format.txt

as produced regularly by my scripts in the reproducibleopensuse git repo
and published at
http://rb.zq1.de/compare.factory/reproducible.json

My hope is for tests.r-b.o to be able to graph statistics from this (or
similar) input data in the future to give better visibility of progress.


Here is some sample code to filter for unreproducible packages built
before a certain date:

#!/usr/bin/python
import json
data = json.load(open('reproducible.json'))

for entry in data:
    if entry['status'] != 'unreproducible':
        continue
    if entry['build_date'] > 1497500000:
        continue
    print(entry['package'])


More information about the rb-general mailing list