]> git.ipfire.org Git - thirdparty/patchwork.git/commit
REST: allow fetching of subject prefixes
authorDaniel Axtens <dja@axtens.net>
Tue, 21 Feb 2017 05:45:29 +0000 (16:45 +1100)
committerStephen Finucane <stephen@that.guru>
Wed, 1 Mar 2017 22:13:30 +0000 (22:13 +0000)
commit66a88a4669bc43447b9bae08606e262cf739c35b
tree0654ff40ba31e8297c03a1ce23e831b7185b4032
parent7b07b71e9551a303f4837aaa6e5bbefa3d56d139
REST: allow fetching of subject prefixes

Some mailing lists accept patches for multiple projects, and use
a subject prefix to differentiate the projects.

Therefore, for snowpatch, it's useful to be able to fetch the
subject prefixes.

Export subject prefixes in the REST API.

Signed-off-by: Daniel Axtens <dja@axtens.net>
Tested-by: Russell Currey <ruscur@russell.cc>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Reviewed-by: Stephen Finucane <stephen@that.guru>
patchwork/api/patch.py