Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 33575 invoked by uid 500); 27 Feb 2001 17:29:25 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 33447 invoked from network); 27 Feb 2001 17:29:21 -0000 Date: Tue, 27 Feb 2001 18:28:55 +0100 From: Martin Kraemer To: new-httpd@apache.org Subject: Re: Is it possible to send a CVS update mail Message-ID: <20010227182855.B2897@deejai2.mch.fsc.net> References: <017701c0a0ce$114f7120$96c0b0d0@roweclan.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from rbb@covalent.net on Tue, Feb 27, 2001 at 07:58:02AM -0800 X-Operating-System: FreeBSD 4.2-RELEASE FreeBSD 4.2-RELEASE X-Organization: Fujitsu Siemens Computers (Muenchen, W.Germany) X-Disclaimer: THE COMMENTS CONTAINED IN THIS MESSAGE REFLECT THE VIEWS OF THE WRITER AND ARE NOT NECESSARILY THE VIEWS OF FUJITSU-SIEMENS COMPUTERS X-No-Junk-Mail: I do not want to get *any* junk mail. X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 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 -- | Fujitsu Siemens | 81730 Munich, Germany