Bug#341910: debmirror: ftp method progress wrong

2005-12-04 Thread Ingo Saitz
On Sun, Dec 04, 2005 at 03:34:51PM +0100, Goswin von Brederlow wrote: > I think that might be more confusing. For small updates the progress > would start at 90% or so. It is probably better to use > What do you think. The progress starts at 0% with the meta-files (Release, Packages, Sources, Con

Bug#341910: debmirror: ftp method progress wrong

2005-12-04 Thread Goswin von Brederlow
> --- debmirror.orig2005-12-04 02:45:06.724128357 +0100 > +++ debmirror 2005-12-04 02:49:28.001777699 +0100 > @@ -727,6 +727,7 @@ > cleanup_unknown_files() if ($cleanup && ! $post_cleanup); > > say("Download all files that we need to get > (".int(1+$bytes_to_get/1024/1024)." MiB)."); > +$b

Bug#341910: debmirror: ftp method progress wrong

2005-12-03 Thread Ingo Saitz
Package: debmirror Version: 20050207 Severity: minor Tags: patch -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 When using the ftp download method the percentage goes way over 100% in verbose display method. It does not take the already downloaded metadata into account properly. Patch attached.