Answer the question
In order to leave comments, you need to log in
SVN Change Email Notifications - How?
There seem to be quite a few applications for "monitoring" SVN. But I can’t immediately find one that would be able to send notifications of changes by e-mail. Please advise suitable
Answer the question
In order to leave comments, you need to log in
In my opinion, this is implemented by scripts on the server through the post commit hook. As for ready-made applications, I will not say.
Use SVN::Notify (it's a pearl module) along with HTML::ColorDiff
/data/svn/repository1/hooks/post-commit:
#!/bin/sh
REPOS="$1"
REV="$2"
/usr/bin/svnnotify -r $REV -C -d -H HTML::ColorDiff -p $REPOS -t [email protected] --from [email protected] --subject-prefix "[SVN]" --encoding koi8-r --svn-encoding koi8-r --diff-encoding koi8-r --jira-url "http://jira.domain.ru/" 2>/dev/null
I join BasilioCat - I will only advise Redmine - free and with the same notifications
Use hook post-commit
REPOS - repository
REV - revision number
#!/bin/sh
export LC_ALL=ru_RU.utf8
REPOS="$1"
REV="$2"
<тут команда отправки на мыло>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question