Redmine 变更集显示在问题的详细信息中
redmine 是否有任何插件可以显示特定问题的链接变更集? 我指定了存储库 (Mercurial),并且我希望看到单击问题的变更集。
is there any plug in for redmine, to display linked changesets for a specific issue?
I specified Repository (Mercurial) and I would like to see changesets clicking to an Issue.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您不需要为此使用插件 - 它是内置的。提交到存储库时,您所需要做的就是在消息中输入问题编号,前面带有
#
。例如,查看 redmine 网站上的问题: http://www.redmine.org/ issues/6317
有一列包含关联修订,其中包含源代码控制变更集。他们出现在这个问题上是因为他们的消息中有
#6317
。根据 redmine 的配置,问题编号之前需要有一个关键字,以便将变更集链接到问题。这些关键字可以在 redmine 的设置中修改:
上述设置的示例:
refs #1234< /code>
参考#1234、#1337
问题#1234 #1337 & #1001
如果您想省略关键字并简单地将变更集链接到日志消息中找到的所有问题编号,请在引用关键字中输入
*
文本框。最后,为了让 redmine 检查新变更集并解析存储库的日志消息,您需要单击存储库选项卡,或者配置一个 rake 任务来执行定期进行。
You don't need a plugin for this - it's built-in. All you need to do when committing to your repository is to enter the issue number preceded by a
#
in your message.For an example, check out an issue on the redmine web site: http://www.redmine.org/issues/6317
There's a column containing Associated revisions which contains source control changesets. They appear on this issue because they have
#6317
in their message.Depending on the configuration of redmine, a keyword before the issue number is needed in order to have the changeset linked to the issue. Those keywords can be modified in the settings of redmine:
Examples for the above settings:
refs #1234
references #1234, #1337
issue #1234 #1337 & #1001
If you'd like to omit keywords and simply link a changeset to all issue numbers found in the log message, enter a
*
into the Referencing keywords textbox.Finally, in order to have redmine check for new changesets and parse the repository's log messages, you'll need to click on the Repository tab, or configure a rake task to do it regularly.