Skip to content

Instantly share code, notes, and snippets.

@tsertkov
Last active December 22, 2015 14:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsertkov/6488177 to your computer and use it in GitHub Desktop.
Save tsertkov/6488177 to your computer and use it in GitHub Desktop.
SVN mailer.py configuration for sending easy filterable on-commit emails with link to revision diff in fisheye.
<VirtualHost *:80>
ServerName fisheye.dev.example.com
# redirection of websvn urls generated by svnmailer
RewriteEngine On
RewriteCond %{QUERY_STRING} sc=[0-9]+&rev=([0-9]+)
RewriteRule ^/([^/]+)/websvn/$ http://%{SERVER_NAME}/changelog/$1/?cs=%1 [R,L]
# proxy to fisheye port
ProxyPass / http://fisheye.dev.example.com:8060/
ProxyPassReverse / http://fisheye.dev.example.com:8060/
</VirtualHost>
[general]
mail_command = /usr/sbin/sendmail
[defaults]
diff = /usr/bin/diff -u -L %(label_from)s -L %(label_to)s %(from)s %(to)s
commit_subject_prefix = svn commit:
propchange_subject_prefix = svn propchange:
lock_subject_prefix = svn lock:
unlock_subject_prefix = svn unlock:
truncate_subject = 200
generate_diffs = none
show_nonmatching_paths = yes
[{repo_name}]
browser_base_url = websvn http://fisheye.dev.example.com/{{repo_name}}/websvn
for_repos = /var/svn/{repo_path}$
from_addr = {repo_name}@svn.example.com
to_addr = my-example-list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment