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 _______________________________________________ Patchwork mailing list [email protected] https://lists.ozlabs.org/listinfo/patchwork
