#586479 debmirror: better progress reporting would be nice

#586479#5
Date:
2010-06-19 21:32:38 UTC
From:
To:
It would be cool if debmirror could provide a bit better progress
reporting. Specifically, one or more of the following:

* number of files still to download
* amount of data still to download
* an estimate of the remaining time

It is OK to update these only after each file has been downloaded.

I believe that debmirror makes a list of all the package files it needs
to download, and it can get the size of each package, so the first two
should be reasonably easy to do. The third time will require keeping
track of the download speed (for the previous download only, perhaps),
and do some calculation to estimate the remaining time.

The current output with -v gives a "percent done" kind of progress
report after each file. There is no indication if that is based on
number of files or amount of data or something else. I don't know if
it still happens, but it also used to go over 100%. Because of all
this uncertainty, and because there is no way to see how long it
has been running already, the user has no way to estimate how long
things are still going to go on.