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

RE: Re: Email postcommit hook, subscription, properties ....

From: Bicking, David (HHoldings, IT) <David.Bicking_at_thehartford.com>
Date: 2007-11-02 18:44:37 CET

> -----Original Message-----
> From: Micah Elliott [mailto:mde@micahelliott.com]
> On 2007-11-02 Harvey, Edward wrote:
> > The users wish to have email alerts when somebody changes a file of
> > interest. So I'm trying to provide something like "watch
> this item"
> > ... It is natural to look at post commit hooks, but it is not
> > appropriate for every user to get email about every change.
> It would
> > simply be too much.
> It's a Best Practice to have a "commits" mailing list. (See
> Karl's new book, Producing Open Source Software
> (http://producingoss.com/) for details.)
> I like Mailman (http://www.gnu.org/software/mailman/index.html)
> quite a bit for hosting my commits lists. I haven't set up
> the topical granularity you've mentioned but it should be
> possible without much tweaking: Mailman provides "topics"
> which let you specify a regex pattern for email subjects.
> So you should be able to set up svnnotify
> (http://search.cpan.org/dist/SVN-Notify/) in a hook to put
> the path of the change into the subject. Then you would have
> a topic regex that would capture each top level directory.
> Your users would be "subscribed" only to the topics
> (directories) that really interest them.

Alternatively, if you're already in a Windows/C# environment like I am,
you can build C# console applications designed for your pre/post commit
hooks. This gives you all the capabilities of .NET. I would then
define configuration entries to define the paths and mailing lists. When
you want to change rules, just change the configuration.

This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary,
confidential and/or privileged information.  If you are not the intended
recipient, any use, copying, disclosure, dissemination or distribution is
strictly prohibited.  If you are not the intended recipient, please notify
the sender immediately by return e-mail, delete this communication and
destroy all copies.
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Nov 2 18:45:06 2007

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.