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

Re: commit_email.pl improvements

From: Josef Wolf <jw_at_raven.inka.de>
Date: 2002-07-03 22:08:58 CEST

On Mon, Jul 01, 2002 at 05:09:07PM -0700, Blair Zajac wrote:
> Several things I want to do with commit_email.pl. Feedback needed.

> % commit_email.pl ${REPOS} ${REV} \
> -match '^/(trunk|tag|branches)/proj1/' proj1@xyz.com \
> -match '^/(trunk|tag|branches)/proj2/' proj2@abc.com
> catchall@abc.com

Those lines can get very long and would be awesome to maintain.
What about a config file which looks like:

[^/(trunk|tag|branches)/proj1/]
  mail proj1@xyz.com
  log proj1.log
  reply-to proj1-list@xyzuu.com

[^/(trunk|tag|branches)/proj2/]
  mail proj2@abc.com
  log proj2.log
  reply-to proj2-list@xyzuu.com

BTW: while at the hooks, I want to suggest an other change. It would
be nice if the start-commit-hook and pre-commit-hook would get their
stdin/stdout redirected to a terminal(ssh?)-session to the committer
so the script could ask questions like "Regression-test failed! Do you
really want to commit (y/n)?" instead of just fail (and therefore
reject the commit).

-- 
-- Josef Wolf -- jw@raven.inka.de --
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 3 22:09:53 2002

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

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