Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 510296 - sys-apps/portage should not print index info if --quiet is given
Summary: sys-apps/portage should not print index info if --quiet is given
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
Depends on:
Reported: 2014-05-14 09:52 UTC by Benedikt Böhm
Modified: 2014-06-08 17:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

remove annoying portage cache debug message (portage-cache-quiet.patch,658 bytes, patch)
2014-06-07 12:34 UTC, Benedikt Böhm
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Benedikt Böhm 2014-05-14 09:52:49 UTC
if binary packages are enabled portage prints the following message (twice) even if --quiet has been specified:

"Local copy of remote index is up-to-date and will be used."

this message should maybe even be hidden by default and just appear if --verbose has been specified, but at least it should be hidden with --quiet.
Comment 1 Benedikt Böhm 2014-06-07 12:34:50 UTC
Created attachment 378420 [details, diff]
remove annoying portage cache debug message
Comment 2 Sebastian Luther (few) 2014-06-08 17:10:54 UTC
noiselevel=2 is wrong. There are two meaningful values:
0 (default): Print unless --quiet is given
-1: Print even if --quiet is given

A value >0 means that the text will never be shown.

Since the lines you modified already use the default value 0, they shouldn't be shown if you pass --quiet. Please check again.

You could as well check the value of the global constant portage.util.noiselimit. It should be 0 by default and -1 with --quiet.