开发者

C# code to monitor a CVS repository for changes

Is there a way to monitor a CVS repository for any commits?

Then on a commit, to download all the files within the changeset, along wit开发者_StackOverflow中文版h their respective paths within the repository?

The reason is, I want to set up continuous integration between a CVS repository and a development server, which can only be accessed via FTP.

Before uploading, I also want to run all the files through compressors/processors.

So is the above possible with C#?


I believe the standard way of doing such things is to run something on the post commit hook (either your application or a something to send a message to your application).

The other option is polling. A quick good shows this library to access CVS in .NET, which can also be used to do the second part of your requirements.

Just one quick point on this, most CI servers will handle the polling/notification for you. Or have I miss understood the requirements?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜