不需要扭曲的 svn_buildbot.py 的替代方案?
我正在运行一些持续集成服务器。源存储库托管在 Subversion 上,buildbot 负责每次提交后的编译和测试工作。我的麻烦是我最近必须将 SVN 服务器迁移到 RedHat5 系统。 RedHat5 不分发twisted,也不分发zope(buildbot 的基本组件)。因此,SVN 的提交后挂钩脚本无法运行每次提交后触发 buildbot 的脚本 svn_buildbot.py。
有谁知道 svn_builbot.py 脚本的替代方案可以触发 buildbot,但不需要扭曲和 zope?
I am running some Continuous Integration servers. Source repository is hosted on Subversion, and buildbot does the job of compiling and testing after every commit. My trouble is that I had recently to migrate the SVN server to a RedHat5 system. RedHat5 does not distribute twisted, nor zope (essential components of buildbot). Thus, the post-commit hook script of SVN cannot run svn_buildbot.py
, the script that triggers the buildbot after each commit.
Does anyone knows about an alternative to the svn_builbot.py script that could trigger the buildbot, but that does not require twisted and zope?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您使用的是 buildbot >0.8.2,则可以启用 change_hook 功能 并使用 post_build_request。 py 在 SVN post_commit 脚本中通过 HTTP 请求触发构建。
如果您使用旧版本的 buildbot 或出于安全原因无法启用change_hook,那么我想说您的选择是:
If you're using buildbot >0.8.2, you can enable the change_hook feature in WebStatus and use post_build_request.py in your SVN post_commit script to trigger the build via an HTTP request.
If you're stuck with an older version of buildbot or cannot enable change_hook for security reasons, then I'd say your options are:
我建议不要直接从源代码编译,而是使用 virtualenv 和 pip。
Rather than compiling directly from source, I'd suggest using something like virtualenv and pip.