11 Star 55 Fork 20

MindSpore / xai

 / 详情

Suggestions for adding OWNERS files

DONE
Task-Tracking
创建于  
2021-06-30 11:30
name about labels
Bug Report Use this template for reporting a bug kind/task

In order to make the new robot better support the code review process, we recommend adding the OWNERS file.
OWNERS files are used to specify responsibilities for different parts of the code base. Use them to assign the reviewer and approver roles used in our two-phase code review process.

The velocity of a project that uses code review is limited by the number of people capable of reviewing code. The quality of a person's code review is limited by their familiarity with the code under review. Our goal is to address both of these concerns through the prudent use and maintenance of OWNERS files.

OWNERS files are in YAML format and support the following keys:

  • approvers: a list of gitee usernames or aliases that can /approve a PR
  • reviewers: a list of gitee usernames or aliases that are good candidates to /lgtm a PR
  • options: a map of options for how to interpret this OWNERS file, currently only one:
    • no_parent_owners: defaults to false if not present; if true, exclude parent OWNERS files. Allows the use case where a/deep/nested/OWNERS file prevents a/OWNERS file from having any effect on a/deep/nested/bit/of/code

The above keys constitute a simple OWNERS configuration.

A typical OWNERS file looks like:

approvers:
  - alice
  - bob    
reviewers:
  - carol  

OWNERS files should be regularly maintained.
We should strive to:

  • grow the number of OWNERS files
  • add new people to OWNERS files
  • ensure OWNERS files only contain organization members
  • ensure OWNERS files only contain people are actively contributing to or reviewing the code they own
  • remove inactive people from OWNERS files

评论 (0)

xwzQmxx 创建了Task-Tracking
xwzQmxx 关联仓库设置为MindSpore/xai
xwzQmxx 修改了描述
TonyNG 任务状态TODO 修改为DONE
TonyNG 负责人设置为TonyNG
展开全部操作日志

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(1)
Python
1
https://gitee.com/mindspore/xai.git
git@gitee.com:mindspore/xai.git
mindspore
xai
xai

搜索帮助