与 Jenkins/Hudson/Teamcity/etc 的连续 SVN 差异

发布于 2024-12-12 18:59:33 字数 294 浏览 6 评论 0原文

在网络上进行一些搜索后,我想征求您对这个主题的意见...

我必须根据 Trunk 监控 SVN 中许多分支的开发人员。我想要做到这一点的方法之一是每天晚上区分分支和主干并报告差异。我不想每天晚上都合并回来,但我希望尽早得到关于两个地点之间偏差的反馈。

我考虑过在主干和分支之间做一个简单的 svn diff 并通过电子邮件发送。然而,理想情况下我想要的是一个工具,它可以获取此输出并将其转换为 HTML 网站,然后以一种易于访问的方式显示差异

我一直在寻找这样的工具,但没有找到

任何匹配的任何想法伟大的!!!

After some searching around the web I want to seek your opinion on this topic...

I have to monitor developers on many branches in SVN against Trunk. One of the ways I would like to do this is diff between the branch and trunk every night and report the differences. I do not want to necessarily merge back in every night but I want early feedback on the deviations between the two locations.

I have thought about doing a simplistic svn diff between trunk and the branch and emailing that around. However ideally what I would like is a tool that would take this output and convert it into a HTML Website that would then show the differences in a nice easily accessible way

I have looked for a tool like this but found nothing that matched

Any ideas would be great!!!

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

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

发布评论

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

评论(2

不必你懂 2024-12-19 18:59:33

恐怕没有这样的工具。您所能做的就是自己编写这样的 diff 查看器,或者适应您的需要现有的基于 web 的 diff 查看器,例如 websvn< /a> 或 viewvc

实际上,通过电子邮件发送差异根本不是一个坏主意。您可以安装适当的 diff 查看器(freediffwinmerge 或您可以找到的任何其他流行差异查看器的完整列表此处)在您的计算机上,并在应用程序和 .diff 扩展之间创建相应的关联。您将能够直接从电子邮件中打开差异。

I'm afraid there is no such tool. All you can do is write such diff viewer by yourself or adapt to your needs existing web-based diff viewers, such as websvn or viewvc.

Actually, sending diffs via email is not a bad idea at all. You might install appropriate diff viewer (freediff, winmerge or any other; full list of popular diff viewers you can find here) on your machine and create corresponding association between app and .diff extension. You will be able to open diffs directly from your e-mail.

氛圍 2024-12-19 18:59:33

最好的办法是获得一个持续构建工具,例如 Jenkins

Jenkins 会为您处理所有网络事务。您需要做的就是创建一个 shell 脚本来为您进行比较。然后,您创建一个每天运行一次的 Jenkins 作业,而不是在每次构建之后运行。 Jenkins 将运行您的脚本并将其显示在易于访问的网页中。更好的是,每次运行的历史记录都会被存储并可以访问。

从头开始设置 Jenkins 并弄清楚如何让它工作大约需要一个小时。这比滚动您自己的代码容易得多。现在您有了 Jenkins,您可以实施持续构建和测试。

The best thing to do is get a continuous build tool like Jenkins.

Jenkins takes care of all that web stuff for you. All you need to do is create a shell script to do the diffs for you. Then, you create a Jenkins job that runs once per day instead of after each and every build. Jenkins will run your script and display it in an easy to access webpage. Even better, the history of each run is stored and can be accessed.

It takes about an hour to set Jenkins up from scratch and figure out how to get it to work. This is much easier than rolling your own code. And now that you have Jenkins, you can implement continuous builds and testing..

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