[knowledgeforge-user] Commit emails

Rufus Pollock rufus.pollock at okfn.org
Mon Aug 14 20:36:05 UTC 2006


Francis Irving wrote:
> I'd like to be able to set up commit emails for a repository.
> 
> Does KForge have that facility already?
> 
> Probably best thing would be if project admins can set an email
> address (which may be a mailing list) to go in here. Assuming this is
> best current way of setting commit emails up in Subversion:
> 
> http://docs.codehaus.org/display/HAUS/How+to+Send+Subversion+Commit+Logs+to+Email

I think you've already raised this before :)

http://lists.okfn.org/pipermail/kforge-user/2006-March/000031.html

My response:

http://lists.okfn.org/pipermail/kforge-user/2006-March/000032.html

As I said there my suggestion is to use the trac rss feeds. To do this:

1. Create a trac service associated with your project
2. Subscribe to trac rss feed from timeline

If you want email I suggest using rss2email on the rss feed. We're 
already using this solution for our work on kforge (with emails going to 
the developer list) and it works pretty well. Even better it allows you 
to track not just subversion changes but tickets as well.

I note that you already have a trac service set up for ukparse with a 
timeline:

http://project.knowledgeforge.net/ukparse/trac/timeline

and the rss feed is:

<http://project.knowledgeforge.net/ukparse/trac/timeline?milestone=on&ticket=on&changeset=on&wiki=on&max=50&daysback=90&format=rss>

NB: this includes everything: changesets (svn), tickets, milestones, and 
wiki. If you want svn only just change all those 'on's to 'off's.

If you really want to use post commit emails you could try uploading the 
requisite script using the dav facility but I'd strongly recommend the 
trac+rss approach.

Regards,

Rufus




More information about the knowledgeforge-user mailing list