集成版本控制系统和问题管理系统的选项

发布于 2024-09-17 17:14:08 字数 261 浏览 5 评论 0原文

除了下面给出的政策之外,你们还实施过其他政策吗?

  • 每次提交的有效问题 ID。 - 跟踪对错误所做的更改。从长远来看将有助于可维护性。
  • 有效问题状态(开放或进行中)。 - 为什么要处理已解决的问题。
  • 问题应该分配给执行提交的用户。更多的用户致力于解决一个 bug 是一种资源浪费。

上述政策可能不适用于开源社区,因为它强制执行限制。但是,拥有这样的政策将使代码具有更多的可追溯性,从而使新开发人员的加入变得更加容易。

Is there any other policy that any of you have implemented other than the ones given below?

  • Valid Issue ID per commit. - To track changes made for a bug. Will help maintainability in the long run.
  • Valid Issue status( Open or In-progress). - Why work on issue that are closed.
  • Issue should be assigned to the user doing the commit. More users working on a single bug is a waste of resources.

The above mentioned policies might not work well for for the open source community as it enforces restrictions. But having policies like this would have more traceability in code thereby on-boarding new developers is much easier.

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

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

发布评论

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

评论(1

jJeQQOZ5 2024-09-24 17:14:08

您可以将合并策略与提交的票据相关状态联系起来。
仅提交符合以下条件的提交:

  • 具有关联的已关闭(“已解决”)错误状态
  • 已审核(代码审核或测试),并且可以选择在关闭或拒绝之前执行额外步骤。

可以合并到某些分支,旨在集成所有修复。

You can tie a merge strategy with the ticket-related status of a commit.
Only commits which are:

  • with an associated closed ("resolved") bug status
  • reviewed (either code review or test), with the option to have that extra-step before closing or rejecting.

can be merge to certain branches meant to integrate all the fixes.

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