Print

Print


Hi,

I have switched the SVN mail notification script of the HPS Java and LCSim SVN repositories from svnspam (which is unmaintained) to the more standard svnmailer package.

This automatically adds the committer's name to the message and creates an email like this for each commit.

-----------------------------------------------------------------------------------------------------------------------------------
Author: [log in to unmask]
Date: Tue Oct 21 11:34:44 2014
New Revision: 1255

Log:
test

Modified:
    java/sandbox/test.txt

Modified: java/sandbox/test.txt
==============================================================================
--- java/sandbox/test.txt	(original)
+++ java/sandbox/test.txt	Tue Oct 21 11:34:44 2014
@@ -1,4 +1,3 @@
 such commit so email
 another test
 yet another test
-make sure this is unbroken for now
-----------------------------------------------------------------------------------------------------------------------------------

I guess we no longer have the color coded diffs, but on the plus side the name of the committer will appear in every email now in the "Author:" field at the top.

So if someone breaks something now you know who to bother about it.

I have not really gotten into the details of the config yet.  I just made it work.

There are a lot of options for this script.

http://opensource.perlig.de/svnmailer/doc-1.0/

This is what I'm using currently (e.g. for HPS).

[general]
sendmail_command = /usr/sbin/sendmail
smtp_host = smtpunix.slac.stanford.edu

[defaults]
from_addr = [log in to unmask]
to_addr = [log in to unmask]
generate_diffs = add copy modify
suppress_deletes = yes

If anyone has suggestions for tweaking this in some way with specific configuration options, then let me know (send to the software list is fine).

Thanks!

--Jeremy

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1