Bug 988377

Summary: delay before progress bar appears on each package download
Product: [Fedora] Fedora Reporter: Ales Kozumplik <akozumpl>
Component: dnfAssignee: Zdeněk Pavlas <zpavlas>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: akozumpl, jzeleny, packaging-team-maint, pnemade
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-18 13:40:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ales Kozumplik 2013-07-25 12:50:17 UTC
This is the originally suspected and still present issue from bug 979042, users complain that package download takes long time. While the original bug fixed the underlying issue there still appears to be a little pause before each download starts. The observed delay is due to how the progress bar is implemented: it is waiting for librepo to tell us the total package size, which for some involved reasons can not do so right away, even though the download has already started. 

As zpavlas pointed out we should be able to deduce this information from the available metadata instead, assigning to Zdenek.

Comment 1 Zdeněk Pavlas 2013-10-18 13:40:00 UTC
This appears to be fixed in the new downloader, the progress bar is initialized much sooner.