[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: mailer.py style daily summary of commits

From: Wesley J. Landaker <wjl_at_icecavern.net>
Date: 2006-04-26 17:09:19 CEST

On Tuesday 25 April 2006 15:28, Adolf Schwarz wrote:
> I am running a SVN server with several repositories and the mailer.py
> script to notify all users of commits.
>
> Sometimes one user does several commits a day, flooding all other users
> with commit e-mail messages. That's annoying, since one message for all
> commits would be enough.
>
> It would be better if everyone gets only one daily summary about the
> changes in the repository. I am aware that would not be a hook, but a
> script run by taskplaner or cronjob.
>
> I am running on Windows Server 2003 with Apache2, PHP, Python, Mysql.
>
> Is there any existing solution for that?

Yes, a very easy way would be to install mailman
<http://www.gnu.org/software/mailman/index.html>. Mailman just uses python,
which you already have installed, I'm not sure what other dependencies is
has. Anyway, you just need mailing list software that supports message
digests.

Then, just point your mail at a list with the appropriate people subscribed
in digest mode. This way you also have the flexibility of each user either
getting digest versions, or getting each individual e-mail--whichever they
prefer.

-- 
Wesley J. Landaker <wjl@icecavern.net> <xmpp:wjl@icecavern.net>
OpenPGP FP: 4135 2A3B 4726 ACC5 9094  0097 F0A9 8A4C 4CD6 E3D2

  • application/pgp-signature attachment: stored
Received on Wed Apr 26 17:12:49 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.