Showing posts from September, 2009

svn hooks for sending emails

if you want to send out emails after people send files to the repository then you can do the following to alert your team.

First navigate to the hooks directory in the repository
nano /PROJECT_NAME/hooks/post-commit My directions might be a bit old or I am sure someone does it better then me but here we go. At the bottom of the file add this information replaceing my variables.
/PROJECT_NAME/hooks/ "$REPOS" "$REV" EMAIL@ADDRESS.COM Next I found a file on the internet for sending out emails. I will add the file as an attachment rather then posting it. Good luck and hope everything works for you all.