Notify, loginfo, etc.

2003-02-05 Thread Yarbrough, Jay
I would like the notify script to send not only the name of the file which has been 
committed, but also the comment entered by the developer who committed the change.

Can anyone provide a bit of assistance?

Thanks,

J

-
This email and any attachments are confidential and may be legally privileged.  No 
confidentiality or privilege is waived or lost by any transmission in error.  If you 
are not the intended recipient you are hereby notified that any use, printing, copying 
or disclosure is strictly prohibited.  Please delete this email and any attachments, 
without printing, copying, forwarding or saving them and notify the sender immediately 
by reply e-mail.  The company reserves the right to monitor all e-mail communications 
through its networks.  Unless otherwise stated, any financial results or price data 
contained in this email are indicative only and are subject to change without notice.



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



RE: Notify, loginfo, etc.

2003-02-05 Thread Marc Tessier
You can trap the complete log output by calling a script at every commit on a 
particular module. I have the following line in my loginfo file. The script put the 
STDIN to the email by calling the cat command without parameter and in forward quote 
``


My logingo file below:

 ^modulename /home/CVS/commitmail modulename [EMAIL PROTECTED]



and my /home/CVS/commitmail script look like this

   echo 
   echo An email has been sent to ${2} about this COMMIT.
   echo 

   mail -s ${CVSROOT} - ${1} ${2} !
   The following file has been modified by ${CVS_USER} on `date`
 
   ===
   `cat`
   !



This will generate the the following email below:


The following file has been modified by mtessier on Mon Jan 20 15:40:30 EST 2003

===
Update of /home/CVS/prod/cityfone/releases
In directory fileguardian.ca.intasys.com:/tmp/cvs-serv24478/releases

Added Files:
296_post_installation.sql 296_pre_installation.sql 
303_post_installation.sql 303_pre_installation.sql 
304_post_installation.sql 304_pre_installation.sql 
CF_ER1_9_3.sql 
Log Message:

New script files


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
Yarbrough, Jay
Sent: Wednesday, February 05, 2003 10:44 AM
To: [EMAIL PROTECTED]
Subject: Notify, loginfo, etc.


I would like the notify script to send not only the name of the file which has been 
committed, but also the comment entered by the developer who committed the change.

Can anyone provide a bit of assistance?

Thanks,

J

-
This email and any attachments are confidential and may be legally privileged.  No 
confidentiality or privilege is waived or lost by any transmission in error.  If you 
are not the intended recipient you are hereby notified that any use, printing, copying 
or disclosure is strictly prohibited.  Please delete this email and any attachments, 
without printing, copying, forwarding or saving them and notify the sender immediately 
by reply e-mail.  The company reserves the right to monitor all e-mail communications 
through its networks.  Unless otherwise stated, any financial results or price data 
contained in this email are indicative only and are subject to change without notice.



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Notify, loginfo, etc.

2003-02-05 Thread Riechers, Matthew W
Yarbrough, Jay wrote:
 
 I would like the notify script to send not only the name of the file
 which has been committed, but also the comment entered by the
 developer who committed the change.

Use CVSROOT/loginfo to process logs from a commit.

-Matt


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



RE: Notify, loginfo, etc.

2003-02-05 Thread erik . cumps
Hello,

  I use my own script with this entry in loginfo:

DEFAULT $CVSROOT/CVSROOT/logit4me \'%{sVv}\' $CVSROOT/CVSROOT/commitlog 
${USER} user@email

The script is attached.





You can trap the complete log output by calling a script at every commit 
on a particular module. I have the following line in my loginfo file. The 
script put the STDIN to the email by calling the cat command without 
parameter and in forward quote ``

-Original Message-
From: Yarbrough, Jay

I would like the notify script to send not only the name of the file which 
has been committed, but also the comment entered by the developer who 
committed the change.




logit4me
Description: Binary data
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs