[Buildbot-devel] Git commit email parser?

Samuli Seppänen samuli at openvpn.net
Fri Oct 15 13:43:31 UTC 2010


> Is there a way to parse the standard Git post-receive hook emails to
> generate Change objects? If not, is adding support as easy as adding a
> new class (e.g. GitMaildirSource) to "changes/mail.py"? I've written
> some Python in the past, so I think I could do it.
>   
I've now written the initial version of "GitMaildirSource" class - it
will trigger a build when buildmaster gets a git commit mail to it's
maildir. I still need to parse the email to get correct values for
"comments", "files" and "branch" variables. I'll send a patch here once
those things are taken care of.

Samuli




More information about the devel mailing list