[PATCH v4 0/7] Add series support
Stephen Finucane
stephen at that.guru
Sun Oct 9 06:09:01 AEDT 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
UI
==
* Series column in patch-list
* Series and related patches/cover letters links in patch-detail
* Filtering by series
* Integration with django-admin
Changes since v3:
- Make SeriesRevision-Patch relation a many-to-many relationship
- Remove unused Series model
Stephen Finucane (7):
models: Convert functions to properties
models: Add 'Series' model and related models
parser: Add series parsing
tests: Add tests for series
templates: Generate and use a "handle"
templates: Integrate series support
templates: Integrate series view into patches
htdocs/css/style.css | 6 +
patchwork/admin.py | 67 ++++-
patchwork/filters.py | 56 +++-
patchwork/migrations/0014_add_series_models.py | 67 +++++
patchwork/models.py | 176 +++++++++++--
patchwork/parser.py | 130 ++++++++-
patchwork/templates/patchwork/patch-list.html | 12 +
patchwork/templates/patchwork/submission.html | 64 ++++-
patchwork/templatetags/person.py | 10 +-
patchwork/tests/series/README.md | 18 ++
patchwork/tests/series/base-cover-letter.mbox | 126 +++++++++
patchwork/tests/series/base-no-cover-letter.mbox | 110 ++++++++
patchwork/tests/series/base-out-of-order.mbox | 126 +++++++++
patchwork/tests/series/revision-basic.mbox | 283 ++++++++++++++++++++
.../tests/series/revision-no-cover-letter.mbox | 249 ++++++++++++++++++
patchwork/tests/series/revision-out-of-order.mbox | 287 ++++++++++++++++++++
.../tests/series/revision-threaded-to-cover.mbox | 292 +++++++++++++++++++++
.../tests/series/revision-threaded-to-patch.mbox | 287 ++++++++++++++++++++
patchwork/tests/series/revision-unlabeled.mbox | 283 ++++++++++++++++++++
patchwork/tests/test_parser.py | 112 ++++++--
patchwork/tests/test_series.py | 289 ++++++++++++++++++++
patchwork/tests/utils.py | 25 ++
patchwork/views/__init__.py | 4 +-
patchwork/views/patch.py | 4 +-
patchwork/views/user.py | 2 +-
patchwork/views/xmlrpc.py | 2 +-
26 files changed, 3018 insertions(+), 69 deletions(-)
create mode 100644 patchwork/migrations/0014_add_series_models.py
create mode 100644 patchwork/tests/series/README.md
create mode 100644 patchwork/tests/series/base-cover-letter.mbox
create mode 100644 patchwork/tests/series/base-no-cover-letter.mbox
create mode 100644 patchwork/tests/series/base-out-of-order.mbox
create mode 100644 patchwork/tests/series/revision-basic.mbox
create mode 100644 patchwork/tests/series/revision-no-cover-letter.mbox
create mode 100644 patchwork/tests/series/revision-out-of-order.mbox
create mode 100644 patchwork/tests/series/revision-threaded-to-cover.mbox
create mode 100644 patchwork/tests/series/revision-threaded-to-patch.mbox
create mode 100644 patchwork/tests/series/revision-unlabeled.mbox
create mode 100644 patchwork/tests/test_series.py
--
2.7.4
More information about the Patchwork
mailing list