From: Ian Jackson Date: Sun, 13 Jan 2019 18:35:18 +0000 (+0000) Subject: dgit: cmd_import_dsc: comment on lack of is_orig_file check X-Git-Tag: archive/debian/8.4~26 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=23a0de6747ba1c63d42a0e5bd954ba299f0bb4a3;p=dgit.git dgit: cmd_import_dsc: comment on lack of is_orig_file check Signed-off-by: Ian Jackson --- diff --git a/dgit b/dgit index b6bfd560..ce7fdaef 100755 --- a/dgit +++ b/dgit @@ -7003,12 +7003,19 @@ END my @dfi = dsc_files_info(); foreach my $fi (@dfi) { my $f = $fi->{Filename}; + # We transfer all the pieces of the dsc to the bpd, not just + # origs. This is by analogy with dgit fetch, which wants to + # keep them somewhere to avoid downloading them again. + # We make symlinks, though. If the user wants copies, then + # they can copy the parts of the dsc to the bpd using dcmd, + # or something. my $here = "$buildproductsdir/$f"; if (lstat $here) { next if stat $here; fail f_ "lstat %s works but stat gives %s !", $here, $!; } fail f_ "stat %s: %s", $here, $! unless $! == ENOENT; + # $f does not exist in bpd, we need to transfer it my $there = $dscfn; if ($dscfn =~ m#^(?:\./+)?\.\./+#) { $there = $';