M
M
MKrivosheev2012-05-22 18:47:58
CVS
MKrivosheev, 2012-05-22 18:47:58

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

4 answer(s)
A
Anton, 2012-05-22
@sHinE

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.

B
BasilioCat, 2012-05-22
@BasilioCat

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


In general, put Atlassian Fisheye (starter license - 10 bucks for 10 users) and it will be much more convenient

A
Andrey Yumashev, 2012-05-23
@skazkin

I join BasilioCat - I will only advise Redmine - free and with the same notifications

A
alitvinenko, 2012-05-28
@alitvinenko

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 question

Ask a Question

731 491 924 answers to any question