Subversion 提交评论的 RSS/Atom 提要
最近,我们在开发周期中在 Subversion 中引入了版本控制,今天一位团队成员问我是否可以在 RSS 提要中获取所有提交评论。因为我认为这是一个非常酷的想法,所以我在 Visual SVN Server 选项窗口和此处进行了查看,但找不到任何相关内容。 (这里对任何包含 RSS 的内容的大多数搜索都会转向有关格式本身的讨论/问题...除非您有无限的搜索功能,而我没有。)
那么,有没有一些(简单)方法可以在 feed 中发布 SVN 提交评论?
We have recently introduced version control in Subversion in our development cycle, and a team mate asked me today if it was possible to get all commit comments in an RSS feed. Since I think it's a pretty cool idea, I looked around in the Visual SVN Server option windows, and here on SO, but couldn't find anything relevant. (Most searches on anything with RSS in it here turns to discussions/questions regarding the format itself... unless you have infinite search-fu, which I don't.)
So, is there some (easy) way to publish SVN commit comments in a feed?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
要使用 Subversion 提交生成 RSS 提要,您需要使用服务器端应用程序,我遇到的最简单的应用程序是 PyRSS2Gen(一个简单的 Perl 应用程序); http://www.dalkescientific.com/Python/PyRSS2Gen.html 并且有一个关于如何在这里使用它的很好的教程:http://www.friday.com/bbum/2006/08/17/howto-adding-an-rss-feed-to-a-subversion-server/
To generate an RSS feed with Subversion commits you will need to use a server side application, the simplest one I've come across is PyRSS2Gen (a simple Perl application); http://www.dalkescientific.com/Python/PyRSS2Gen.html and theres a nice tutorial on how to go about using it here: http://www.friday.com/bbum/2006/08/17/howto-adding-an-rss-feed-to-a-subversion-server/
作为一种迂回方式,您可以设置 ViewVC,它提供 RSS 提要。
我想您也可以在其中一个绑定库的基础上轻松构建自己的库。
As a roundabout way you can set up ViewVC and it provides an RSS feed.
You could also build your own on top of one of the binding libraries quite easily I guess.
如果您只需要有关提交的通知(不一定是 RSS 提要),您可以使用 CommitMonitor。该工具会通知您新的提交,并且内存占用非常低。
If you just want notifications about commits (not necessarily an RSS feed), you could use CommitMonitor. That tool notifies you of new commits and has a very low memory footprint.