pwclient: update delegate
Jeremy Kerr
jk at ozlabs.org
Thu Oct 6 13:35:35 EST 2011
On Wed, 2011-10-05 at 16:35 +0200, Wolfgang Denk wrote:
> Hello,
>
> I tried to extend pwclient so that it allows me to change the
> "delegate" entry. For some reason this appears not to work.
>
> Is there any documentation for the XML-RPC interface, and especially
> a complete list of the params we chan read / write this way?
Hi Wolfgang,
While there's no separate document for this, it's described in the
server-side xmlrpc view:
http://git.ozlabs.org/?p=patchwork;a=blob;f=apps/patchwork/views/xmlrpc.py
The function you're interested in is 'patch_set'. You'll need to lookup
a User object, and set the Patch's delegate. Don't forget to extend
ok_params too.
Cheers,
Jeremy
More information about the Patchwork
mailing list