From e7d9e0826831352cee9b27b5a94ac728e7d68982 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 24 Sep 2013 23:25:15 +0100 Subject: [PATCH] wip changes for remote push - fixes --- debian/changelog | 2 +- dgit | 14 +------------- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/debian/changelog b/debian/changelog index 281e0903..e473f2b2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -dgit (0.16~experimental1) unstable; urgency=low +dgit (0.16~experimental1) experimental; urgency=low * WIP remote functionality. Untested, do not use. diff --git a/dgit b/dgit index 3162c607..3a91929f 100755 --- a/dgit +++ b/dgit @@ -50,8 +50,6 @@ our (@dget) = qw(dget); our (@dput) = qw(dput); our (@debsign) = qw(debsign); our (@gpg) = qw(gpg); -fixme should be in manual -fixme should pass this to debsign our (@sbuild) = qw(sbuild -A); our (@dpkgbuildpackage) = qw(dpkg-buildpackage -i\.git/ -I.git); our (@dpkgsource) = qw(dpkg-source -i\.git/ -I.git); @@ -999,7 +997,7 @@ END push @sign_cmd, $tfn->('.tmp'); runcmd_ordryrun @sign_cmd; if (!$dryrun) { - $tagobjfn = $tfn->('.signed.tmp') + $tagobjfn = $tfn->('.signed.tmp'); runcmd shell_cmd "> $tagobjfn", qw(cat --), $tfn->('.tmp'), $tfn->('.tmp.asc'); } @@ -1021,16 +1019,6 @@ END } if ($sign) { - if (!$as_remote) { - my @tag_cmd = (@git, qw(tag -a -m), - ); - push @tag_cmd, $tag; - runcmd_ordryrun @tag_cmd; - } else { - } - - push @tag_cmd, qw(-u),$keyid if defined $keyid; - my @debsign_cmd = @debsign; push @debsign_cmd, "-k$keyid" if defined $keyid; push @debsign_cmd, $changesfile; -- 2.30.2