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

Bug 154045

Summary: app-portage/gentoolkit - glsa-check needs a quiet option
Product: Portage Development Reporter: Rick Altherr <kc8apf>
Component: ToolsAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Rick Altherr 2006-11-04 09:21:57 UTC
I like to put two things in my crontab: emerge -q --sync followed by glsa-check -ln affected.  The problem is that glsa-check always outputs a legend even if there are no GLSAs listed.  A -q option should suppress that output and result in no output unless a GLSA is listed.
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2006-11-05 03:01:31 UTC
Just drop stderr to /dev/null then.
Comment 2 Rick Altherr 2006-11-05 11:45:39 UTC
Considering the other major tools offer quiet modes, I would expect glsa-check to offer one as well.
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2006-11-05 16:57:16 UTC
Doesn't change anything. I'm not going to waste time adding a IMHO useless option.
Comment 4 Ylosar Goer 2007-05-10 12:42:20 UTC
stderr is supposed to be used for errors, not for useless informations which belongs to a man page, IMHO.