X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=infra%2Fdgit-repos-policy-debian;h=8a105366211754a5d04541bdd0d0d33724a465e6;hp=88759f7face4c4d6f9183542453711478b9d028f;hb=b60587a0e354bdf269a63ad5141782856de1594e;hpb=9eb0e2a413a683eed5993523f5baedf00fa73467;ds=sidebyside diff --git a/infra/dgit-repos-policy-debian b/infra/dgit-repos-policy-debian index 88759f7f..8a105366 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 ($$) { @@ -251,6 +251,8 @@ sub deliberately ($) { return $deliberately{$_[0]}; } sub action_push () { getpackage(); + getpushinfo(); + return 0 unless $pkg_exists; return 0 unless $pkg_secret; @@ -275,8 +277,9 @@ sub action_push () { sub action_push_confirm () { getpackage(); - die unless @ARGV >= 5; - my $freshrepo = $ARGV[4]; + getpushinfo(); + die unless @ARGV >= 1; + my $freshrepo = shift @ARGV; my $initq = $poldbh->prepare(<