diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2013-10-09 07:50:42 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2013-10-09 07:50:42 +0100 |
commit | fb64dcd0b68b73fa8f59edac53855dd303a7562f (patch) | |
tree | 60a19719f6cb50c6ef81c814d193d6f1dc991c85 | |
parent | c94f82b90ecfb8def21bdb330dec14d94235642d (diff) |
wip changes for remote push - implement i_want
-rw-r--r-- | TODO | 2 | ||||
-rwxr-xr-x | dgit | 22 |
2 files changed, 22 insertions, 2 deletions
@@ -1,5 +1,3 @@ -implement i_want_* - --gpg= etc. @gpg should be in manual should pass @gpg to debsign --ssh= etc. @ssh should be in manual @@ -1465,6 +1465,28 @@ sub i_localname_dsc { return $dscfn; } +sub i_want_signed_tag { + defined $i_param{'head'} && defined $dscfn + or badproto \*RO, "sequencing error"; + my $head = $i_param{'head'}; + die if $head =~ m/[^0-9a-f]/ || $head !~ m/^../; + + push_parse_dsc $i_dscfn, 'remote dsc', + + push_mktag $head, $i_clogp, $i_tag, + $dsc, $i_dscfn, + 'remote.changes', 'remote changes', + 'tag.tag'; + + return 'tag.tag'; +} + +sub i_want_signed_dsc_changes { + rename "$i_dscfn.tmp","$i_dscfn" or die "$i_dscfn $!"; + sign_changes 'remote.changes'; + return ($i_dscfn, 'remote.changes'); +} + #---------- building etc. ---------- our $version; |