[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: post-commit notify scripts

From: David Weintraub <qazwart_at_gmail.com>
Date: Sun, 26 Sep 2010 13:08:30 -0400

What do you mean "filter it"? Do you mean not to send a notice to
EVERYONE when ANYTHING is committed?

There are plenty of notification scripts that do this. I have one I
wrote which allows users to specify the files they want to be notified
on. Thus, you're only sending notifications to users for the files
that are important to those particular users. Most of the scripts have
the administrator do the dirty work of specifying which users and
which files because users don't have access to the server.

However, my notification script uses a directory in the repository
which allows users to set their own notifications. Each user gets
their own file. They set the email addresses and files they'd like to
be notified on using either Ant globbing syntax or Perl based regular
expressions.

The script is written in Perl and contains its documentation which can
be retrieved via the pod2xxx commands. (exact directions is documented
in the first few lines of the script). It requires no special Perl
modules and should work on OS X, Unix, Linux, and Windows (if you
download the free ActivePerl release from http://activestate.com).

You can download my script from
http://dl.dropbox.com/u/433257/svn_hooks/svn-watch.pl.

On Tue, Sep 21, 2010 at 4:43 PM, Jeremy Mordkoff <jlm_at_zeevee.com> wrote:
> I use a post commit script to send email to a list whenever anyone commits
> anything. I want to start filtering that now. Anyone done this and willing
> to share any tools?
>
>
>
> JLM
>
>
>
>
>
>
>
> Jeremy Mordkoff
>
> Director, QA, IT & Release
>
> ZeeVee, Inc.
>
> One Monarch Drive | Littleton, MA 01460
>
> Office: 978.467.1395 x233 | Fax: 978.467.1404
>
> Mobile: 978-257-2183
>
> jlm_at_zeevee.com
>
> www.zeevee.com
>
>

-- 
David Weintraub
qazwart_at_gmail.com
Received on 2010-09-26 19:09:07 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.