file_utils: don't crash in progressbar on decompressed content
ClosedPublic

Authored by kparal on May 25 2016, 11:10 AM.

Details

Summary

We were computing downloaded data incorrectly (saved size might not be
equal to read size due to content decompression) and were exceeding max
value in progress bar. This patch attempts to fix this case.

Test Plan

test suite works, tested manually with some regular NVRs and also

runtask -i openh264-1.5.3-0.1.git2706e36.fc24 -t koji_build ../task-rpmlint/runtask.yml -d

Diff Detail

Repository
rLTRN libtaskotron
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
kparal retitled this revision from to file_utils: don't crash in progressbar on decompressed content.May 25 2016, 11:10 AM
kparal updated this object.
kparal edited the test plan for this revision. (Show Details)
kparal added a reviewer: libtaskotron.
mkrizek accepted this revision.May 25 2016, 11:53 AM
mkrizek added a reviewer: mkrizek.
This revision is now accepted and ready to land.May 25 2016, 11:53 AM
This revision was automatically updated to reflect the committed changes.