chiark / gitweb /
Infra: Put correct value into taintoverrides for questionable history; document the...
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 16 May 2015 23:09:44 +0000 (00:09 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 31 May 2015 10:54:12 +0000 (11:54 +0100)
infra/dgit-repos-admin-debian
infra/dgit-repos-policy-debian

index 10118c6ad65ce3511978f29fd8b77b236909a23c..926431bfaf96f401b4c93470fd1e7e18242e0bb7 100755 (executable)
@@ -121,6 +121,8 @@ END
            ON taints (gitobjid, package)
 END
     # any one of of the listed deliberatelies will override its taint
            ON taints (gitobjid, package)
 END
     # any one of of the listed deliberatelies will override its taint
+    # the field `deliberately' contains `--deliberately-blah-blah',
+    # not just `blah blah'.
     $poldbh->do(<<END);
        CREATE TABLE IF NOT EXISTS taintoverrides (
            taint_id  INTEGER NOT NULL
     $poldbh->do(<<END);
        CREATE TABLE IF NOT EXISTS taintoverrides (
            taint_id  INTEGER NOT NULL
index 88759f7face4c4d6f9183542453711478b9d028f..dd2a9c80be10bffb2828f06217d9c97a1a2edf1f 100755 (executable)
@@ -191,8 +191,8 @@ sub add_taint ($$) {
 
     $poldbh->do("INSERT INTO taintoverrides".
                " (taint_id, deliberately)".
 
     $poldbh->do("INSERT INTO taintoverrides".
                " (taint_id, deliberately)".
-               " VALUES (?, 'include-questionable-history')", {},
-               $taint_id);
+               " VALUES (?, '--deliberately-include-questionable-history')", 
+               {}, $taint_id);
 }
 
 sub add_taint_by_tag ($$) {
 }
 
 sub add_taint_by_tag ($$) {