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 /docs | |
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 'docs')
-rw-r--r-- | docs/api.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/api.yaml b/docs/api.yaml index 3e79f0b..3373226 100644 --- a/docs/api.yaml +++ b/docs/api.yaml @@ -374,6 +374,9 @@ definitions: list_id: type: string description: Mailing list identifier for project. + subject_match: + type: string + description: Regex used for email filtering. list_email: type: string description: Mailing list email address for project. |