id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release 5260,Create example pre-commit hook to stop closing of blocked ticket,IBBoard,Ryan J Ollos,"Once the JS is fixed to disable the ""resolve as"" button when a ticket is blocked and the blocking tickets are open, the ticket cannot be closed from the Web interface. If Trac is being integrated with SVN using the commit hooks, users can still ""closes #XX"" the ticket and ignore the blocking tickets. It would be useful if someone could come up with an example pre-commit hook that does all of the usual stuff for checking for valid tickets, but also makes sure tickets being closed aren't blocked by open tickets when a commit is made. The odd-ball condition that will also need checking is when the blocking open ticket is also being closed in the same commit (e.g. there is a sub-ticket and a master ticket and the commit ""fixes #sub and #master"" or ""closes #master and #sub""). There are also potential chain sequences where X blocks Y, which blocks Z (and potentially more), all of which are open and all of which are being closed in a single commit.",defect,new,normal,MasterTicketsPlugin,normal,,,,0.11