info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: loginfo - keeping a checked out copy


From: Derek R. Price
Subject: Re: loginfo - keeping a checked out copy
Date: Thu, 14 Dec 2000 09:32:09 -0500

The log.pl script relies on some of hte information which you are
slurping and writing out with the 'cat' following 'date' below.  The
solution is to call an intermediate script which reads in stdin and
writes it out to two separate child processes (below, the simple echo to
the log & log.pl).  Alternately, you could hack log.pl to write to the
text log as well as to send the mails.

Derek

--
Derek Price                      CVS Solutions Architect ( http://CVSHome.org )
mailto:address@hidden     OpenAvenue ( http://OpenAvenue.com )
--
Always glad to share my ignorance - I've got plenty.

address@hidden wrote:

> I'm having a bit of difficulty with loginfo
>
> we're set up to have our webpages update automatically when a checkin
> is done - I've got that working (from Cedarqvist). I also use the
> log.pl to send the CVS commit mails out.
>
> Is there some way to have both actions perform for one checkin?
>
> At first I could only get either the updates or the mail. Now I get
> the update and mail, but it doesn't seem to be coming from the log.pl
> as it's only giving the directory the change was made and the author.
> It's not giving the modified filename or the comments.
>
> here's the line out of my loginfo file:
>
> ^docs ((date; cat; (sleep 2;
> cd /workspace1/cvstree/docs; /usr/local/bin/cvs -q update -d) &)
> >> /workspace1/cvstree/docs/updatelog.txt 2>&1
> ; $CVSROOT/CVSROOT/log.pl %s -u ${USER} -m address@hidden  -f
> $CVSROOT/CVSROOT/docs.log  -s)
>
> what am I doing wrong?
>
> ADVthanksANCE,
>
> Kelleigh
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]