Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192706 - emerge -pq --depclean shouldn't produce output if there's nothing to do
Summary: emerge -pq --depclean shouldn't produce output if there's nothing to do
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 194041
  Show dependency tree
 
Reported: 2007-09-16 17:30 UTC by Hanno Böck
Modified: 2007-09-28 23:17 UTC (History)
0 users

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


Attachments
do not print a summary if --quiet and there is nothing to clean (quiet.patch,419 bytes, patch)
2007-09-28 06:45 UTC, Zac Medico
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hanno Böck gentoo-dev 2007-09-16 17:30:37 UTC
portage parameter -q is (at least I think so) intended that it should, in combination with -p, not output anything if there's nothing to do.

e.g. emerge -puDq world is perfectly usable for a cron-job, that should inform admins about pending updates.

for --depclean, something similar is not possible. I'd expect emerge -pq --depclean not to produce output if there's nothing to clean. But instead it produces a big warning (which is pointless if there's nothing to do) and a summary.
Comment 1 Zac Medico gentoo-dev 2007-09-25 16:56:20 UTC
The big fat warning has already been removed for bug #184687. I'll go ahead and remove the summary too.
Comment 2 Zac Medico gentoo-dev 2007-09-28 05:12:46 UTC
This has been released in 2.1.3.10.
Comment 3 Zac Medico gentoo-dev 2007-09-28 06:45:17 UTC
Created attachment 132064 [details, diff]
do not print a summary if --quiet and there is nothing to clean

Apparently I forgot to merge this patch before releasing 2.1.3.10.
Comment 4 Zac Medico gentoo-dev 2007-09-28 06:45:55 UTC
Reopening until this is released.
Comment 5 Zac Medico gentoo-dev 2007-09-28 23:17:42 UTC
This has been released in 2.1.3.11.