1

I'm hosting my own svn repository on ubuntu 8.04. Is there a way for svn to send emails to team members whenever a commit has happened?

If coding is required, the only language I'm able to use on a linux server is PHP. So I could write a php script to be triggered by svn.

Can anyone tell me how to hook up my php script to an svn commit? Or is there another way to do this?

Georg Fritzsche
  • 97,545
  • 26
  • 194
  • 236
John
  • 32,403
  • 80
  • 251
  • 422

4 Answers4

8

You might want to look into Commit Monitor. This is a windows-only solution I believe, but it allows your team members to "opt-in" to alerts, by checking the repository every 30 minutes or so.

Nate
  • 30,286
  • 23
  • 113
  • 184
3

The proper way of doing this is to implement the hooks. But to be clear - the tons of emails will be annoying.

zerkms
  • 249,484
  • 69
  • 436
  • 539
2

You can simple to do, read this pages:

  1. petefreitag
  2. svnbook

This web links describing how to use subversion hooks, and what types of her exist and how to configure it.

Milind Anantwar
  • 81,290
  • 25
  • 94
  • 125
Svisstack
  • 16,203
  • 6
  • 66
  • 100
1

You could also monitor your repositories with WebSVN (a PHP based svn repository browser) and a RSS reader of your choice.

splash
  • 13,037
  • 1
  • 44
  • 67