[Incubator] CN SVN Notifications

Sean Gillies sgillies at frii.com
Sat Apr 1 12:57:39 EST 2006


On Mar 31, 2006, at 10:29 PM, Frank Warmerdam wrote:

> Folks,
>
> I am interested in triggering various sorts of actions when a change
> is committed in the CN SVN repositories.  As a proof of concept, I  
> have
> now written a python script that can process CN email notifications of
> an SVN commit, and turn it into a message for the CIA system which  
> we use
> to mention updates in the #gdal channel.   I imagine it would be  
> fairly
> trivial to also use these commit emails to drive BuildBot and other
> services.
>
> Best regards,
> -- 
> --------------------------------------- 
> +--------------------------------------
> I set the clouds in motion - turn up   | Frank Warmerdam,  
> warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | President OSGF, http:// 
> osgeo.org
>

Frank,

Instead of parsing email, why not use

   http://cia.navi.cx/clients/svn/ciabot_svn.py

Drop it into the SVN hooks directory and call from the repo's post- 
commit hook. The same hook could be used to rouse the BuildBot.

Sean

---
Sean Gillies
http://zcologia.com







More information about the Incubator mailing list