将错误/问题链接到修订版和更改的文件

发布于 2025-01-02 06:11:18 字数 590 浏览 0 评论 0原文

我使用TortoiseHG,每当我提交时,我都会在提交消息中添加很多注释。例如,修订版 89 消息可能是:

parser.py:
  bug fix:
    incorrectly applied overrides

analyze.py:
  new feature:
    print all suspicious records

numpy_wrapper.py:
  refactoring:
    import numpy is now conditional, and encapsulated in numpy_wrapper

我想在某些问题跟踪系统中输入这些评论,但能够将每个问题与以下内容链接:

  • 在其中观察到的修订版(如果是错误)或提出的修订版(如果是功能) )
  • 修订版已修复(如果是错误)或添加(如果是功能)
  • 受更改影响的文件

然后我希望能够查看任何修订版,并查看此修订版中观察到/修复了哪些问题。

或者查看任何文件,并查看文件中的哪些更改是由于哪个问题引起的。

我应该研究哪些系统? (我在 Windows 上使用 TortoiseHG。)

I use TortoiseHG and whenever I commit, I put a lot of comments in the commit message. For example, revision 89 message may be:

parser.py:
  bug fix:
    incorrectly applied overrides

analyze.py:
  new feature:
    print all suspicious records

numpy_wrapper.py:
  refactoring:
    import numpy is now conditional, and encapsulated in numpy_wrapper

I want to enter these comments in some issue tracking system instead, but have the ability to link each issue with:

  • the revision it was observed in (if a bug) or proposed in (if a feature)
  • the revision it was fixed (if a bug) or added (if a feature)
  • the file(s) affected by the change

I then want to be able to look at any revision, and see what issues were observed/fixed in this revision.

Or to look at any file, and see which changes in the file were due to which issue.

What systems should I look into? (I am using TortoiseHG on Windows.)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

硬不硬你别怂 2025-01-09 06:11:18

我们使用 Redmine,它是使用 Bitnami Windows 应用程序堆栈。我们还使用 TurtleMine 获取 TortoiseHg 中的 Redmine 问题列表提交时。

正确配置后,Redmine 具有您想要的所有功能:

  1. 您可以向项目添加版本,然后添加自定义字段以允许用户说出在哪个版本中发现错误。Redmine
  2. 有一个新问题的目标版本字段,可以在用于您的第二个要求。如果您更喜欢目标版本和固定版本,那么您可以为此添加另一个自定义字段。
  3. 它是开箱即用的 - 如果您在提交消息中输入“refs #123”或“references #123”,那么问题页面将显示引用它的所有提交。 TurtleMine 放置“Issue #123”,但您可以添加“issue”作为要注意的关键字,以便它可以与 Redmine 配合使用。

We use Redmine which we installed using the Bitnami Windows Application Stack. We also use TurtleMine to get a list of Redmine issues in TortoiseHg when committing.

Redmine has all the features that you want when configured appropriately:

  1. You can add versions to projects and can then add a custom field to allow users to say which version a bug was found in.
  2. Redmine has a target version field for new issues that can be used for your second requirement. If you'd prefer a target version and a fixed version then you can add another custom field for that.
  3. It does this out of the box - if you enter "refs #123" or "references #123" in the commit message then the issue page will show all commits that referenced it. TurtleMine puts "Issue #123" but you can add "issue" as a keyword to watch out for so it works with Redmine.
物价感观 2025-01-09 06:11:18

有许多系统可以完全满足您的需求,但这完全取决于您是自己托管还是由他人托管。

我个人使用自己安装的自托管 RedMine 服务器,以便更好地控制和管理。我在此处公开了一些安装说明。

There are a number of systems out there that will do exactly what you need, however it all depends on if you will be hosting it yourself or having it hosted for you.

I personally use a self hosted RedMine server that I have installed myself for better control and management. I have some installation notes available publicly here.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文