]> git.ipfire.org Git - thirdparty/patchwork.git/commit
REST: Handle unset series
authorStephen Finucane <stephen@that.guru>
Fri, 16 Nov 2018 15:47:43 +0000 (16:47 +0100)
committerStephen Finucane <stephen@that.guru>
Sat, 22 Dec 2018 17:18:00 +0000 (17:18 +0000)
commit58256ec248d75a39b1c5e130a6f6c0497ccd0770
tree09354bc1853b750da9e666231401a94382a12370
parent087fe500f8d2e7bdad15f2257d7f78a2337cf702
REST: Handle unset series

This was introduced in the recent "convert series from N:M to 1:N"
series. We take the opportunity to make the 'create_patch' and
'create_cover' utility methods a little smarter, in that series will
automatically be created for the patch/cover letter unless told not to.
This requires some related changes to other modules.

Signed-off-by: Stephen Finucane <stephen@that.guru>
patchwork/api/cover.py
patchwork/api/patch.py
patchwork/tests/api/test_cover.py
patchwork/tests/api/test_patch.py
patchwork/tests/test_events.py
patchwork/tests/test_mboxviews.py
patchwork/tests/utils.py