New hook to update patch status on pull

Jeremy Kerr jk at ozlabs.org
Tue Apr 2 22:24:04 EST 2013


Hi Simo,

Thanks for the contribution :)

> In my setup I do not want to hook patchwork directly in the upstream
> master tree as I do not have access to it.
>
> So I created this patch that will update the status of patches after a
> pull.

Not meaning to be critical here, but is there a reason you don't want to 
use the existing scripts to do this, via the XMLRPC API?

> It adds some code in utils.py to performthe actual update and a
> post-merge hook that is called when my cron job does a git pull from
> master.

I'd prefer that we don't add the main function to utils.py, but instead 
create a new script for this.

Cheers,


Jeremy


More information about the Patchwork mailing list