diff options
author | Veronika Kabatova <vkabatov@redhat.com> | 2018-02-14 14:34:28 +0100 |
---|---|---|
committer | Stephen Finucane <stephen@that.guru> | 2018-02-27 11:38:59 +0000 |
commit | a95fbf2aec91796d872c1d3db3c1c7d6f6243340 (patch) | |
tree | d2d0c2cda1946ad1d5ec67a0a2e2b96fbfce00d9 /releasenotes | |
parent | 2c92985a2ea96be524e1b3a98fc0fd708eb2ee31 (diff) | |
download | patchwork-a95fbf2aec91796d872c1d3db3c1c7d6f6243340.tar patchwork-a95fbf2aec91796d872c1d3db3c1c7d6f6243340.tar.gz |
Implement list filtering
Sometimes, multiple projects reside at the same mailing list. So far,
Patchwork only allowed a single project per mailing list, which made it
impossible for these projects to use Patchwork (unless they did some
dirty hacks).
Add a new property `subject_match` to projects and implement filtering
on (list_id, subject_match) match instead of solely list_id. Instance
admin can specify a regex on a per-project basis when the project is
created.
Signed-off-by: Veronika Kabatova <vkabatov@redhat.com>
Signed-off-by: Stephen Finucane <stephen@that.guru>
Diffstat (limited to 'releasenotes')
-rw-r--r-- | releasenotes/notes/list-filtering-4643d98b4064367a.yaml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/releasenotes/notes/list-filtering-4643d98b4064367a.yaml b/releasenotes/notes/list-filtering-4643d98b4064367a.yaml new file mode 100644 index 0000000..789acc8 --- /dev/null +++ b/releasenotes/notes/list-filtering-4643d98b4064367a.yaml @@ -0,0 +1,11 @@ +--- +features: + - | + Allow list filtering into multiple projects (and email dropping) based on + subject prefixes. Enable by specifying a regular expression which needs to + be matched in the subject on a per-project basis (field ``subject_match``). + Project with empty ``subject_match`` field (and matching ``list_id``) + serves as a default in case of no match. +api: + - | + The ``/project`` endpoint now exposes a ``subject_match`` attribute. |