[PATCH 0/4] Resolve some issues with series-ification

Stephen Finucane stephen at that.guru
Wed May 24 16:02:20 AEST 2017

After watching the LKML mails pouring into daxten's Patchwork instance [1] for
a few days, I've seen a couple of oddities that have broken series support in
various ways. This series seeks to address the two biggest issues: mails that
lack the 'In-Reply-To' and 'References' headers we currently rely on, and mails
that contain multiple instances of these headers.

Sample patches taken from that instance (with cruft removed) are included as
part of the additional tests.

Stephen Finucane (4):
  parser: Extend series heuristics to include other metadata
  parser: Strip whitespace from references
  parser: Handle multiple reference headers
  parser: Validate deep threading behavior

 patchwork/parser.py                                |  88 +++-
 patchwork/tests/series/base-deep-threaded.mbox     | 127 ++++++
 patchwork/tests/series/base-no-references.mbox     | 240 ++++++++++
 .../tests/series/bugs-multiple-references.mbox     | 423 ++++++++++++++++++
 .../series/revision-unlabeled-noreferences.mbox    | 482 +++++++++++++++++++++
 patchwork/tests/test_series.py                     |  80 +++-
 6 files changed, 1427 insertions(+), 13 deletions(-)
 create mode 100644 patchwork/tests/series/base-deep-threaded.mbox
 create mode 100644 patchwork/tests/series/base-no-references.mbox
 create mode 100644 patchwork/tests/series/bugs-multiple-references.mbox
 create mode 100644 patchwork/tests/series/revision-unlabeled-noreferences.mbox


More information about the Patchwork mailing list