[Bug 359188] New: Option to zypper that suppresses progress meter
https://bugzilla.novell.com/show_bug.cgi?id=359188 Summary: Option to zypper that suppresses progress meter Product: openSUSE 10.3 Version: Final Platform: All OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: libzypp AssignedTo: dmacvicar@novell.com ReportedBy: ian.marlier@studentuniverse.com QAContact: dmacvicar@novell.com Found By: --- When running zypper, a progress meter appears prior to result output. For example, when running `zypper lu`, there is a progress meter as zypper reads each repository, and then another as it reads the list of installed packages. This is a nice feature when running zypper interactively. However, it complicates the process of running zypper non-interactively and then doing something textual with the results, such as mailing them via a pipe. It appears that this behavior does not change when zypper is given command line options such as -q (quiet) or -n (non-interactive). It would be very nice to have a flag that would suppress the output of the progress meter. (Note: I'm not sure about the license/etc for zypper, but assuming that it's open I'd be happy to take a stab at implementing this.) Reference also the (brief) thread on the opensuse list, which has slightly more information about the specific problem that I am trying to solve here: http://lists.opensuse.org/opensuse/2008-02/msg00444.html -- 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=359188
User coolo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=359188#c1
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=359188
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=359188#c2
Ján Kupec
It appears that this behavior does not change when zypper is given command line options such as -q (quiet) or -n (non-interactive).
It would be very nice to have a flag that would suppress the output of the progress meter.
The -q options is meant to be really quiet, so that is what you want after it gets fixed.
(Note: I'm not sure about the license/etc for zypper, but assuming that it's open I'd be happy to take a stab at implementing this.)
It's GPL, you're welcome to participate :O) We already have a plan to deal with zypper's output, which, after implemented, will deal also with this bug. The main idea is to add --xml option to switch zypper to a well defined xml output. This will need a major change in the way the output is written throughout the code and we'll keep bugs like this in mind doing it. Currently i'm trying to design classes and functions which will be used for output. The fix for this -q vs. progress output bug is probably easy, but i decided not to do it until the above is done (which i hope will be soon (this month)). btw: see http://en.opensuse.org/Zypper/Development -- 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=359188
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=359188
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=359188
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=359188#c3
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=359188
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=359188#c4
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=359188
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=359188#c5
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=359188
Ján Kupec
participants (1)
-
bugzilla_noreply@novell.com