[PATCH 0/2] Add Series.project
Stephen Finucane
stephen at that.guru
Sat Jan 7 09:52:57 AEDT 2017
It is helpful to be able to filter series by project. This is not
currently possible as, while we can extract project or series from the
patches and cover letters that make up the series, there is no
guarantee that these all belong to the same project. Resolve that here
through changes to the models and parsing code.
Stephen Finucane (2):
models: Add 'project' field to Series
REST: Expose 'Series.project'
patchwork/api/series.py | 6 ++--
patchwork/migrations/0016_series_project.py | 48 +++++++++++++++++++++++++++++
patchwork/models.py | 8 ++++-
patchwork/parser.py | 22 ++++++++-----
patchwork/tests/test_parser.py | 18 ++++++-----
patchwork/tests/test_rest_api.py | 6 ++--
patchwork/tests/test_series.py | 29 +++++++++++++++--
patchwork/tests/utils.py | 1 +
8 files changed, 115 insertions(+), 23 deletions(-)
create mode 100644 patchwork/migrations/0016_series_project.py
--
2.9.3
More information about the Patchwork
mailing list