[PATCH v2 0/2] Add submission relations
Stephen Finucane
stephen at that.guru
Fri Feb 28 10:29:30 AEDT 2020
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.
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
--
2.24.1
More information about the Patchwork
mailing list