Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | test-apt-update-reporting: Make more use of framework | Julian Andres Klode | 2016-03-27 | 1 | -12/+16 |
| | | | | | | | Use msgtest and testsuccess with a function instead of failing with a simple exit 1. This looks nicer. Gbp-Dch: ignore | ||||
* | Get accurate progress reporting in apt update again | Michael Vogt | 2016-03-16 | 1 | -0/+31 |
For the non-pdiff case, we have can have accurate progress reporting because after fetching the {,In}Release files we know how many IndexFiles will be fetched and what size they have. Therefore init the filesize early (in pkgAcqIndex::Init) and ensure that in Acquire::Pulse() looks at already downloaded bits when calculating the progress in Acquire::Pulse. Also improve debug output of Debug::acquire::progress |