[Top][All Lists]

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

RE: for Email Notification

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

You only need, 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 
Edit any of the following, if different on your system:
my $last_file  = "/var/cvs/lastdir";
my $summary    = "/var/cvs/summary";
my $smtpserver = "";
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/
Good luck!
-----Original Message-----
From: address@hidden [mailto:address@hiddenOn Behalf Of Brian Sequeira
Sent: Thursday, April 05, 2001 11:23 AM
To: address@hidden
Subject: for Email Notification

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/ address@hidden $USER %{sVv}
address@hidden:/usr/home/brians/51Release/Oas/CVSROOT$ cvs commit -m "test"
cvs commit: Examining .
Checking in;
/home/cvs/cvs/CVSROOT/,v  <--
new revision: 1.2; previous revision: 1.1
sh: /home/cvs/cvs/CVSROOT/ No such file or directory
cvs server: Rebuilding administrative file database
A,v file exists in the CVSROOT directory, but not a I added a 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 = "";                  
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

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,, New York Times Digital, U.S. News & World Report,
GOLFOnline,, Forbes, USA Today and For more
information please visit

reply via email to

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