Summary: | app-portage/gentoolkit: revdep-rebuild: option -q has no effect | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Sascha Silbe <sascha-gentoo-bugzilla> |
Component: | Tools | Assignee: | Portage Tools Team <tools-portage> |
Status: | CONFIRMED --- | ||
Severity: | enhancement | CC: | cilly, esigra, michael, pk1 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 346443 | ||
Attachments: |
Patch against revdep-rebuild from gentoolkit-0.2.1_pre7 to make it really quiet
Patch against revdep-rebuild from gentoolkit-0.2.1_pre7 to optionally skip safety delays Combi-Patch containing quiet-Patch and nowait-Patch Updated combi patch against the gentoolkit-0.2.1_rc2 tarball |
Description
Sascha Silbe
2005-06-25 14:58:47 UTC
Actually, it does quiet it down. How much quieter would you like it to be? I'd like it to show only the list of broken binaries and the packages to be rebuilt (the "emerge --oneshot [...]" line) since every other text is static (i.e. doesn't change between invocations). Created attachment 68921 [details, diff]
Patch against revdep-rebuild from gentoolkit-0.2.1_pre7 to make it really quiet
I've now patched revdep-rebuild to be as quiet as I would like it to be.
Needed to change echo_v from an alias to a shell function.
A future version of revdep-rebuild might use a generic log function with a
log level instead of echo, echo_v and $EXTRA_VERBOSE.
Created attachment 68923 [details, diff]
Patch against revdep-rebuild from gentoolkit-0.2.1_pre7 to optionally skip safety delays
While patching revdep-rebuild to make it more quiet, I discovered
unconditional safety delays, making revdep-rebuild slower that it needs
to be, especially if it's run unattended.
This patch introduces a new command line option "-nw" resp. "--no-wait" to
skip those delays.
Created attachment 68924 [details, diff]
Combi-Patch containing quiet-Patch and nowait-Patch
Created attachment 73723 [details, diff]
Updated combi patch against the gentoolkit-0.2.1_rc2 tarball
Now applies against the whole tarball (i.e. including directory structure)
instead of the single file revdep-rebuild.
Thanks for the patches, Sascha. To be honest rr still has a lot of serious kinks, and those need to be worked out before this less urgent stuff can be addressed. In the meantime, there's always revdep-rebuild -q >/dev/null 2>&1 We will look at this after we get revdep-rebuild in a more stable state *** Bug 241530 has been marked as a duplicate of this bug. *** Reopening, now that revdep-rebuild has been rewritten in a stable state. I just made revdep-rebuild much more quiet, so give it a try and test gentoolkit-9999. :) Let's address this properly with the python rewrite of revdep-rebuild |