Redmine 和 SVN:如何在提交发生后将修订链接到问题? [英] Redmine and SVN: How to link a Revision to an Issue AFTER the commit has happened?

查看:50
本文介绍了Redmine 和 SVN:如何在提交发生后将修订链接到问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我们成功地将 Redmine 与 SVN 集成.这是一个成熟的集成(几个月后).Post-commit-hook 更新 Redmine 中的存储库.SVN 提交中的评论被精美地导入到 Redmine,它能够在问题和修订之间创建链接,记录时间,整个 9 码.

So we have Redmine successfully integrated with SVN. It's a mature integration (a few months now). Post-commit-hook updates the repository in Redmine. Comments in SVN commit get beautifully imported into Redmine, which is able to create links between issues and revisions, log time, the whole 9 yards.

然而,对于时间限制问题,有一个紧急错误,必须快速修复并提交,无需评论.这个问题甚至不在Redmine中.这发生在凌晨 3 点 35 分,此时最佳实践的价值就像北极冬天出售的一袋冰块一样重要.

However, for time constraint issues, there was an urgent bug which had to be fixed quickly and committed without comments. The issue wasn't even in Redmine. This happened at 3:35AM, when best practices are as valued as a bag of ice for sale in the Arctic winter.

现在,今天早上,我们将问题输入 Redmine,并希望将凌晨 3:35 的疯狂修订与它联系起来.那怎么办呢?

Now, this morning, we entered the issue into Redmine and want to link that crazy 3:35AM revision to it. How can that be done?

我曾经能够通过擦除 Redmine 数据库中的一些记录并运行存储库更新任务来破解它.但我现在真的不记得了,而且真的真的不想再去那里了.

I was once able to hack that by erasing some records in Redmine database and running the repository update task. But I do not really remember right now and really really do not want to go there anymore.

有办法吗?一个功能?一个插件?剧本?有什么吗?

Is there a way? A functionality? A plugin? A script? Anything?

提前致谢

更新

哦,顺便说一句,我们已经更新了该修订版的评论,其中包含 Redmine 期望的有效标签和词.

Oh, by the way, we already updated the comment for THAT revision, containing the valid tags and words Redmine expects.

推荐答案

使 redmine 重新读取项目的 svn 日志的一种可能解决方案是从项目设置中删除存储库,重新输入并转到存储库选项卡,它可能会从头开始加载所有内容.

One possible solution to make redmine re-read svn log of the project is to delete the repository from project settings, enter it again and go to repository tab, it will probably load everything from the beginning.

这是一种解决方法,也许还有更好的方法,但它应该仍然有效.从 redmine 项目设置中删除存储库不会影响您实际的 svn 存储库.

It's a workaround and perhaps there's a better way, but it should still work. Deleting repository from redmine project setting will not affect your actual svn repository.

这篇关于Redmine 和 SVN:如何在提交发生后将修订链接到问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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