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

Re: Daily digest commit hook

From: Ryan Schmidt <subversion-2006q2_at_ryandesign.com>
Date: 2006-05-31 14:28:56 CEST

On May 31, 2006, at 11:24, Donckels, Frederic wrote:

> I googled some time, but couldn't find anything. My users would
> like to
> avoid to be drowned in commit messages. Is there an easy way to have
> daily digests of the svn commit messages on our repository (one way
> would be to have those messages sent to a mailing-list and the users
> subscribed to that list with a daily digest option, but I'd like an
> easier setup).

Nothing built-in that I'm aware of. Shouldn't be difficult to build.
In the post-commit hook, write the diff of the revision to a new
file, named for the revision number (e.g. r123.diff). In a cron job
at midnight or whenever, get the list of files, sort them using a
natural sort algorithm, and for each file, append its contents to the
email being built, and then delete the diff file. Then send the mail.

If different people are subscribed to different paths in the
repository, I suppose this strategy would need to be modified somewhat.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 31 14:30:14 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.