审核人员和受让人在GitHub上有什么区别? [英] What is difference between Reviewers and Assignees on GitHub?

查看:1249
本文介绍了审核人员和受让人在GitHub上有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我创建拉取请求时,我可以看到审阅者受让人两个选项。那些有什么区别?
我认为这是来自github的最后一个版本。

正在处理什么拉请求和问题。他们不赋予任何额外的权限。



审阅者是您特别要求查看您的拉取请求的人。 从文档 ...


请求作者和存储库所有者和协作者可以向任何具有对存储库的写入访问权限的人请求拉取请求审阅。请求审核人员将收到通知,要求他们审核拉取请求。


鉴于受理人明确了谁在工作关于特定问题和请求也来自文档

具体差异取决于该项目,但基本区别在于审核人员需要审核,并且受让人负责实际处理合并(可能还包括审查)。例如,如果我提交了改变类型系统的请求,我可能会将其分配给负责该类型系统的负责人员;那可能是一个特定的人,或者是项目领导。或者我可以将它分配给任何在项目聊天中表示会照顾它的人。一个受让人说:这个人正在处理这个问题。



但是,如果这个拉取请求也有Windows特定的代码,我可能会要求某个项目上的某个人Windows很好。

另一个用途可能是总是让两个人看一个请求,一个评论者,一个受让人。在这种情况下,由项目经理处理,确保每个请求都有受让人和审核人。


When I create pull request, I can see two options as Reviewers and Assignees. What is difference between those? I think this is from any of last version of github.

解决方案

Reviewers and assignees are a tool for organizing who is working on what pull request and issue. They don't confer any extra permissions.

Reviewers are people you are specifically requesting to review your pull request. From the docs...

Pull request authors and repository owners and collaborators can request a pull request review from anyone with write access to the repository. The requested reviewer will receive a notification that you asked them to review the pull request.

Whereas "assignees clarify who is working on specific issues and pull requests", also from the docs.

The specific difference is up to the project, but the basic difference is that reviewers are expected to review, and the assignees are in charge of actually handling the merge (which probably also includes review).

For example, if I was submitting a pull request that changed the type system, I might assign it to the person in charge of the type system to take care of; that might be a specific person, or the project lead. Or I might assign it to whomever said they'd take care of it in the project chat. An assignee says "this person is handling the issue".

But if that pull request also has Windows specific code, I might request a review from someone on the project that knows Windows well.

Another use might be to always have two people look at a pull request, one reviewer, one assignee. In this case that would be handled by a project manager ensuring that every pull request has both an assignee and a reviewer.

这篇关于审核人员和受让人在GitHub上有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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