[PATCH v3 0/9] Add support for download series mboxes

Stephen Finucane stephen at that.guru
Wed Mar 8 06:46:15 AEDT 2017


We now support series, but we don't support any way of making use of
these from within the UI. Correct this oversight by integrating a
"download series" button on all patch pages along with ways to download
both entire series and individual patches with dependencies.

Stephen Finucane (9):
  views: Use consistent 'list'/'detail' names
  views: Make 'patch_to_mbox' return a string
  utils: Move patch_to_mbox to utils module
  trivial: Cleanup imports in views
  utils: Add 'bundle_to_mbox' helper
  views: Add 'series' parameter to '/mbox' endpoint
  views: Expose Series mbox
  templates: Use buttons for patch download links
  templates: Add "download series" links

 patchwork/models.py                           |   6 +
 patchwork/templates/patchwork/submission.html |  28 +++--
 patchwork/tests/test_bundles.py               |  20 +++
 patchwork/tests/test_detail.py                |  16 +++
 patchwork/urls.py                             |  33 ++---
 patchwork/views/__init__.py                   |  72 -----------
 patchwork/views/api.py                        |   3 +-
 patchwork/views/bundle.py                     | 106 ++++------------
 patchwork/views/comment.py                    |   2 -
 patchwork/views/cover.py                      |  10 +-
 patchwork/views/patch.py                      |  52 ++++----
 patchwork/views/project.py                    |   9 +-
 patchwork/views/pwclient.py                   |   5 +-
 patchwork/views/series.py                     |  35 ++++++
 patchwork/views/user.py                       |   3 +-
 patchwork/views/utils.py                      | 170 ++++++++++++++++++++++++++
 patchwork/views/xmlrpc.py                     |   4 +-
 17 files changed, 356 insertions(+), 218 deletions(-)
 create mode 100644 patchwork/views/series.py
 create mode 100644 patchwork/views/utils.py

-- 
2.9.3



More information about the Patchwork mailing list