如何在bitbucket中进行良好的代码评论
我使用了一些代码审核程序。我现在在Bitbucket中使用拉动请求。我希望有一定的过程:
- 创建审核(即拉请求)
- 评论由审阅者添加。 (已习惯于某人可以将更改标记为需要在合并之前修复的错误的分级系统)
- 审查回到了解决标记的任何问题的发起者
- (!!)发起者将其更改推到他们的分支机构,然后由所有审核者再次进行代码审查,然后批准或拒绝新更改。
- 随着一切都很好,审查得到批准然后合并。
我想知道的是步骤3和4。似乎没有评论评分,似乎发起者没有办法快速看到评论(以某种凝结的格式)。另外,新更改如何更新拉请请求?这只是Bitbucket系统中缺少的还是有办法实现这一目标?
I have used a few code review programs. I am now using pull requests in Bitbucket. I am expecting a certain process:
- Create review (ie pull request)
- Comments are added by reviewers. ( am used to a graded system where someone can mark the change as a bug which needs to be fixed before being merged)
- The review is sent back to the originator who fixes any problems that are marked
- (!!)The originator pushes their changes to their branch and then the code review is done again by all reviewers who then approve or reject the new changes.
- With all things being good, the review is approved and then merged.
What I am wondering about are steps 3 and 4. There seems no grading to the comments and there seems to be no way for the originator to see quickly the comments (in some condensed format). Also, how do new changes update a pull request? Is this just missing from the Bitbucket system or is there a way to achieve this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
“发起者似乎无法快速查看评论(以某种压缩格式)”。打开拉取请求,然后查看右侧。我看到 3 个选项卡:详细信息/文件/活动。在“活动”下,我可以过滤到“所有评论”。
“新更改如何更新拉取请求?”创建拉取请求时,您正在请求同事批准将代码从某个源分支拉取到某个目标分支。因此,当源分支更新更改时,拉取请求应该自动反映这一点。换句话说,您不必采取任何额外的操作。
"there seems to be no way for the originator to see quickly the comments (in some condensed format)". Open a pull request, and look over on the right hand side. I see 3 tabs: Details / Files / Activity. Under "Activity", I can filter to "All Comments".
"how do new changes update a pull request?" When creating a pull request, you are requesting approval from your colleagues to pull code from some source branch to some target branch. So, when the source branch is updated with changes, the pull request should automatically reflect that. In other words, you shouldn't have to take any extra action.