[Patchew-devel] [PATCH 00/11] rest: implement remaining commands

Paolo Bonzini posted 11 patches 4 years, 10 months ago
Failed in applying to current master (apply log)
api/models.py         |  60 +++++++++++++++++-
api/rest.py           | 137 ++++++++++++++++++++++++++++++++----------
api/urls.py           |   7 ++-
mods/git.py           |  69 ++++++++++++++++++---
mods/testing.py       |  89 +++++++++++++++++----------
patchew-cli           |  10 ---
patchew/settings.py   |   2 +-
tests/patchewtest.py  |  28 +++++----
tests/test_git.py     |  28 +++++++++
tests/test_rest.py    |  36 +++++++++++
tests/test_testing.py |  62 +++++++++----------
www/views.py          |  60 +-----------------
12 files changed, 402 insertions(+), 186 deletions(-)
[Patchew-devel] [PATCH 00/11] rest: implement remaining commands
Posted by Paolo Bonzini 4 years, 10 months ago
Now that config properties have been converted to a separate field
(which can already be accessed via the REST API and does not need
anymore the delete-property-by-prefix API endpoint), it finally
becomes possible to completely cover the functionality of the
legacy API in the new REST one.

This series implements almost all the remaining features of the REST API:

- PATCH support for series and messages

- applier-get and testing-get

- automatically deriving the url_template when PUTting the result
  of applying a series

It also adds support for a "series mbox" endpoint which is the same as
the "Download mbox" link in the webpage view.

patchew-cli's untest command could be replaced with result PUT, but I am
not sure who is using it so I am just dropping the command.

Paolo

Paolo Bonzini (11):
  rest: add PATCH support for series and messages
  rest: switch pagination to limit/offset
  rest: include everything after .../by-name/NAME/ in the redirect
    location
  models: move here the code to add tags and generate a new mbox
  git, rest: add mbox URI to API replies
  git: reimplement applier-get under /api/v1/series
  testing: add a version of testing-get under /api/v1/project/
  testing: remove the untest command
  testing: convert test_testing to use REST API
  git: automatically derive the URL for result PUT
  tests: clean up duplicated defaulting in cli_login

 api/models.py         |  60 +++++++++++++++++-
 api/rest.py           | 137 ++++++++++++++++++++++++++++++++----------
 api/urls.py           |   7 ++-
 mods/git.py           |  69 ++++++++++++++++++---
 mods/testing.py       |  89 +++++++++++++++++----------
 patchew-cli           |  10 ---
 patchew/settings.py   |   2 +-
 tests/patchewtest.py  |  28 +++++----
 tests/test_git.py     |  28 +++++++++
 tests/test_rest.py    |  36 +++++++++++
 tests/test_testing.py |  62 +++++++++----------
 www/views.py          |  60 +-----------------
 12 files changed, 402 insertions(+), 186 deletions(-)

-- 
2.21.0

_______________________________________________
Patchew-devel mailing list
Patchew-devel@redhat.com
https://www.redhat.com/mailman/listinfo/patchew-devel