Last active
December 22, 2015 14:49
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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