FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 07-10-2010, 04:52 AM
Enrico Weigelt
 
Default revdep-rebuild + minimal output

Hi folks,


is there an option to revdep-rebuild to only do output if it has
something to rebuild ? This should be run via cron to notify me
via email.


cu
--
----------------------------------------------------------------------
Enrico Weigelt, metux IT service -- http://www.metux.de/

phone: +49 36207 519931 email: weigelt@metux.de
mobile: +49 151 27565287 icq: 210169427 skype: nekrad666
----------------------------------------------------------------------
Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------
 
Old 07-10-2010, 09:11 AM
Willie Wong
 
Default revdep-rebuild + minimal output

On Sat, Jul 10, 2010 at 06:52:35AM +0200, Enrico Weigelt wrote:
> is there an option to revdep-rebuild to only do output if it has
> something to rebuild ? This should be run via cron to notify me
> via email.

Usually "is there an option..." questions are well-answered by "man
<program name>". And in this case the closest thing from the man page
is the -q option, which doesn't do exactly what you want.

Cheers,

W
--
Willie W. Wong wwong@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire
et vice versa ~~~ I. Newton
 
Old 07-10-2010, 12:30 PM
YoYo Siska
 
Default revdep-rebuild + minimal output

On Sat, Jul 10, 2010 at 05:11:49AM -0400, Willie Wong wrote:
> On Sat, Jul 10, 2010 at 06:52:35AM +0200, Enrico Weigelt wrote:
> > is there an option to revdep-rebuild to only do output if it has
> > something to rebuild ? This should be run via cron to notify me
> > via email.
>
> Usually "is there an option..." questions are well-answered by "man
> <program name>". And in this case the closest thing from the man page
> is the -q option, which doesn't do exactly what you want.
>
> Cheers,

revdep-rebuild --help
...
-p, --pretend Do a trial run without actually emerging anything
(also passed to emerge command)


it would basically show you what would be emerged...
-q and -P might be usefull to get rid of unwated output...

yoyo
 
Old 07-10-2010, 03:03 PM
Neil Bothwick
 
Default revdep-rebuild + minimal output

On Sat, 10 Jul 2010 06:52:35 +0200, Enrico Weigelt wrote:

> is there an option to revdep-rebuild to only do output if it has
> something to rebuild ? This should be run via cron to notify me
> via email.

There is the --quiet option, but this doesn't remove everything. You
could try redirecting stderr and stdout to see what goes where, or just
pipe the output through sed.


--
Neil Bothwick

Hm..what's this red button fo|'.'NO CARRIER
 
Old 07-10-2010, 03:43 PM
Blackdream W
 
Default revdep-rebuild + minimal output

revdep-rebuild -pv

2010/7/10 Neil Bothwick <neil@digimed.co.uk>


On Sat, 10 Jul 2010 06:52:35 +0200, Enrico Weigelt wrote:



> is there an option to revdep-rebuild to only do output if it has

> something to rebuild ? This should be run via cron to notify me

> via email.



There is the --quiet option, but this doesn't remove everything. You

could try redirecting stderr and stdout to see what goes where, or just

pipe the output through sed.





--

Neil Bothwick



Hm..what's this red button fo|' .'NO CARRIER
 
Old 07-10-2010, 04:22 PM
Enrico Weigelt
 
Default revdep-rebuild + minimal output

* Neil Bothwick <neil@digimed.co.uk> wrote:
> On Sat, 10 Jul 2010 06:52:35 +0200, Enrico Weigelt wrote:
>
> > is there an option to revdep-rebuild to only do output if it has
> > something to rebuild ? This should be run via cron to notify me
> > via email.
>
> There is the --quiet option, but this doesn't remove everything. You
> could try redirecting stderr and stdout to see what goes where, or just
> pipe the output through sed.

Right, -q still gives too much output
I'd prefer letting portage do everything, instead of maintaining
an additional wrapper ;-o


cu
--
----------------------------------------------------------------------
Enrico Weigelt, metux IT service -- http://www.metux.de/

phone: +49 36207 519931 email: weigelt@metux.de
mobile: +49 151 27565287 icq: 210169427 skype: nekrad666
----------------------------------------------------------------------
Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------
 

Thread Tools




All times are GMT. The time now is 03:55 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org