Re: [Codestriker-user] Review code before submitting it into Perforce
Brought to you by:
sits
|
From: David S. <dav...@gm...> - 2009-05-04 01:17:15
|
> We use Perforce. We want users to use CodeStriker to review their code before submission. Something like after the topic is reviewed and approved, then the developer is allowed to submit his code. Or, at least there is a CodeStriker ID exist for his code. Then he can submit his code into Perforce. Can someone tell me how to do that? I'm not sure exactly what it is you are asking.. but there is no way you can use Codestriker to prevent users from committing in code, other than through agreements within your team. In theory, you could possibly write an SCM hook pre-commit to check that the topic ID they have entered in the SCM comment is in the appropriate state, but I'm not sure if that's worth the trouble. You can use a system like Codestriker + Bugzilla + ScmBug together to provide more glue - in a sense, the Bugzilla ID becomes the ID you are after. We use ScmBug here at my work. It has issues with moved files under Subversion, but it seems to work reasonably well. Cheers, David |