]> git.ipfire.org Git - thirdparty/patchwork.git/commit
parser: Support single-patch "series"
authorStephen Finucane <stephen@that.guru>
Wed, 28 Jun 2017 19:53:58 +0000 (20:53 +0100)
committerStephen Finucane <stephen@that.guru>
Wed, 28 Jun 2017 19:53:58 +0000 (20:53 +0100)
commit736426930ba4252b23375a8c60fba20c39187393
tree2a2005dd6254a6e663136682c02713e165513a1d
parentafeaeb2c8c3359aeea7dea20b0761662e39f279b
parser: Support single-patch "series"

There are merits to supporting single-patch series, not least the
ability to provide two consistent interfaces that show _all_ patches in
the '/patches' endpoint and the '/series' endpoint.

Signed-off-by: Stephen Finucane <stephen@that.guru>
Reviewed-by: Sean Farley <sean@farley.io>
patchwork/parser.py
patchwork/tests/series/base-single-patch.mbox [new file with mode: 0644]
patchwork/tests/series/revision-threaded-to-single-patch.mbox [new file with mode: 0644]
patchwork/tests/test_series.py