[PATCH 0/3] Add patch relations

metepolat2000 at gmail.com metepolat2000 at gmail.com
Tue Sep 24 07:50:09 AEST 2019


From: Mete Polat <metepolat2000 at gmail.com>

This patch introduces the ability to view relations between patches by
creating and updating patch relations via the REST API. Setting
relations allows users to browse related patches like other revisions of
the same patch.

Mete Polat (3):
  ui: Retain table header position on size changes
  models, templates: Add relations between patches
  REST: Add patch relations

 docs/api/schemas/latest/patchwork.yaml        | 149 +++++++++++++++++
 docs/api/schemas/patchwork.j2                 | 157 ++++++++++++++++++
 docs/api/schemas/v1.2/patchwork.yaml          | 149 +++++++++++++++++
 htdocs/css/style.css                          |   4 +-
 patchwork/api/index.py                        |   1 +
 patchwork/api/relation.py                     |  95 +++++++++++
 patchwork/migrations/0037_patch_relations.py  |  28 ++++
 patchwork/models.py                           |  13 ++
 patchwork/templates/patchwork/submission.html |  47 ++++--
 patchwork/tests/api/test_relation.py          | 154 +++++++++++++++++
 patchwork/tests/utils.py                      |  24 ++-
 patchwork/urls.py                             |  11 ++
 .../add-patch-relations-c96bb6c567b416d8.yaml |   9 +
 requirements-dev.txt                          |   1 +
 requirements-prod.txt                         |   1 +
 tox.ini                                       |   3 +-
 16 files changed, 830 insertions(+), 16 deletions(-)
 create mode 100644 patchwork/api/relation.py
 create mode 100644 patchwork/migrations/0037_patch_relations.py
 create mode 100644 patchwork/tests/api/test_relation.py
 create mode 100644 releasenotes/notes/add-patch-relations-c96bb6c567b416d8.yaml

-- 
2.20.1 (Apple Git-117)



More information about the Patchwork mailing list