[Qa-jenkins-scm] [jenkins.debian.net] 01/05: reproducible: db 17: add a 'builder' column to schedule, results, stats_build to save who builded what

Holger Levsen holger at moszumanska.debian.org
Sun Jul 5 13:04:01 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit c976ffa8e4b3cc976f3310a138e71e3cb5bb5d94
Author: Mattia Rizzolo <mattia at mapreri.org>
Date:   Sat Jun 20 20:02:26 2015 +0000

    reproducible: db 17: add a 'builder' column to schedule, results, stats_build to save who builded what
---
 bin/reproducible_db_maintenance.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/bin/reproducible_db_maintenance.py b/bin/reproducible_db_maintenance.py
index 588d3cd..ab426e2 100755
--- a/bin/reproducible_db_maintenance.py
+++ b/bin/reproducible_db_maintenance.py
@@ -418,6 +418,11 @@ schema_updates = {
         'DROP TABLE stats_bugs',
         'ALTER TABLE stats_bugs_tmp RENAME TO stats_bugs',
         'INSERT INTO rb_schema VALUES ("16", "' + now + '")'],
+    17: [ # save what builders builds what. This is tied to the current setup
+        'ALTER TABLE schedule ADD COLUMN builder TEXT',
+        'ALTER TABLE results ADD COLUMN builder TEXT NOT NULL DEFAULT ""',
+        'ALTER TABLE stats_build ADD COLUMN builder TEXT NOT NULL DEFAULT ""',
+        'INSERT INTO rb_schema VALUES ("17", "' + now + '")'],
 }
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list