summaryrefslogtreecommitdiff
path: root/infra
diff options
context:
space:
mode:
Diffstat (limited to 'infra')
-rwxr-xr-xinfra/dgit-repos-admin-debian2
-rwxr-xr-xinfra/dgit-repos-policy-debian4
2 files changed, 4 insertions, 2 deletions
diff --git a/infra/dgit-repos-admin-debian b/infra/dgit-repos-admin-debian
index 10118c6..926431b 100755
--- a/infra/dgit-repos-admin-debian
+++ b/infra/dgit-repos-admin-debian
@@ -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
diff --git a/infra/dgit-repos-policy-debian b/infra/dgit-repos-policy-debian
index 88759f7..dd2a9c8 100755
--- a/infra/dgit-repos-policy-debian
+++ b/infra/dgit-repos-policy-debian
@@ -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 ($$) {