]> git.ipfire.org Git - thirdparty/patchwork.git/commit
parser: Extend series heuristics to include other metadata
authorStephen Finucane <stephen@that.guru>
Tue, 23 May 2017 11:41:58 +0000 (12:41 +0100)
committerStephen Finucane <stephen@that.guru>
Tue, 30 May 2017 20:08:52 +0000 (21:08 +0100)
commitb496af4090a5eda099c48447d5ff63e24d075aa5
treed6d9b13d8e4019563acf7282fb09c5a71e9c505d
parenteab1308d3fcf7046ad99634c648c3cec62a887c2
parser: Extend series heuristics to include other metadata

Not every series will include the reference headers necessary to do
proper series-ification, particularly those generated without the help
of 'git-send-email' or similar.

Make life a little easier for these folks by attempting to match on
other heuristics of the series: submitter, version, number of patches,
project (mailing list) and date. The last of these is particularly
important to prevent duplicate series getting munged together.

Signed-off-by: Stephen Finucane <stephen@that.guru>
patchwork/parser.py
patchwork/tests/series/base-no-references.mbox [new file with mode: 0644]
patchwork/tests/series/revision-unlabeled-noreferences.mbox [new file with mode: 0644]
patchwork/tests/test_series.py