From:
[email protected]
Package: debmirror
Version: 20040802
Severity: minor
Tags: patch
This is a minor thing, but some rsync servers (e.g. Progeny) give lots
and lots of output which is of no use at all. This should be suppressed
by default. Arguably, the --verbose flag should make it show it. The
patch I am submitting simply adds -q to all rsync commands. Note that is wishlist bug #219976 is implemented, this can be resolved by passing --rsync-options -q without needing any changes specific to this bug.
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (990, 'testing'), (99, 'unstable')
Architecture: powerpc (ppc)
Kernel: Linux 2.4.21
Locale: LANG=C, LC_CTYPE=C
Versions of packages debmirror depends on:
ii bzip2 1.0.2-1 A high-quality block-sorting file ii libcompress-zlib-perl 1.33-1 Perl module for creation and manip ii liblockfile-simple-perl 0.2.5-4 Simple advisory file locking
ii libwww-perl 5.800-1 WWW client/server library for Perl ii perl [libdigest-md5-perl] 5.8.4-2 Larry Wall's Practical Extraction ii perl-modules [libnet-perl] 5.8.4-2 Core Perl modules.
ii rsync 2.6.2-2 fast remote file copy program (lik
-- no debconf information
*** debmirror Fri Aug 20 06:11:54 2004
--- debmirror-new Fri Aug 20 06:11:30 2004
***************
*** 762,768 ****
print $fh "$_\n";
}
}
! system ("rsync -aI --partial --timeout=$timeout $opt $remoteroot --include-from=$rsynctempfile --exclude='*' $mirrordir");
close $fh;
@result = "";
}
--- 762,768 ----
print $fh "$_\n";
}
}
! system ("rsync -qaI --partial --timeout=$timeout $opt $remoteroot --include-from=$rsynctempfile --exclude='*' $mirrordir");
close $fh;
@result = "";
}
***************
*** 783,789 ****
print $fh "$_\n";
}
}
! system ("rsync -aI --partial --timeout=$timeout $opt $remoteroot --include-from=$rsynctempfile --exclude='*' $mirrordir");
close $fh;
last DOWNLOAD;
};
--- 783,789 ----
print $fh "$_\n";
}
}
! system ("rsync -qaI --partial --timeout=$timeout $opt $remoteroot --include-from=$rsynctempfile --exclude='*' $mirrordir");
close $fh;
last DOWNLOAD;