|
From: | JL Gray |
Subject: | Emailing notifications only when a file is tagged |
Date: | Fri, 6 Jul 2001 15:56:41 -0700 (PDT) |
I am trying to set up notification emails for our project, but there is a catch. I dont want to send out an email when a file is committed, added, edited, etc. I only want to send out the email when the file is tagged with a certain tag (module_ready). I have added a line to my taginfo file in CVSROOT to call a script I have written which prints out an email as follows:
------------------------------------------------
Subject: CVS NOTIFICATION: Files in /testing/cvs/bar/foofoo have been tagged module_ready
The following files have been tagged module_ready:
w1 1.4
w2 1.7
Thanks,
CVS Repository
I would like to also include the log messages between the versions of the files that are about to be tagged and the version of the file that was tagged last. (Note that I am moving the tags with cvs tag F module_ready w1 w2).
Since the only directory information I get from CVS when my script is called is the directory to the repository, I cant seem to figure out how to get those log messages.
Any ideas?
Thanks,
JL[Prev in Thread] | Current Thread | [Next in Thread] |