简体   繁体   English

github:没有拉取请求的代码审查?

[英]github: code review without pull request?

Using a shared repository model . 使用共享存储库模型 In short: 简而言之:

  • we want to be able to review code changes 我们希望能够审核代码更改
  • but, we don't want pull requests to hold up integration at all 但是,我们不希望拉请求完全阻止集成

I've used a workflow like this in the past with Code Collaborator, but I don't think it was with Git(?). 我过去曾使用Code Collaborator这样的工作流程,但我不认为它与Git(?)有关。 The point is to allow quicker code integration, while at the same time providing some review of code changes. 关键是允许更快的代码集成,同时提供一些代码更改的审查。 If the review finds issues, the developer just fixes the issues and integrates, updating the code review in the process. 如果审核发现问题,开发人员只需修复问题并进行集成,即可更新流程中的代码审核。 Once the code review is done, there's no "pull" (merge): the code is already merged; 代码审查完成后,就没有“拉”(合并):代码已经合并; the review just gets closed. 评论刚刚结束。

You still can consider Gerrit for your review process. 您仍然可以考虑Gerrit进行审核。
It even has an " auto-merge during Push " which would allow you to merge immediately, while retaining a spot where to conduct your review. 它甚至还有一个“ 推送期间自动合并 ”,允许您立即合并,同时保留在哪里进行审核。

As commented, this is not the ideal workflow, but the point is: you can configure Gerrit in multiple ways. 评论说,这不是理想的工作流程,但关键是:您可以通过多种方式配置Gerrit

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM