summaryrefslogtreecommitdiff
path: root/pgcommitfest/commitfest/views.py
diff options
context:
space:
mode:
authorMagnus Hagander2015-04-28 16:05:46 +0000
committerMagnus Hagander2015-04-28 16:05:46 +0000
commitc6e940c1acc2e6c41fe809213a9b9c96a7ce63c2 (patch)
tree3e3ee7f2adb95e934fd7db93f8d4857ccd7c1634 /pgcommitfest/commitfest/views.py
parent071869e855a8fab2cccc2c8adf48f32ed1acbca6 (diff)
Rename "returned with feedback"->"move to next cf", add new "returned with feedback"
Returned with Feedback will now actually close the patch and *not* move it to the next CF. Since it used to do that, all existing Returned with Feedback patches are changed to Moved to next CF which does the same thing that Returned with Feedback used to do. And of course, Moved to next CF is a new option available for each patch from now on.
Diffstat (limited to 'pgcommitfest/commitfest/views.py')
-rw-r--r--pgcommitfest/commitfest/views.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pgcommitfest/commitfest/views.py b/pgcommitfest/commitfest/views.py
index 1b23454..ddc579a 100644
--- a/pgcommitfest/commitfest/views.py
+++ b/pgcommitfest/commitfest/views.py
@@ -444,6 +444,8 @@ def close(request, cfid, patchid, status):
poc.status = PatchOnCommitFest.STATUS_REJECTED
elif status == 'feedback':
poc.status = PatchOnCommitFest.STATUS_RETURNED
+ elif status == 'next':
+ poc.status = PatchOnCommitFest.STATUS_NEXT
# Figure out the commitfest to actually put it on
newcf = CommitFest.objects.filter(status=CommitFest.STATUS_OPEN)
if len(newcf) == 0: