'dgit.default.username' => '',
'dgit.default.archive-query-default-component' => 'main',
'dgit.default.ssh' => 'ssh',
+ 'dgit-distro.debian.git-user' => 'dgit',
'dgit-distro.debian.git-host' => 'git.debian.org',
'dgit-distro.debian.git-proto' => 'git+ssh://',
- 'dgit-distro.debian.git-path' => '/git/dgit-repos/repos',
- 'dgit-distro.debian.git-check' => 'ssh-cmd',
- 'dgit-distro.debian.git-create' => 'ssh-cmd',
+ 'dgit-distro.debian.git-path' => '/dgit-repos/',
+ 'dgit-distro.debian.git-check' => 'true',
+ 'dgit-distro.debian.git-create' => 'true',
'dgit-distro.debian.sshpsql-host' => 'coccia.debian.org',
'dgit-distro.debian.sshpsql-dbname' => 'service=projectb',
'dgit-distro.debian.upload-host' => 'ftp-master', # for dput
'dgit-distro.test-dummy.archive-query' => "dummycat:$td/aq",
'dgit-distro.test-dummy.mirror' => "file://$td/mirror/",
'dgit-distro.test-dummy.upload-host' => 'test-dummy',
+ 'dgit-distro.test-dummy-drs.ssh' => "$td/ssh",
+ 'dgit-distro.test-dummy-drs.username' => "alice",
+ 'dgit-distro.test-dummy-drs.git-check' => "true",
+ 'dgit-distro.test-dummy-drs.git-create' => "true",
+ 'dgit-distro.test-dummy-drs.git-url' => "$td/git",
+ 'dgit-distro.test-dummy-drs.archive-query' => "dummycat:$td/aq",
+ 'dgit-distro.test-dummy-drs.mirror' => "file://$td/mirror/",
+ 'dgit-distro.test-dummy-drs.upload-host' => 'test-dummy',
);
sub cfg {
"HEAD:".rrref(), "refs/tags/$tag";
runcmd_ordryrun @git, qw(update-ref -m), 'dgit push', lrref(), 'HEAD';
- if (!$we_are_responder) {
- if (act_local()) {
- rename "$dscpath.tmp",$dscpath or die "$dscfn $!";
- } else {
- progress "[new .dsc left in $dscpath.tmp]";
- }
- }
-
if ($we_are_responder) {
my $dryrunsuffix = act_local() ? "" : ".tmp";
responder_receive_files('signed-dsc-changes',
"$dscpath$dryrunsuffix",
"$changesfile$dryrunsuffix");
} else {
+ if (act_local()) {
+ rename "$dscpath.tmp",$dscpath or die "$dscfn $!";
+ } else {
+ progress "[new .dsc left in $dscpath.tmp]";
+ }
sign_changes $changesfile;
}