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

Programming a Watcher File

From: David Weintraub <qazwart_at_gmail.com>
Date: Tue, 2 Mar 2010 11:26:50 -0500

One of the tech leads wants to be able to program a watch file, so
that when a certain set of developers change a particular file,
certain other developers get notified. Thus, we need to be able to
program what files, what developers do the commit, and what developers
receive the notification. I'd like to do this, so this developer can
maintain this file himself instead of me having to maintain it which
means it can't be a text file on the Subversion server.

I'm working with something like this now. I have a configuration file
where you setup the various parameters (specifying files via globbing
or regex), who does the commit, and who receives the email. The
configuration file sits in the source repository, so this tech lead
has access to it.

I was wondering if anyone already has a post-commit hook script like
this already setup. I know there's one included in Subversion, but
this one uses a text file that's accessible to the hook script and its
setup isn't that flexible.

If not, I'll finish up the one I'm working on.

-- 
David Weintraub
qazwart_at_gmail.com
Received on 2010-03-02 17:27:26 CET

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