团队成员信息以及 MR Reviewer 自动推荐
Upstream MR Reviewer
当前 Upstream MR Reviewer 推荐有三种方式:
- Code Owners
- request_review
- assign_reviewer
Code Owners
其中 Code Owners 是 GitLab Premium 功能,需要跟着 project 配置。
request_review
request_review 是一个 triage-ops Command:
@gitlab-bot review_review
处理逻辑在 triage-ops 项目里,而可用团队成员信息由 gitlab-roulette 项目处理,gitlab-roulette 不是公开的,但是我们可以直接查看他 最终生成的结果 JSON
assign_reviewer
assign_reviewer 也是一个 triage-ops Command:
@gitlab-bot assign_reviewer @user
处理逻辑在 triage-ops 项目里,可用团队成员信息放在 www-gitlab-com 中。
团队成员信息
当前 Upstream 团队成员信息主要有 roulette 和 www-gitlab-com
# roulette.json
username: aakriti.gupta
name: Aakriti Gupta
role: Senior Backend Engineer
merge_request_coach: false
available: false
has_capacity: false
hungry: false
reduced_capacity: false
out_of_office: false
# www-gitlab-com: /data/team_members/person/k/kyle-wiebers.yml
name: Kyle Wiebers
role: Backend Engineering Manager, Engineering Productivity
reports_to: michellehodges
gitlab: kwiebers
departments:
- Engineering Function
- Quality Department
- Engineering Productivity Team
projects:
gitlab:
- reviewer tooling
gitlab-qa: reviewer
gitlab-triage: maintainer
gitlab-styles: reviewer
gitlab-dangerfiles: reviewer
quality-pipeline-common: reviewer
triage-ops: maintainer
由 Song Huang 编辑于