httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kraemer <Martin.Krae...@Fujitsu-Siemens.com>
Subject Re: Is it possible to send a CVS update mail
Date Tue, 27 Feb 2001 17:28:55 GMT
On Tue, Feb 27, 2001 at 07:58:02AM -0800, rbb@covalent.net wrote:
> cvs tag $TAG
> echo "Tree tagged with $TAG" | sendmail -s "httpd-2.0 tagged" \
>       new-httpd@apache.org

The idea, I think, was to send this info to the CVS subscribers
(too), because they can tag their in-sync-copy at that point
(almost) automatically.

But why not use the "taginfo" hook for this purpose? The taginfo file
reads:

# The "taginfo" file is used to control pre-tag checks.
# The filter on the right is invoked with the following arguments:
#
# $1 -- tagname
# $2 -- operation "add" for tag, "mov" for tag -F, and "del" for tag -d
# $3 -- repository
# $4->  file revision [file revision ...]
#
# A non-zero exit of the filter program will cause the tag to be aborted.
#
# The first entry on a line is a regular expression which is tested
# against the directory that the change is being committed to, relative
# to the $CVSROOT.  For the first match that is found, then the remainder
# of the line is the name of the filter to run. [...]

That would be a place to add a "About to tag...." mailer script!

   Martin
-- 
<Martin.Kraemer@Fujitsu-Siemens.com>    |       Fujitsu Siemens
       <martin@apache.org>              |   81730  Munich,  Germany

Mime
View raw message