Package: dupload
Version: 2.6.6
Severity: important
Tags: upstream patch

When uploading larger packages over a slow link to the combination of
inoticoming/reprepro the reprepro the packages won't get imported.

Why? Inoticoming seems to start reprepro as soon as the .changes file
arrived (probably after a short timeout). For larger packages on slow
links it may take several minutes until all files mentioned in the
.changes file are uploaded.

Moving the .changes file to the last position in the list of the upload
queue should solve this problem.


-- System Information:
Debian Release: 6.0.2
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dupload depends on:
ii  perl                   5.10.1-17squeeze2 Larry Wall's Practical Extraction 
ii  perl-modules [libnet-p 5.10.1-17squeeze2 Core Perl modules

Versions of packages dupload recommends:
ii  openssh-client                1:5.5p1-6  secure shell (SSH) client, for sec
ii  ssh                           1:5.5p1-6  secure shell client and server (me

Versions of packages dupload suggests:
ii  exim4-daemon-light [mail 4.72-6+squeeze2 lightweight Exim MTA (v4) daemon
ii  lintian                  2.4.3           Debian package checker

-- no debconf information
--- /usr/bin/dupload    2008-09-21 22:34:49.000000000 +0200
+++ /home/heiko/bin/dupload     2011-08-30 14:34:35.020116427 +0200
@@ -521,7 +521,7 @@
 
 JOB: foreach (keys %files) {
        my $job = $_;
-       my @files = @{$files{$job}};
+       my @files = sort { $a eq $b ? 0 : $a =~ /\.changes$/ ? 1 : -1 } 
@{$files{$job}};
        my $mode;
        my $batchmode;
        my $allfiles;

Reply via email to