[cvsnt] Trigger to enforce certain code via regex, and Audit "diff" field
Howard Ha
bluespire at gmail.com
Mon Nov 3 21:24:30 GMT 2008
Thanks for the prompt reply. By going through that documentation I was
able to get a script to be triggered, but I'm not sure how to get the
text being committed to be passed to the script. I've looked at the
documentation below for hints on parameters that can be passed to
scripts but none of them mention the text of the file being committed.
http://www.cvsnt.org/manual/html/commit-files.html#syntax
Thanks,
Howard
Gabriel Genellina wrote:
> En Mon, 03 Nov 2008 16:47:53 -0200, Howard Ha <bluespire at gmail.com>
> escribió:
>
>
>> 2) Is there any way to create a commit trigger of some sort, that will
>> allow us to run a regex, or script to do some validation of code, before
>> allowing a commit? We'd like to prevent developers from committing code
>> that contains certain debug code.
>>
>
> Use the commitinfo file to configure a script to be run prior to any
> commit; see
> http://www.cvsnt.org/manual/html/commitinfo.html
>
>
More information about the cvsnt
mailing list