public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] revdep-rebuild + minimal output
@ 2010-07-10  4:52 Enrico Weigelt
  2010-07-10  9:11 ` Willie Wong
  2010-07-10 15:03 ` Neil Bothwick
  0 siblings, 2 replies; 6+ messages in thread
From: Enrico Weigelt @ 2010-07-10  4:52 UTC (permalink / raw
  To: gentoo-user


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
----------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] revdep-rebuild + minimal output
  2010-07-10  4:52 [gentoo-user] revdep-rebuild + minimal output Enrico Weigelt
@ 2010-07-10  9:11 ` Willie Wong
  2010-07-10 12:30   ` YoYo Siska
  2010-07-10 15:03 ` Neil Bothwick
  1 sibling, 1 reply; 6+ messages in thread
From: Willie Wong @ 2010-07-10  9:11 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] revdep-rebuild + minimal output
  2010-07-10  9:11 ` Willie Wong
@ 2010-07-10 12:30   ` YoYo Siska
  0 siblings, 0 replies; 6+ messages in thread
From: YoYo Siska @ 2010-07-10 12:30 UTC (permalink / raw
  To: gentoo-user

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





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] revdep-rebuild + minimal output
  2010-07-10  4:52 [gentoo-user] revdep-rebuild + minimal output Enrico Weigelt
  2010-07-10  9:11 ` Willie Wong
@ 2010-07-10 15:03 ` Neil Bothwick
  2010-07-10 15:43   ` Blackdream W
  2010-07-10 16:22   ` Enrico Weigelt
  1 sibling, 2 replies; 6+ messages in thread
From: Neil Bothwick @ 2010-07-10 15:03 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 460 bytes --]

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|'»\x7f.'NO CARRIER

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] revdep-rebuild + minimal output
  2010-07-10 15:03 ` Neil Bothwick
@ 2010-07-10 15:43   ` Blackdream W
  2010-07-10 16:22   ` Enrico Weigelt
  1 sibling, 0 replies; 6+ messages in thread
From: Blackdream W @ 2010-07-10 15:43 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 556 bytes --]

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
>

[-- Attachment #2: Type: text/html, Size: 920 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] revdep-rebuild + minimal output
  2010-07-10 15:03 ` Neil Bothwick
  2010-07-10 15:43   ` Blackdream W
@ 2010-07-10 16:22   ` Enrico Weigelt
  1 sibling, 0 replies; 6+ messages in thread
From: Enrico Weigelt @ 2010-07-10 16:22 UTC (permalink / raw
  To: gentoo-user

* 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
----------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-07-10 16:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-10  4:52 [gentoo-user] revdep-rebuild + minimal output Enrico Weigelt
2010-07-10  9:11 ` Willie Wong
2010-07-10 12:30   ` YoYo Siska
2010-07-10 15:03 ` Neil Bothwick
2010-07-10 15:43   ` Blackdream W
2010-07-10 16:22   ` Enrico Weigelt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox