[PATCH v2 00/11] Add cover letter parsing support

Stephen Finucane stephen.finucane at intel.com
Sat Apr 2 01:57:36 AEDT 2016


We can now store cover letters, so let's get parsing them. This series
adds parsing, the bare minimum of UI to display cover letters and some
general cleanup/bugfixing.

Damien Lespiau (3):
  parsemail: Extract prefixes from subject
  parsemail: Parse series markers e.g. "1/12"
  parsemail: Extract building the list of mail references

Stephen Finucane (8):
  views: Integrate cover letter support
  parsemail: Flatten 'try_decode' method
  parsemail: Restructure 'parse_content'
  parsemail: Use consistent 'find_' format
  parsemail: Be consistent in variable naming
  parsemail: Add cover letter parsing
  parsemail: Handle cover letters sent in reply
  parsemail: Always update Person.email

 patchwork/bin/parsemail.py                    | 278 ++++++++++++++++----------
 patchwork/templates/patchwork/patch.html      | 239 ----------------------
 patchwork/templates/patchwork/submission.html | 244 ++++++++++++++++++++++
 patchwork/templatetags/syntax.py              |   4 +-
 patchwork/tests/test_detail.py                |  54 +++++
 patchwork/tests/test_patchparser.py           | 193 +++++++++---------
 patchwork/tests/utils.py                      |  23 ++-
 patchwork/urls.py                             |   5 +
 patchwork/views/cover.py                      |  50 +++++
 patchwork/views/patch.py                      |  26 ++-
 10 files changed, 662 insertions(+), 454 deletions(-)
 delete mode 100644 patchwork/templates/patchwork/patch.html
 create mode 100644 patchwork/templates/patchwork/submission.html
 create mode 100644 patchwork/tests/test_detail.py
 create mode 100644 patchwork/views/cover.py

-- 
2.0.0



More information about the Patchwork mailing list