From: Ian Jackson Date: Wed, 9 Oct 2013 06:31:34 +0000 (+0100) Subject: wip changes for remote push - implement i_localname_* X-Git-Tag: debian/0.16_experimental2^2~12 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=52ffda03db49cec58b181a7ca3b754980e61869c wip changes for remote push - implement i_localname_* --- diff --git a/TODO b/TODO index f61fa501..64eace4b 100644 --- a/TODO +++ b/TODO @@ -1,4 +1,3 @@ -implement i_localname_* implement i_want_* --gpg= etc. @gpg should be in manual diff --git a/dgit b/dgit index eb6f01de..83bed540 100755 --- a/dgit +++ b/dgit @@ -1436,6 +1436,17 @@ sub i_resp_want ($) { print RI "end-files\n" or die $!; } +our ($i_clogp, $i_version, $i_tag, $i_dscfn); + +sub i_localname_parsed_changelog { return "remote-changelog.822"; } +sub i_localname_changes { return "remote.changes"; } +sub i_localname_dsc { + ($i_clogp, $i_version, $i_tag, $i_dscfn) = + push_parse_changelog 'remote-changelog.822'; + die if $i_dscfn =~ m#/|^\W#; + return $dscfn; +} + #---------- building etc. ---------- our $version;