[PATCH] REST: filter patches by state name

Stephen Finucane stephen at that.guru
Thu May 4 02:25:03 AEST 2017


On Wed, 2017-05-03 at 13:43 +0200, Philippe Pepiot wrote:
> Since we display the name of the state in the serialized patch, also
> filter by name instead of primary key.
> 
> Also this will be consistent with the current documentation examples
> (curl 'https://patchwork.example.com/api/patches?state=under-review')
> 
> Signed-off-by: Philippe Pepiot <philippe.pepiot at logilab.fr>

*Fantastic* :) This has been annoying me to no end.

Reviewed-by: Stephen Finucane <stephen at that.guru>

...and applied post-haste.

Stephen

PS: That's two of three "nice to have for 2.0" items resolved [1], the
first being the updated Ubuntu 16.04 guide [2]. Given that the
remaining one is looking less likely [3], I think tagging an RC
tomorrow should be doable.

[1] https://lists.ozlabs.org/pipermail/patchwork/2017-April/004217.html
[2] https://patchwork.ozlabs.org/patch/757353/
[3] https://lists.ozlabs.org/pipermail/patchwork/2017-May/004234.html


More information about the Patchwork mailing list