Re: [PATCH 2/2] api: allow filtering patches and covers by msgid

2020-04-14 Thread Michael Ellerman
Daniel Axtens writes: > In the process of fixing the previous bug, I realised that: > > a) /api/patches/msgid is a perfectly reasonable thing to attempt > b) We have no way of finding a patch by message id in the API > > We can't actualy make /api/patches/msgid work because it may not > be uniqu

Re: [PATCH 2/2] api: allow filtering patches and covers by msgid

2020-04-14 Thread Daniel Axtens
Stephen Finucane writes: > On Tue, 2020-04-14 at 16:21 +1000, Daniel Axtens wrote: >> In the process of fixing the previous bug, I realised that: >> >> a) /api/patches/msgid is a perfectly reasonable thing to attempt >> b) We have no way of finding a patch by message id in the API >> >> We ca

Patchwork v2.2.1 Available

2020-04-14 Thread Daniel Axtens
We're pleased to announce the release of Patchwork v2.2.1. This release is part of the "Flannel" release series: https://github.com/getpatchwork/patchwork/releases/tag/v2.2.1 This release focuses on bugfixes, including an issue where Patchwork would attempt to construct a list of every sing

Re: [PATCH 1/2] api: do not fetch every patch in a patch detail view 404

2020-04-14 Thread Stephen Finucane
On Tue, 2020-04-14 at 16:21 +1000, Daniel Axtens wrote: > mpe and jk and sfr found that the OzLabs server was melting due > to some queries downloading every patch. > > Turns out if you 404 the patch detail view in the API, d-r-f attempts > to render a listbox with every single patch to fill in th

Re: [PATCH 2/2] api: allow filtering patches and covers by msgid

2020-04-14 Thread Stephen Finucane
On Tue, 2020-04-14 at 16:21 +1000, Daniel Axtens wrote: > In the process of fixing the previous bug, I realised that: > > a) /api/patches/msgid is a perfectly reasonable thing to attempt > b) We have no way of finding a patch by message id in the API > > We can't actualy make /api/patches/msgid

Re: [PATCH 2/2] api: allow filtering patches and covers by msgid

2020-04-14 Thread Andrew Donnellan
On 14/4/20 4:21 pm, Daniel Axtens wrote: In the process of fixing the previous bug, I realised that: a) /api/patches/msgid is a perfectly reasonable thing to attempt b) We have no way of finding a patch by message id in the API We can't actualy make /api/patches/msgid work because it may no

Re: [PATCH 1/2] api: do not fetch every patch in a patch detail view 404

2020-04-14 Thread Jeremy Kerr
Hi Daniel, > mpe and jk and sfr found that the OzLabs server was melting due > to some queries downloading every patch. > > Turns out if you 404 the patch detail view in the API, d-r-f attempts > to render a listbox with every single patch to fill in the 'related' > field. ... and the query for

Re: [PATCH 2/2] api: allow filtering patches and covers by msgid

2020-04-14 Thread Jeremy Kerr
Hi Daniel, > In the process of fixing the previous bug, I realised that: > > a) /api/patches/msgid is a perfectly reasonable thing to attempt > b) We have no way of finding a patch by message id in the API > > We can't actualy make /api/patches/msgid work because it may not > be unique, but we

Patchwork v2.1.6 Available

2020-04-14 Thread Daniel Axtens
We're pleased to announce the release of Patchwork v2.1.6. This release is part of the "Eolienne" release series: https://github.com/getpatchwork/patchwork/releases/tag/v2.1.6 This release is a PATCH release that focuses on bugfixes. For more details, please see below. Note that Patchwork