[PATCH 00/10] Add series support

Stephen Finucane stephen.finucane at intel.com
Mon Jun 13 20:41:32 AEST 2016


Add support for series. Series are groups of patches sent as one
bundle. For example:

    [PATCH 0/3] A cover letter
      [PATCH 1/3] The first patch
      [PATCH 2/3] The second patch
      [PATCH 3/3] The third patch

The following features are currently provided:

Parsing
=======

* Creation of new series, and linking of patches/cover letters to
  existing series
* Rudimentary linking of different series revisions as one series

UI
==

* Series column in patch-list
* Series and related patches/cover letters links in patch-detail
* Filtering by series
* Integration with Django-admin

There are some important notes regarding how this is implemented:

* We *never* expose 'Series' to the end-user. Instead, "related
  series" should be exposed
* Patches form a one-to-one relationship with SeriesReference.
  Auto-completion of series should be done in the view code, rather
  than the database

Stephen Finucane (10):
  models: Convert functions to properties
  models: Add 'Series' model and related models
  parsemail: Add series parsing
  parsemail: Handle 'xxx (v2)' style messages
  parsemail: Handle series sent "in-reply-to"
  templates: Generate and use a "handle"
  templates: Integrate series support
  templates: Integrate series view into patches
  parsemail: Implement series linking
  models: Enable "auto-completion" of series patches

 htdocs/css/style.css                           |    6 +
 patchwork/admin.py                             |   55 +++++++-
 patchwork/bin/parsemail.py                     |  179 ++++++++++++++++++++++--
 patchwork/filters.py                           |   56 +++++++-
 patchwork/migrations/0013_add_series_models.py |   56 ++++++++
 patchwork/models.py                            |  163 +++++++++++++++++++++-
 patchwork/templates/patchwork/patch-list.html  |   12 ++
 patchwork/templates/patchwork/submission.html  |   50 ++++++-
 patchwork/templatetags/person.py               |   12 +-
 patchwork/views/__init__.py                    |    2 +-
 patchwork/views/patch.py                       |    4 +-
 patchwork/views/user.py                        |    2 +-
 patchwork/views/xmlrpc.py                      |    2 +-
 13 files changed, 561 insertions(+), 38 deletions(-)
 create mode 100644 patchwork/migrations/0013_add_series_models.py

-- 
1.7.4.1



More information about the Patchwork mailing list