[PATCH 0/5] Random API improvements
Stephen Finucane
stephen at that.guru
Mon Mar 26 05:28:18 AEDT 2018
A number of improvements for various aspects of the API. The biggest
change here is probably the inclusion of API versioning functionality,
though there are also improvements for testing and the likes.
This is a pre-requisite for forthcoming fixes for #156 [1].
[1] https://github.com/getpatchwork/patchwork/issues/156
Stephen Finucane (5):
tests: Split 'test_rest_api'
REST: Use versioning for modified responses
docs: Add information on REST API versioning
docs: Add note on backing up the docker database
REST: Order 'filters' code
docs/development/contributing.rst | 15 +
docs/development/installation.rst | 13 +-
docs/development/releasing.rst | 23 +
patchwork/api/base.py | 27 ++
patchwork/api/cover.py | 7 +-
patchwork/api/embedded.py | 25 +-
patchwork/api/filters.py | 86 ++--
patchwork/api/project.py | 7 +-
patchwork/tests/api/__init__.py | 0
patchwork/tests/api/test_bundle.py | 134 ++++++
patchwork/tests/api/test_check.py | 121 +++++
patchwork/tests/api/test_cover.py | 131 ++++++
patchwork/tests/api/test_patch.py | 208 +++++++++
patchwork/tests/api/test_person.py | 114 +++++
patchwork/tests/api/test_project.py | 179 ++++++++
patchwork/tests/api/test_user.py | 89 ++++
patchwork/tests/test_rest_api.py | 869 ------------------------------------
patchwork/urls.py | 2 +-
18 files changed, 1122 insertions(+), 928 deletions(-)
create mode 100644 patchwork/tests/api/__init__.py
create mode 100644 patchwork/tests/api/test_bundle.py
create mode 100644 patchwork/tests/api/test_check.py
create mode 100644 patchwork/tests/api/test_cover.py
create mode 100644 patchwork/tests/api/test_patch.py
create mode 100644 patchwork/tests/api/test_person.py
create mode 100644 patchwork/tests/api/test_project.py
create mode 100644 patchwork/tests/api/test_user.py
delete mode 100644 patchwork/tests/test_rest_api.py
--
2.14.3
More information about the Patchwork
mailing list