perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Wheeler <da...@kineticode.com>
Subject Re: another svn problem (diff across svn:external
Date Mon, 29 Nov 2004 05:11:32 GMT
On Nov 23, 2004, at 7:00 PM, Geoffrey Young wrote:

>> What's required for this, Geoff?
>
> I really don't know.  but I'll take it up with infrastructure@ or 
> #asfinfra
> on monday and find out.

I released a new version of SVN::Notify on Friday that has the 
functionality required by Stas and others. So here's what needs to 
happen to get it working:

1. Download and install SVN::Notify 2.43 from CPAN.
2. Add something like this to post-commit:

REPOS="$1"
REV="$2"

/usr/local/bin/svnnotify --repos-path "$REPOS" --revision "$REV" \
  --to-regex-map docs-cvs@perl.apache.org=perl/modperl-docs \
  --to-regex-map dev-cvs@perl.apache.org=perl/modperl2 \
  --to-regex-map test-cvs@perl.apache.org=httpd/test \
  --subject-cx --no-first-line
  --strip-cx-regex "/perl/modperl|/perl/modperl-docs|/httpd/test"
  --user-domain apache.org --with-diff --svnlook /usr/local/bin/svnlook \
  --sendmail /usr/sbin/sendmail \
  --viewcvs-url 'http://svn.apache.org/viewcvs.cgi/?rev=%s&view=rev'

A few notes on these commands:

* Be sure that the path to svnlook and sendmail are correct full paths.
* Modify the --to-regex-map values as necessary. It looks like the
   paths haven't been reorganized yet...
* Use the --bugzilla-url or --rt-url options if you use Bugzilla or RT.

I'll be on IRC tomorrow.

Regards,

David


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message