Search code examples
continuous-integrationcvsscriptingpost-commit

Script to execute on CVS check-in, without access to the server?


Is it possible to write a script that executes certain instructions, and is triggered by any check-in to a CVS repository?

The script would scan the list of files in the change-set and do a copy operation on certain files in a certain sub-directory.

I would hopefully be able to execute various console applications, including ones written in .NET.

Problem is, I need this done quickly and I don't have access to the CVS server, due to corporate IT red-tape, etc.

Is there a way to set this up on one of the client workstations instead?

Can it be done without interfering with my working folder?


Solution

  • I found a .NET library that seems up to the task - SharpCVSLib.

    http://csharpopensource.com/sharpcvslib.aspx

    (Hopefully it will work on a developer workstation and not need to be hosted on the CVS server.)