[cvsnt] Trigger to enforce certain code via regex, and Audit "diff" field
bluespire at gmail.com
Mon Nov 3 18:47:53 GMT 2008
Two questions really. We're using CVSNT 18.104.22.168 Scorpio (build 2704)
on a freebsd platform.
1) I use Auditing to a MySQL db and it works flawlessly, but one thing
that I never understood was that the CommitLog.diff field never stores
any diffs, instead it stores the exact same info as that found in the
CommitLog.Message field (the commit message). Is this a bug or
configuration issue that I can correct? It would be nice to have access
to the diffs.
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.
More information about the cvsnt