rhinstaller/fedup

Download callback is bad at counting

Closed this issue · 1 comments

It's not uncommon to see fedup do something like this during download:
(9/2157): LibRaw-0.15.4-1.fc20.x86_64.rpm
(16/2157): NetworkManager-openconnect-0.9.8.0-2.fc20.x86_64.rpm
...: zlib-devel-1.2.8-3.fc20.x86_64.rpm
Canna-libs-3.7p3-40.fc20.x86_64.rpm
[...]

Everything gets downloaded, but the order/numbering is wrong, and they stop being numbered when we hit the "last" one, and then the rest get downloaded. Weird!

The switch to async downloads in commit 7dcbade also switches to using yum's download text meter, so the numbers are correct. Or they're gone. But at least they aren't wrong.