[RFC 11/11] REST: Add States to the API

Andy Doan andy.doan at linaro.org
Wed May 11 08:30:23 AEST 2016


On 05/09/2016 09:10 AM, Finucane, Stephen wrote:
> I'd like to drop the whole customisable states feature in favour of an
> enum [1]. Unless you've a good reason to include this, can we avoid
> putting it into the API?

I included this because Patch.state is returned as a numeric ID. We need 
the strings to show something useful in CLI tool. I've updated the v2 
version of this series to return the patch state as string so that this 
patch isn't needed.


More information about the Patchwork mailing list