From eab588a83905122af678182876c2f800e4b6fa77 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 17 Mar 2015 22:22:44 +0000 Subject: [PATCH] dgit: Introduce "deliberatelies" No underlying recipient of this info yet - just plumbing. --- dgit | 11 ++++++++++- dgit.1 | 23 +++++++++++++++++++++++ infra/dgit-repos-server | 6 +++++- 3 files changed, 38 insertions(+), 2 deletions(-) diff --git a/dgit b/dgit index d2ca495a..7e642c03 100755 --- a/dgit +++ b/dgit @@ -51,6 +51,7 @@ our $buildproductsdir = '..'; our $new_package = 0; our $ignoredirty = 0; our $rmonerror = 1; +our @deliberatelies; our $existing_package = 'dpkg'; our $cleanmode = 'dpkg-source'; our $changes_since_version; @@ -192,6 +193,10 @@ sub stat_exists ($) { die "stat $f: $!"; } +sub deliberately ($) { + return !!grep { $_[0] eq $_ } @deliberatelies; +} + #---------- remote protocol support, common ---------- # remote push initiator/responder protocol: @@ -1564,6 +1569,7 @@ sub push_mktag ($$$$$$$) { # We make the git tag by hand because (a) that makes it easier # to control the "tagger" (b) we can do remote signing my $authline = clogp_authline $clogp; + my $delibs = join(" ", "",@deliberatelies); open TO, '>', $tfn->('.tmp') or die $!; print TO <