From b691349c5e8f74ab921d88a281245aceb42b3806 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Tue, 26 May 2015 21:34:43 +0200 Subject: reproducible: add another flag to the db, "notify_maintainer" to indicate that any status change on this package should be mailed to the maintainers. Also teach the build script how to handle that, emailing $pkgname@packages.debian.org --- bin/reproducible_db_maintenance.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin/reproducible_db_maintenance.py') diff --git a/bin/reproducible_db_maintenance.py b/bin/reproducible_db_maintenance.py index b3aa9385..b2947384 100755 --- a/bin/reproducible_db_maintenance.py +++ b/bin/reproducible_db_maintenance.py @@ -373,6 +373,9 @@ schema_updates = { date_request INTEGER NOT NULL)''', 'ALTER TABLE schedule ADD COLUMN scheduler TEXT', 'INSERT INTO rb_schema VALUES ("13", "' + now + '")'], + 14: [ # column to enable mail notification to maintainers + 'ALTER TABLE sources ADD COLUMN notify_maintainer INTEGER NOT NULL DEFAULT 0', + 'INSERT INTO rb_schema VALUES ("14", "' + now + '")'], } -- cgit v1.2.3-54-g00ecf