[Freeipa-devel] [SSSD] patchwork: Automatic marking of pushed commits
Jakub Hrozek
jhrozek at redhat.com
Mon Mar 25 09:24:04 UTC 2013
On Sat, Mar 23, 2013 at 05:30:58PM -0400, Simo Sorce wrote:
> Just a quick note to say I have created[1] a patch to allow automatic
> marking of patches in patchwork when they are pushed.
>
> I have pushed the patch on our patchwork instance.
> It works by pulling the trees on my patchwork server regularly.
> Currently this is done by a cronjob that pulls the trees every 10
> minutes.
>
> I've tested it on a sssd patch and it worked, however it failed for the
> last 2 freeipa patches. My guess is that they have been slightly changed
> during the push (whitespaces stripping maybe ?).
>
> Hopefully this will reduce the work needed to maintain the patchwork
> status some.
>
> As an aside is anyone interested in me adding support to parse comments
> in the emails to set patch status ?
>
> Patchwork already has some basic support but requires setting mail
> headers which is not immediate in many MUAs, but I could try to add
> support for parsing out patchwork commands in the body of the email if
> it is plain text.
This would be nice even if the detection worked for 80% of the cases. I
think a simple regex would cover most of the responses.
More information about the Freeipa-devel
mailing list