[PATCH 0/2] Only consider git send-email mails as potential patches

Damien Lespiau damien.lespiau at intel.com
Sat Oct 10 04:06:18 AEDT 2015


I have quite a few false positives of patches: patchwork considering mails with
diffs as patches, but are really people suggesting something.

To avoid those false positive, let's introduce a per-project option to only
consider git send-email patches.

-- 
Damien

Damien Lespiau (2):
  tests: Factor out a MailFromPatchTest base class
  project: Provide a setting to only consider git send-email patches

 patchwork/bin/parsemail.py                         |  5 +-
 .../migrations/0004_project_git_send_email_only.py | 19 ++++++
 patchwork/models.py                                |  1 +
 patchwork/tests/test_patchparser.py                | 67 ++++++++++++++++++----
 4 files changed, 79 insertions(+), 13 deletions(-)
 create mode 100644 patchwork/migrations/0004_project_git_send_email_only.py

-- 
2.1.0



More information about the Patchwork mailing list