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 10118c6..926431b 100755 (executable)
@@ -121,6 +121,8 @@ END
            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
index 88759f7..dd2a9c8 100755 (executable)
@@ -191,8 +191,8 @@ sub add_taint ($$) {
 
     $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 ($$) {