We have an in house process where a development branch is "frozen"
except for specific approved bugs at a given point in time thereby
disallowing check-ins in general to the branch.  Currently this is
supported by a SVN hook that checks a freeze variable for the script.
This requires the admin to update the freeze variable every time the
branch is to be unlocked for approved (Yes, I know it's ugly).

 

A preferable method would be to let the group responsible (CCB) set a
flag on the bug that "approves" the unfreezing of the branch for
inclusion of the specific bug.  Scmbug can then check the "Approval"
flag on check-in validation if the branch is set to be frozen.  Has
something along these lines been done by anyone else?  

 

In our specific case, the proposed scenario would be:

 

On activity verification, scmbug would check a frozen branches file to
see if the branch the check-in is occurring against is listed as frozen.


  If not frozen then process as normal

 

  If branch is frozen, then check to see if bug(s) in the log message
have the bugzilla target milestone set to the same as the branch name
and that the approval flag on the bug is set to approved.

     If yes, process rest of scmbug checks as normal

     If no, fail and send the user a pre-formatted error telling them
that the branch is frozen and they need to get the change approved.

 

 

If nothing like this has been done before, then where in the code should
I start to look at to make this enhancement and what should I watch out
for? 

 

Also, I didn't install this instance of scmbug, so I'm trying to figure
out which version it is.   Where can I look to determine the version?

 

Tom Moore | Software Configuration Management | Cadillac Jack

+1 678.694.9330 Direct | +1 404.906.3339 Cell | +1 678-694-9331 Fax

www.cadillacjack.com

 

 

_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to