[PATCH v2 0/2] Add submission relations

Stephen Finucane stephen at that.guru
Fri Feb 28 10:35:35 AEDT 2020


On Thu, 2020-02-27 at 23:29 +0000, Stephen Finucane wrote:
> An update of Daniel's changes to add the schema and fix various other
> things that were off from the RFC.
> 
> Daniel - can you have a look through this and make sure I haven't missed
> anything obvious? If not, feel free to apply it and cut RC2.

and I just realized I missed you query-related follow-ups from a few
weeks ago. Damn. If there are DB performance issues with this as-is,
then, as noted in another thread, I'd much rather we cut RC2 with what
we have on master now and prepped for a final release because I don't
know when I'll have a free weekend to dig into this anytime soon. Also,
scope creep is a thing, folks! :)

Stephen

> Mete Polat (2):
>   models, templates: Add patch relations
>   REST: Add patch relations
> 
>  docs/api/schemas/latest/patchwork.yaml        |  44 +++
>  docs/api/schemas/patchwork.j2                 |  60 ++++
>  docs/api/schemas/v1.1/patchwork.yaml          |  18 +
>  docs/api/schemas/v1.2/patchwork.yaml          |  44 +++
>  patchwork/admin.py                            |   8 +
>  patchwork/api/embedded.py                     |  25 ++
>  patchwork/api/event.py                        |   8 +-
>  patchwork/api/patch.py                        | 121 ++++++-
>  .../migrations/0040_add_related_patches.py    |  41 +++
>  patchwork/models.py                           |  32 +-
>  patchwork/signals.py                          |  24 ++
>  patchwork/templates/patchwork/submission.html |  37 ++
>  patchwork/tests/api/test_relation.py          | 319 ++++++++++++++++++
>  patchwork/tests/utils.py                      |  11 +
>  patchwork/views/patch.py                      |  14 +
>  .../add-patch-relations-c96bb6c567b416d8.yaml |  11 +
>  16 files changed, 812 insertions(+), 5 deletions(-)
>  create mode 100644 patchwork/migrations/0040_add_related_patches.py
>  create mode 100644 patchwork/tests/api/test_relation.py
>  create mode 100644 releasenotes/notes/add-patch-relations-c96bb6c567b416d8.yaml
> 



More information about the Patchwork mailing list