Skip to content
Commits on Source (2)
......@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
# Copyright © 2015-2018 Mattia Rizzolo <mattia@mapreri.org>
# Copyright © 2015 Holger Levsen <holger@layer-acht.org>
# Copyright © 2015-2019 Holger Levsen <holger@layer-acht.org>
# Based on various reproducible_* files © 2014-2015 Holger Levsen <holger@layer-acht.org>
# Licensed under GPL-2
#
......@@ -23,6 +23,8 @@ from rblib.utils import print_critical_message
now = datetime.now().strftime("%Y-%m-%d-%H-%M-%S")
# the current schema is here:
# https://tests.reproducible-builds.org/reproducibledb.html
# the original schema is here
db_schema = [
......@@ -688,7 +690,7 @@ schema_updates = {
"INSERT INTO distributions (name) VALUES "
"('openwrt')"
],
43: [
43: [ # Arch Linux should use the same stati as Debian
"UPDATE results SET status='reproducible' WHERE status='GOOD'",
"UPDATE results SET status='blacklisted' WHERE status='BLACKLISTED'"
],
......@@ -712,6 +714,10 @@ schema_updates = {
FROM bullseye AS b JOIN sr ON b.name=sr.name
AND b.architecture=sr.architecture""",
],
45: [ # fixup #43
"UPDATE stats_build SET status='reproducible' WHERE status='GOOD'",
"UPDATE stats_build SET status='blacklisted' WHERE status='BLACKLISTED'"
],
}
......