Ticket #40 (closed enhancement: fixed)

Opened 10 years ago

Last modified 10 years ago

Email Subversion commit logs to SUMOVER-dev mailing list

Reported by: socrates Owned by: socrates
Priority: major Milestone: sumover-2Q-release
Component: CMS/Repository Version: 4.3
Keywords: commit, log, notification Cc:


Need to send email to SUMOVER-dev mailing list after a "svn commit".

Change History

Changed 10 years ago by socrates

  • status changed from new to closed
  • resolution set to fixed

Configured subversion's post-commit hook script mailer.py to send email to SUMOVER-dev. The latest script can be found  here.

Had problems with UCL smtp refusing to deliver messages with response: smtplib.SMTPDataError: (554, 'No date field given')

This turned out to be due to a strict check on mail headers in the local smtp config (to avoid spam, etc). To overcome it, we modified our mailer.py to include an acurate "Date:" field.

We submitted a patch to Subversion dev list for mailer.py.

-- Socrates.

Note: See TracTickets for help on using tickets.