[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: loginfo.pl for Email Notification
From: |
Jerry Nairn |
Subject: |
RE: loginfo.pl for Email Notification |
Date: |
Thu, 5 Apr 2001 11:06:27 -0700 |
Use the cvs administrative file, checkoutlist, to get a checked out version
of loginfo.pl into CVSROOT.
See the manual at
http://www.cvshome.org/docs/manual/cvs_18.html#SEC174
Jerry
> From: Brian Sequeira [mailto:address@hidden
> Sent: Thursday, April 05, 2001 11:23 AM
> A loginfo.pl,v file exists in the CVSROOT directory, but not
> a loginfo.pl. I added a loginfo.pl to the repository that was
> passed on thru this mailing list. I had to edit the following
> lines in the file:
> my $last_file = "/var/cvs/lastdir"; -------- (What is this
variable used for?)
If this works like log_accum.pl, this is where this script finds the name of
the last directory involved in this commit. But I'm just guessing.
> my $summary = "/var/cvs/summary"; -------- (What is this variable
used for?)
> my $smtpserver = "127.0.0.1";
> my $smtpport = 25;
> my $cvs = "/usr/bin/cvs";
> my $cvsroot = $ENV{CVSROOT}."/";
> # remove double trailing slash
> $cvsroot =~ s/\/\/$/\//; ------ (What does
this mean?)
It means you should learn more about perl before you attempt to edit or
interpret a perl script like this. The line two lines before adds a "/" to
the end of $cvsroot, which could make it end in "//" if it already ended in
"/". If that happens, this line replaces the trailing "//" with "/".
> my $cvsusers = "/home/cvs/cvsroot/CVSROOT/cvsusers"; -------(no
cvsusers file existing)
> Could you point to a site or maual that could better help me
> understand email notifications via CVS? Thanks
See the manual at
http://www.cvshome.org/docs/manual/index.html
Jerry