Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 457726

Summary: app-portage/layman-2.0.0 - buggy quiet mode
Product: Portage Development Reporter: consus <consus>
Component: Third-Party ToolsAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED FIXED    
Severity: normal CC: mail, twitch153
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Fix buggy quiet mode
Adds quietness level to output.notice() function.

Description consus 2013-02-15 16:56:10 UTC
layman prints newlines while in quiet mode.

Example:

1. quiet

~~~~
# /usr/bin/layman --sync=ALL -q



~~~~

2. normal

~~~~
# /usr/bin/layman --sync=ALL

 * Fetching remote list,...
 * Remote list already up to date: http://www.gentoo.org/proj/en/overlays/repositories.xml
 * Last-modified: Tue, 12 Feb 2013 23:00:02 GMT
 * Fetch Ok

 * Syncing selected overlays,...
 * Running Git... # ( cd /var/lib/layman/barnowl  && /usr/bin/git pull )
Already up-to-date.
 * Running Git... # ( cd /var/lib/layman/lobotomy  && /usr/bin/git pull )
Already up-to-date.
 * Running Git... # ( cd /var/lib/layman/udev  && /usr/bin/git pull )
Already up-to-date.
 * 
 * Succeeded:
 * ------
 * Successfully synchronized overlay "barnowl".
 * Successfully synchronized overlay "lobotomy".
 * Successfully synchronized overlay "udev".
 * 

~~~~
Comment 1 Dmitry Selyutin 2013-05-14 22:53:04 UTC
Created attachment 348354 [details, diff]
Fix buggy quiet mode

Don't print blank lines if "quiet" flag is enabled.
Comment 2 Devan Franchini (RETIRED) gentoo-dev 2014-03-20 16:19:37 UTC
Created attachment 373116 [details, diff]
Adds quietness level to output.notice() function.

This patch fixes the lack of quietness checking in the output.notice() function which will resolve the ignored output when the -q flag is enabled.
Comment 3 Devan Franchini (RETIRED) gentoo-dev 2014-07-09 23:14:02 UTC
Is resolved in the latest 9999 and will be resolved in the next release.
Comment 4 Brian Dolbec (RETIRED) gentoo-dev 2015-11-02 15:52:12 UTC
*** Bug 564670 has been marked as a duplicate of this bug. ***