[PATCH 0/2] Add writeable 'bundles' API

Stephen Finucane stephen at that.guru
Mon Sep 9 08:31:45 AEST 2019


Hopefully self-explanatory. This closes another gap with the web UI and
REST API.

Stephen Finucane (2):
  REST: Add 'has_version' helper
  REST: Allow creating, updating, deleting of bundles

 docs/api/schemas/latest/patchwork.yaml        | 170 +++++++++++++++-
 docs/api/schemas/patchwork.j2                 | 181 +++++++++++++++++-
 docs/api/schemas/v1.0/patchwork.yaml          |   5 +-
 docs/api/schemas/v1.1/patchwork.yaml          |   5 +-
 docs/api/schemas/v1.2/patchwork.yaml          | 170 +++++++++++++++-
 patchwork/api/base.py                         |  12 +-
 patchwork/api/bundle.py                       |  84 +++++++-
 patchwork/api/utils.py                        |  14 ++
 patchwork/models.py                           |  11 ++
 patchwork/tests/api/test_bundle.py            | 118 +++++++++++-
 patchwork/tests/api/utils.py                  |  16 +-
 ...pdate-bundle-via-api-2946d8c4e730d545.yaml |   4 +
 12 files changed, 754 insertions(+), 36 deletions(-)
 create mode 100644 patchwork/api/utils.py
 create mode 100644 releasenotes/notes/update-bundle-via-api-2946d8c4e730d545.yaml

-- 
2.21.0



More information about the Patchwork mailing list