使用Git集成的Bug跟踪器设置? [英] Bug tracker setup with Git integration?

查看:209
本文介绍了使用Git集成的Bug跟踪器设置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道我可以通过黑客使用Trac和使用Git钩子来做大部分工作,但我想知道是否有人已经/知道准备好了什么。



评论(并关闭)来自提交消息的票将是很好的,特别是如果diff与评论/结束评论内联。



sha1哈希应自动链接到gitweb / cigt / custom git browser。



我尝试了Trac的GitPlugin,但代码浏览器太慢了......任何替代方法?

解决方案

Redmine 可以做一些你所需要的要求。整合工作在一个方向,您必须参考问题提交消息,然后这些数据将在redmine中提供。

数据在两个视图中可用。错误显示将包括匹配的提交列表。存储库显示将链接提交到bug显示页面。

Redmine为每个项目保留一个本地(裸设备)存储库。这可以是主要的回购或远程镜像。在更新时,redmine解析提交消息并更新change_set的内部交叉引用表,问题。

如果redmine存储库仅用作镜像,它将需要更新。更新可以通过cron或通过外部钩子来实现。我们使用 redmine github插件和github post-receive hook来保持redmine与主要的github仓库同步。



它可以工作,但它仍然有点笨拙。


I know I can do most of this by hacking Trac and using Git hooks, but I was wondering if someone has / knows of something ready.

Commenting on (and closing) tickets from commit messages would be nice, specially if the diff appears inline with the comment/closing remark.

sha1 hashes should be auto-linked to gitweb/cigt/custom git browser.

I tried the GitPlugin for Trac, but the code browser was soo slow... any alternatives?

解决方案

Redmine can do some of what you're asking for. Integration works in one direction, you must reference issues in commit messages, and then this data will be available in redmine.

The data is then available in two views. The bug display will include a list of matched commits. The repository display will link commits to bug display pages.

Redmine keeps a local (bare) repository for each project. This can be the primary repo or a remote mirror. On updates, redmine parses the commit messages and updates an internal cross reference table of change_set,issue.

If the redmine repository is only used as a mirror, it will need to be updated. Updates can happen via cron or via external hook. We use a redmine github plugin and a github post-receive hook to keep redmine in sync with a primary github repository.

It works, but it is still a bit clumsy.

这篇关于使用Git集成的Bug跟踪器设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆