Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28261 - Unmerge does not support a --quiet mode
Summary: Unmerge does not support a --quiet mode
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-09 05:47 UTC by Charles Goodwin
Modified: 2006-08-19 16:04 UTC (History)
0 users

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


Attachments
quiet-clean.patch (quiet-clean.patch,1.94 KB, patch)
2004-02-05 16:01 UTC, TGL
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Charles Goodwin 2003-09-09 05:47:19 UTC
Sometimes depclean spits out a lot of packages, and the output is very verbose.

An example package:

 x11-plugins/wmCalClock
    selected: 1.25-r1
   protected: none
     omitted: none

Including the newline, that's 5 lines per package.  If 20 come out...

Using 'emerge -pq depclean' should give the format:
cat/app [selected versions in red] [protected versions in green] [omitted
versions in blue]

Reproducible: Always
Steps to Reproduce:
1. emerge -pq declean
2. read the output
3. profit!!!

Actual Results:  
No profit :( too much output to parse.

Expected Results:  
Be less verbose when emerge depclean is passed the -q option.
Comment 1 TGL 2004-02-05 16:01:10 UTC
Created attachment 25040 [details, diff]
quiet-clean.patch

Here is a chunk from a patch from bug #37491 that should solve this. Output is
one line / package when --quiet in options:

--- category/package-name:  1.2.3 (Prot.: 4.5.6) (Omit.: 7.8.9)

(where 1.2.3 is a selected version, in red, and the two others in green are
protected and omitted)
Comment 2 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-08-19 16:04:23 UTC
is this still true? no?

torx ~ # emerge -C sl -q

 app-misc/sl
    selected: 3.03
   protected: none
     omitted: none
>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging app-misc/sl-3.03...
No package files given... Grabbing a set.

 * GNU info directory index is up-to-date.
 * IMPORTANT: 5 config files in /etc need updating.
 * Type emerge --help config to learn how to update config files.


Reopen if you want more.