Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 186994 - [PATCH] app-portage/esearch: esync/eupdatedb could do with a --quiet mode
Summary: [PATCH] app-portage/esearch: esync/eupdatedb could do with a --quiet mode
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High enhancement
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-29 10:23 UTC by SpanKY
Modified: 2009-01-01 02:45 UTC (History)
1 user (show)

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


Attachments
esync_quiet.patch (esync_quiet.patch,2.56 KB, patch)
2008-02-25 00:51 UTC, michael@smith-li.com
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2007-07-29 10:23:35 UTC
it'd be nice if the esync/eupdatedb had a --quiet option to silence all the spurious output
Comment 1 michael@smith-li.com 2008-02-25 00:12:17 UTC
(In reply to comment #0)
> it'd be nice if the esync/eupdatedb had a --quiet option to silence all the
> spurious output

eupdatedb has had a --quiet option since 2003. I'll see about adding something to esync.

(Just so I've said it, though, I don't know why we have esync and eix-sync. Isn't it enough to put scripts in /etc/portage/postsync.d to run eupdatedb, update-eix, q --reinitialize, and whatever else you need?)
Comment 2 michael@smith-li.com 2008-02-25 00:51:11 UTC
Created attachment 144549 [details, diff]
esync_quiet.patch

If esync -s isn't quiet enough for you this patch enables a -q/--quiet option that shuts it all-the-way up.

This patch also changes 'emerge sync' to 'emerge --sync' internally and shortcuts a loop that doesn't need to keep looping.
Comment 3 Bo Ørsted Andresen (RETIRED) gentoo-dev 2008-02-25 11:59:04 UTC
(In reply to comment #1)
> (Just so I've said it, though, I don't know why we have esync and eix-sync.
> Isn't it enough to put scripts in /etc/portage/postsync.d to run eupdatedb,
> update-eix, q --reinitialize, and whatever else you need?)

portage does not run scripts in /etc/portage/postsync.d/. It runs /etc/portage/bin/post_sync. That portage-utils installs a script there which looks in postsync.d/ is another matter which won't help unless you want to RDEPEND on it...

Also it has been too long since I looked at esearch but at least for eix-sync it runs diff-eix too which users will want to see if they use it..
Comment 4 Paul Varner (RETIRED) gentoo-dev 2009-01-01 02:45:37 UTC
Thanks Michael, released in esearch-0.7.1-r7