Or even simpler... from my crontab:
cd /usr/src && cvs -q update -PAd -rOPENBSD_3_9 2>&1 |mail -s CVS update `date
+%Y-%m-%d` <your mail here>
I run this at 6:04am each day so it is completed before I get into work.
You could add a check to see if there is any output from the cvs command
before sending the mail, but I like to see the output so I'm sure the
job was actually processed
On Tue, 30 May 2006 13:55:10 -0400
"Peter Blair" <[EMAIL PROTECTED]> wrote:
> Here's a quick perl script to extract the html:
>
> #!/usr/bin/perl
> #
> # cvs_dates.pl
>
> while(<STDIN>)
> {
> my($line) = $_;
> chomp($line);
> if( $line =~ /(\d{4}-\d{2}-\d{2}).{28}(\d{10,20})/ )
> {
> my($d) = $1;
> my($id) = $2;
>
> print $d, " ", $id, "\n";
> }
> }
>
> And just do something like:
>
> wget -q -O -
> 'http://marc.theaimsgroup.com/?l=openbsd-cvs&r=1&b=200605&w=2' | perl
> cvs_dates.pl
>
> On 5/29/06, Didier Wiroth <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > To follow the current source changes I usually check the following
> > website:
> > http://marc.theaimsgroup.com/?l=openbsd-cvs&r=1&b=200605&w=2 This
> > isn't very handy as you have to click every message to view the log
> > message and the files that were changed.
> >
> > 1) Is there a nice way to see current source changes?
> > (If possible, I would prefer "NOT" to subscribe to another new
> > mailing list!)
> >
> > 2) Is there a nice and "fast" method to check the latest changes
> > with the cvs command?
> >
> > Thank you very much
> > Didier