[Codestriker-user] patch for 'Reviewed' state
Brought to you by:
sits
|
From: Dan P. <dan...@al...> - 2005-03-28 16:24:05
|
Hello, I've recently got our team up and running on codestriker and it seems to be a big hit so far. Thanks for great software. Like others on this list, I felt the need for a 'Reviewed' topic state. That is, a topic that is Open gets reviewed by someone, who then changes the state to 'Reviewed'. Then the author gets an email and knows that the review is complete. Then the author goes through the reviewers comments, makes changes, etc., and changes the state to 'Closed'. It was easy to add the 'Reviewed' state in codestriker.conf, between "Open" and "Closed". Then I converted existing topics by running sql like this: update topic set state = state + 1 where state > 0. The only other issue to address was that topics are uneditable when they are in a state > 0 (Closed). The attached patch contains a solution to this problem that I hope seems reasonable and useful. We have been using our patched version of codestriker for a few weeks now and it seems to work well. |