]> git.saurik.com Git - apt.git/commit
delay progress until Release files are downloaded
authorDavid Kalnischkies <david@kalnischkies.de>
Sat, 7 May 2016 12:44:53 +0000 (14:44 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Sat, 7 May 2016 12:44:53 +0000 (14:44 +0200)
commit1eba782fc3c55528a4da14d79e114874b9299453
tree58496474d4f0825ef328c7492e5db962c589989e
parentb7ec7a8020e6d6a8f47177a6a03e3c9f21e5219b
delay progress until Release files are downloaded

Progress reporting used an "upper bound" on files we might get, expect
that this wasn't correct in case pdiff entered the picture. So instead
of calculating a value which is perhaps incorrect, we just accept that
we can't tell how many files we are going to download and just keep at
0% until we know. Additionally, if we have pdiffs we wait until we got
these (sub)index files, too.

That could all be done better by downloading all Release files first and
planing with them in hand accordingly, but one step at a time.
apt-pkg/acquire-item.cc
apt-pkg/acquire-item.h
apt-pkg/acquire.cc