[Bug 300903] New: zypper does not provide feedback for downloading
https://bugzilla.novell.com/show_bug.cgi?id=300903 Summary: zypper does not provide feedback for downloading Product: openSUSE 10.3 Version: Beta 1 Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: libzypp AssignedTo: jkupec@novell.com ReportedBy: visnov@novell.com QAContact: kkaempf@novell.com CC: dmacvicar@novell.com Found By: --- If a user refreshes factory, there is large amount of data to be downloaded, but zypper does not provide any feedback on the progress. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=300903
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=300903#c1
Stanislav Visnovsky
https://bugzilla.novell.com/show_bug.cgi?id=300903#c2
Thomas Göttlicher
https://bugzilla.novell.com/show_bug.cgi?id=300903#c3
Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=300903#c4
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=300903#c5
Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=300903#c6
Stanislav Visnovsky
https://bugzilla.novell.com/show_bug.cgi?id=300903#c7
--- Comment #7 from Stanislav Visnovsky
https://bugzilla.novell.com/show_bug.cgi?id=300903#c8
Ján Kupec
Please, move the download progress from level -v to the default level.
I wanted to avoid that - the output is flooded then by the metadata files, esp. patterns, patches and so... *very ugly*
Why is YaST able to handle this but zypper not? The answer is simple: YaST uses a single pop-up window to display the progress. This get overwritten for each file being downloaded. Doing this in the console is quite tricky and there was no time to do it properly so far.
Other option for the console is one progress report per repository as suggested in comment #4. But that would require to include the progress of the individual file download into the combined progress of repository metadata download. Which is again not a trivial thing. Indeed, for 10.3 we are left with these two options: 1) either simply show the download progress of all files (move it from -v) => ugly 2) leave it as it is now, having -v as workaround (or a network traffic monitor) i don't know which one is uglier :O) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=300903#c9
--- Comment #9 from Stanislav Visnovsky
https://bugzilla.novell.com/show_bug.cgi?id=300903#c10
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=300903#c11
--- Comment #11 from Klaus Kämpf
https://bugzilla.novell.com/show_bug.cgi?id=300903#c12
Ján Kupec
I agree that output of all files names is _way_ too much for zypper, so please think about a 'leightweight' progress, i.e. a dot per file. Keeping it silent as its now is _not_ an option imho.
I tried that approach a few weeks ago, but it doesn't really help: you get a lot of 'dots' for e.g. patterns (or patches), and then suddenly it seems stuck until the packages.gz file (or primary.xml.gz) gets downloaded :O( So the solution doesn't serve the intended purpose and creates an impression of a hang-up instead. After all the investigation, I'm very much for leaving the situation as it is now, and looking into it for openSUSE 11. Stano? Users still have the possibility to use -v option for now, or they can watch their network monitor applet to see if something is downloading. It's annoying, i know, i really wanted to get that fixed. But there was no time even to rethink the media back-end reporting working together with other stuff not to mention refactoring it in libzypp. And given current libzypp there are not much options for zypper to create its download progress output, and we have already run out of time to _hack_ on it to get as nice output as it gets. A proper, clean solution must be found after 10.3 is out. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=300903#c13
Stanislav Visnovsky
https://bugzilla.novell.com/show_bug.cgi?id=300903
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=300903
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=300903#c14
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=300903
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=300903#c15
Ján Kupec
participants (1)
-
bugzilla_noreply@novell.com