[PATCH] api: support filtering patches by hash
konstantin at linuxfoundation.org
Thu Oct 24 01:40:59 AEDT 2019
On Thu, Oct 24, 2019 at 01:33:42AM +1100, Daniel Axtens wrote:
> This is a feature that the XML-RPC API has, and which is used in
> the wild , so support it in the REST API.
Nice! Thank you for this.
> I tried to version the new filter field, but it's not at all clear
> how to do this with django-filters. The best way I could find
> requires manually manipulating request.GET, which seems to defeat
> the point of django-filters. So document it for 1.2, and have it
> work on older versions as an undocumented feature.
>  https://git.kernel.org/pub/scm/linux/kernel/git/mricon/korg-helpers.git/tree/git-patchwork-bot.py?id=104e7374e1be8458e6d2e82478625a7bf8c822ff
> Cc: Konstantin Ryabitsev <konstantin at linuxfoundation.org>
> Signed-off-by: Daniel Axtens <dja at axtens.net>
Acked-by: Konstantin Ryabitsev <konstantin at linuxfoundation.org>
More information about the Patchwork