[Buildbot-devel] GitMailDirSource

Samuli Seppänen samuli at openvpn.net
Wed Feb 20 07:32:01 UTC 2013


> I am looking for a Git email parsing change source. I was reading
> through the mailing list and it looked like something got started in
> jan of 2011 but I see no documentation.
>
> I use git request-pull messages sent to a mailing list and would like
> to parse the messages to trigger build test.
>
> Any advice?
>
> Regards,
> Brian

Hi Brian,

I guess you mean this piece of code I wrote:

<http://thread.gmane.org/gmane.comp.python.buildbot.devel/6595>

If I recall correctly, the code was written for Buildbot 0.7.12 and
would thus need to be forward-ported. I used the code to parse emails
sent by Sourceforge.net mailing list servers, and it worked well. It
might have to be modified to support other mailing list providers. I
made my GitMaildirSource configuration more secure by

- Accepting emails only from one address
- Allowing SMTP connections from one IP-address only (postfix setup +
iptables)
- Monitoring a closed "commits only" mailing list

When I upgraded my Buildmaster to 0.8.x GitMaildirSource became somewhat
redundant, as GitPoller was then available, and it was simpler, less
prone to breakage and more secure.

Best regards,

Samuli




More information about the devel mailing list