在 CVS 签入时执行的脚本,无需访问服务器?

发布于 2024-09-11 01:39:04 字数 243 浏览 1 评论 0原文

是否可以编写一个执行某些指令并由 CVS 存储库签入触发的脚本?

该脚本将扫描更改集中的文件列表,并对某个子目录中的某些文件执行复制操作。

我希望能够执行各种控制台应用程序,包括用 .NET 编写的应用程序。

问题是,我需要快速完成此操作,但由于公司 IT 繁文缛节等原因,我无法访问 CVS 服务器。

有没有办法在其中一个客户端工作站上进行设置?

可以在不干扰我的工作文件夹的情况下完成吗?

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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

浪荡不羁 2024-09-18 01:39:11

我找到了一个似乎可以胜任这项任务的 .NET 库 - SharpCVSLib。

http://csharpopensource.com/sharpcvslib.aspx

(希望它能在开发人员工作站上工作,而不是在需要托管在 CVS 服务器上。)

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.)

2024-09-18 01:39:10

您能否如本博客所示通过电子邮件获取提交通知?如果是这样,您可以使用 maildrop (或旧的 procmail 等)在提交通知邮件到达时在您的工作站上运行任意命令和脚本。

Can you get commit notifications by email as this blog shows? If so, you could be able to use maildrop (or good old procmail, etc) to run arbitrary commands and scripts on your workstation when the commit notification mails arrive.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文