From 2601a107b7b7e797571bd60784664b627fb6b212 Mon Sep 17 00:00:00 2001 From: panrunyu Date: Tue, 1 Jan 2019 22:11:20 -0500 Subject: add pr template --- .github/PULL_REQUEST_TEMPLATE.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/PULL_REQUEST_TEMPLATE.md (limited to '.github') diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000000..cd2179ca59 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,32 @@ +### Summary of this Pull Request (PR) 拉取请求的简述 + +**Add description here.** + +### Intent for your PR 拉取请求的目的 + +Choose one (Mandatory): + +- [ ] This PR is for a code-review and is intended to get feedback 本拉取请求是一个草稿版本 +- [ ] This PR is mature, and ready to be integrated into the repo 本拉取请求是一个成熟版本 + +### Reviewers (Mandatory): 代码审阅者(必须指定) +(@ Ex: @user1, @user2) + + +### Code Quality: 代码质量 +As part of this pull request, I've considered the following: +我在这个拉取请求中考虑了: +- [ ] Style guide is adhered to, including spacing, naming and other style 代码的格式正确 +- [ ] All redundant code is removed and cleaned up 没有垃圾代码 +- [ ] All modifications are justified 所有变更均有原因 +- [ ] I've commented appropriately where code is tricky 难懂代码均被注释 +- [ ] Code in this PR is of high quality 本拉取请求高质量 + +### Testing:代码测试 + +I've tested the code using the following test programs (provide list here): +我已经在如下用例上跑过测试: + +- [ ] application 1 +- [ ] application 2 +- [ ] ...(add others here) -- cgit v1.3.1 From 5bef494db1019f603f064e6e927e25d57a4fb289 Mon Sep 17 00:00:00 2001 From: panrunyu Date: Tue, 1 Jan 2019 22:19:13 -0500 Subject: fix pr template --- .github/PULL_REQUEST_TEMPLATE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index cd2179ca59..ffe25a7a43 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -4,7 +4,7 @@ ### Intent for your PR 拉取请求的目的 -Choose one (Mandatory): +Choose one (Mandatory): 必须选择一项 - [ ] This PR is for a code-review and is intended to get feedback 本拉取请求是一个草稿版本 - [ ] This PR is mature, and ready to be integrated into the repo 本拉取请求是一个成熟版本 -- cgit v1.3.1 From d9a3cc9a03e07c61afc1262a8e3a730cdc20d10b Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Wed, 2 Jan 2019 13:11:13 +0800 Subject: Update PR template. --- .github/PULL_REQUEST_TEMPLATE.md | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) (limited to '.github') diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index ffe25a7a43..c1e467e6c4 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,31 +1,34 @@ -### Summary of this Pull Request (PR) 拉取请求的简述 +### Summary of this Pull Request (PR) 拉取/合并请求的简述 -**Add description here.** +**Add description here.** **请在这里加入描述** -### Intent for your PR 拉取请求的目的 +### Intent for your PR 拉取/合并请求的目的 Choose one (Mandatory): 必须选择一项 -- [ ] This PR is for a code-review and is intended to get feedback 本拉取请求是一个草稿版本 -- [ ] This PR is mature, and ready to be integrated into the repo 本拉取请求是一个成熟版本 +- [ ] This PR is for a code-review and is intended to get feedback 本拉取/合并请求是一个草稿版本 +- [ ] This PR is mature, and ready to be integrated into the repo 本拉取/合并请求是一个成熟版本 ### Reviewers (Mandatory): 代码审阅者(必须指定) -(@ Ex: @user1, @user2) +(@ Ex: @user1, @user2) ### Code Quality: 代码质量 + As part of this pull request, I've considered the following: -我在这个拉取请求中考虑了: -- [ ] Style guide is adhered to, including spacing, naming and other style 代码的格式正确 -- [ ] All redundant code is removed and cleaned up 没有垃圾代码 -- [ ] All modifications are justified 所有变更均有原因 -- [ ] I've commented appropriately where code is tricky 难懂代码均被注释 -- [ ] Code in this PR is of high quality 本拉取请求高质量 +我在这个拉取/合并请求中已经考虑了: + +- [ ] Already check the difference between PR and old code 已经仔细查看过代码改动的对比 +- [ ] Style guide is adhered to, including spacing, naming and other style 代码风格正确,包括缩进空格,命名及其他风格 +- [ ] All redundant code is removed and cleaned up 没有垃圾代码,代码尽量精简,不包含`#if 0`代码,不包含已经被注释了的代码 +- [ ] All modifications are justified and not affect other components or BSP 所有变更均有原因及合理的,并且不会影响到其他软件组件代码或BSP +- [ ] I've commented appropriately where code is tricky 对难懂代码均提供对应的注释 +- [ ] Code in this PR is of high quality 本拉取/合并请求代码是高质量的 ### Testing:代码测试 I've tested the code using the following test programs (provide list here): -我已经在如下用例上跑过测试: +我已经在如下场合跑过对应的测试: - [ ] application 1 - [ ] application 2 -- cgit v1.3.1 From 95a1db61d68e11b015d02cd0fdea5808fcfa9344 Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Thu, 10 Jan 2019 10:55:41 +0800 Subject: Update PULL_REQUEST_TEMPLATE.md --- .github/PULL_REQUEST_TEMPLATE.md | 45 +++++++++++++++++----------------------- 1 file changed, 19 insertions(+), 26 deletions(-) (limited to '.github') diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index c1e467e6c4..a82fe6a2bf 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,35 +1,28 @@ -### Summary of this Pull Request (PR) 拉取/合并请求的简述 +## 拉取/合并请求描述:(PR description) -**Add description here.** **请在这里加入描述** +请仔细阅读以下文字。请在这里填写您的PR描述,可以包括以下之一的内容:为什么提交这份PR;解决的问题是什么,你的解决方案是什么; +Please read the following carefully. Please fill in your PR description here, which can include one of the following items: why to submit this PR; what is the problem solved and what is your solution; -### Intent for your PR 拉取/合并请求的目的 +并确认已经在什么情况或板卡上进行了测试。 +And confirm in which case or board have been tested. -Choose one (Mandatory): 必须选择一项 +以下的内容请在提交PR后,一项项进行check,没问题后逐条在页面上打钩。 +The following contents should be checked item by item after submitted PR, and ticked on the browser one by one after no problem. -- [ ] This PR is for a code-review and is intended to get feedback 本拉取/合并请求是一个草稿版本 -- [ ] This PR is mature, and ready to be integrated into the repo 本拉取/合并请求是一个成熟版本 +### 当前拉取/合并请求的状态 Intent for your PR -### Reviewers (Mandatory): 代码审阅者(必须指定) +必须选择一项 Choose one (Mandatory): -(@ Ex: @user1, @user2) +- [ ] 本拉取/合并请求是一个草稿版本 This PR is for a code-review and is intended to get feedback +- [ ] 本拉取/合并请求是一个成熟版本 This PR is mature, and ready to be integrated into the repo -### Code Quality: 代码质量 +### 代码质量 Code Quality: -As part of this pull request, I've considered the following: -我在这个拉取/合并请求中已经考虑了: +我在这个拉取/合并请求中已经考虑了 As part of this pull request, I've considered the following: -- [ ] Already check the difference between PR and old code 已经仔细查看过代码改动的对比 -- [ ] Style guide is adhered to, including spacing, naming and other style 代码风格正确,包括缩进空格,命名及其他风格 -- [ ] All redundant code is removed and cleaned up 没有垃圾代码,代码尽量精简,不包含`#if 0`代码,不包含已经被注释了的代码 -- [ ] All modifications are justified and not affect other components or BSP 所有变更均有原因及合理的,并且不会影响到其他软件组件代码或BSP -- [ ] I've commented appropriately where code is tricky 对难懂代码均提供对应的注释 -- [ ] Code in this PR is of high quality 本拉取/合并请求代码是高质量的 - -### Testing:代码测试 - -I've tested the code using the following test programs (provide list here): -我已经在如下场合跑过对应的测试: - -- [ ] application 1 -- [ ] application 2 -- [ ] ...(add others here) +- [ ] 已经仔细查看过代码改动的对比 Already check the difference between PR and old code +- [ ] 代码风格正确,包括缩进空格,命名及其他风格 Style guide is adhered to, including spacing, naming and other style +- [ ] 没有垃圾代码,代码尽量精简,不包含`#if 0`代码,不包含已经被注释了的代码 All redundant code is removed and cleaned up +- [ ] 所有变更均有原因及合理的,并且不会影响到其他软件组件代码或BSP All modifications are justified and not affect other components or BSP +- [ ] 对难懂代码均提供对应的注释 I've commented appropriately where code is tricky +- [ ] 本拉取/合并请求代码是高质量的 Code in this PR is of high quality -- cgit v1.3.1 From 8f0d8658b737367e199aedb3c5fa9dce82330f5d Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Sun, 13 Jan 2019 11:28:50 +0800 Subject: Update PULL_REQUEST_TEMPLATE.md --- .github/PULL_REQUEST_TEMPLATE.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to '.github') diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index a82fe6a2bf..32b69a3adf 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,10 +1,15 @@ ## 拉取/合并请求描述:(PR description) -请仔细阅读以下文字。请在这里填写您的PR描述,可以包括以下之一的内容:为什么提交这份PR;解决的问题是什么,你的解决方案是什么; -Please read the following carefully. Please fill in your PR description here, which can include one of the following items: why to submit this PR; what is the problem solved and what is your solution; +[ +这段方括号里的内容是您必须填写并替换掉的,否则PR不可能被合并。方括号外面的内容不需要修改,但请仔细阅读。 +The content in this square bracket must be filled in and replaced, otherwise PR can not be merged. The contents outside square brackets need not be changed, but please read them carefully. -并确认已经在什么情况或板卡上进行了测试。 +请在这里填写您的PR描述,可以包括以下之一的内容:为什么提交这份PR;解决的问题是什么,你的解决方案是什么; +Please fill in your PR description here, which can include one of the following items: why to submit this PR; what is the problem solved and what is your solution; + +并确认并列出已经在什么情况或板卡上进行了测试。 And confirm in which case or board have been tested. +] 以下的内容请在提交PR后,一项项进行check,没问题后逐条在页面上打钩。 The following contents should be checked item by item after submitted PR, and ticked on the browser one by one after no problem. -- cgit v1.3.1 From 3398ffd3c11430be853638b44028986cc9ad626c Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Wed, 23 Jan 2019 10:05:23 +0800 Subject: Update PULL_REQUEST_TEMPLATE.md --- .github/PULL_REQUEST_TEMPLATE.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.github') diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 32b69a3adf..fb738a6b31 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,7 +1,7 @@ ## 拉取/合并请求描述:(PR description) [ -这段方括号里的内容是您必须填写并替换掉的,否则PR不可能被合并。方括号外面的内容不需要修改,但请仔细阅读。 +这段方括号里的内容是您**必须填写并替换掉**的,否则PR不可能被合并。**方括号外面的内容不需要修改,但请仔细阅读。** The content in this square bracket must be filled in and replaced, otherwise PR can not be merged. The contents outside square brackets need not be changed, but please read them carefully. 请在这里填写您的PR描述,可以包括以下之一的内容:为什么提交这份PR;解决的问题是什么,你的解决方案是什么; @@ -11,8 +11,8 @@ Please fill in your PR description here, which can include one of the following And confirm in which case or board have been tested. ] -以下的内容请在提交PR后,一项项进行check,没问题后逐条在页面上打钩。 -The following contents should be checked item by item after submitted PR, and ticked on the browser one by one after no problem. +以下的内容不应该在提交PR时的message修改,修改下述message,PR会被直接关闭。请在提交PR后,浏览器查看PR并对以下检查项逐项check,没问题后逐条在页面上打钩。 +The following content must not be changed in submitted PR message. Otherwise, the PR will be closed immediately. After submitted PR, please use web browser to visit PR, and check items one by one, and ticked them if no problem. ### 当前拉取/合并请求的状态 Intent for your PR -- cgit v1.3.1