info-cvs
[Top][All Lists]
Advanced

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

RE: loginfo.pl for Email Notification


From: Ross Smith
Subject: RE: loginfo.pl for Email Notification
Date: Thu, 5 Apr 2001 11:56:37 -0700

Brian,
 
You only need loginfo.pl, if you want a mailing list to see a diff of the changes for each commit.  If not you can simply use 'mail'.
 
You'll need to do the following, if you choose to use loginfo.pl. 
 
Edit any of the following, if different on your system:
 
my $last_file  = "/var/cvs/lastdir";
my $summary    = "/var/cvs/summary";
my $smtpserver = "127.0.0.1";
my $smtpport   = 25;
my $cvs        = "/usr/bin/cvs";
my $cvsroot    = $ENV{CVSROOT}."/";
# remove double trailing slash
$cvsroot =~ s/\/\/$/\//;
my $cvsusers   = "/home/cvs/cvsroot/CVSROOT/cvsusers";
Create a /var/cvs directory that's world writable.
 
# mkdir /var/cvs
# chmod 777 /var/cvs
# chown cvs.cvs /var/cvs
 
I'm not *sure* about the world writable part.
 
Mark the script as executable (if it isn't already):
 
# chmod +x /home/cvs/cvs/CVSROOT/loginfo.pl
 
Good luck!
 
-Ross
-----Original Message-----
From: address@hidden [mailto:address@hiddenOn Behalf Of Brian Sequeira
Sent: Thursday, April 05, 2001 11:23 AM
To: address@hidden
Subject: loginfo.pl for Email Notification

Hello,
 
Below is an error I get when I try to commit any file after I had edited my loginfo file to contain the following line: ALL $CVSROOT/CVSROOT/loginfo.pl address@hidden $USER %{sVv}
 
address@hidden:/usr/home/brians/51Release/Oas/CVSROOT$ cvs commit -m "test"
cvs commit: Examining .
Checking in loginfo.pl;
/home/cvs/cvs/CVSROOT/loginfo.pl,v  <--  loginfo.pl
new revision: 1.2; previous revision: 1.1
done
sh: /home/cvs/cvs/CVSROOT/loginfo.pl: No such file or directory
cvs server: Rebuilding administrative file database
 
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?)
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?)
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 

Brian Sequeira
Build & Configuration

Real Media
580 Virginia Ave - Suite 200
Fort Washington PA 19034
Tel:  215.654.8376 x556
Fax: 215.591.0704
address@hidden
www.realmedia.com

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Real Media is a PubliGroupe company - the largest and oldest media services
organization in the world. Real Media provides marketing solutions to the
digital advertising industry through state of the art technology, maximizing
brand value by protecting audience information. Real Media's customers
include Bloomberg, Weather.com, New York Times Digital, U.S. News & World Report,
GOLFOnline, Investors.com, Forbes, USA Today and mp3.com. For more
information please visit www.realmedia.com.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 

reply via email to

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