From 2127b45953ed5baabcae3914d40c28951b26c191 Mon Sep 17 00:00:00 2001 From: adbridge Date: Wed, 25 Sep 2019 11:55:00 +0100 Subject: [PATCH 1/6] Simplify pull request template Condense multiple options into the main three and summarise what can go into those 3 types. Add a test results section. Add compulsory sections to Release Notes. --- .github/pull_request_template.md | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index e67f72f0377..6ee650acb08 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -16,13 +16,16 @@ of them would change the meaning incorrectly. The only changes to be made are to add a description text under the description heading and to add a 'x' to the correct box. --> - [ ] Fix - [ ] Refactor - [ ] Target update - [ ] Functionality change - [ ] Docs update - [ ] Test update - [ ] Breaking change + [ ] Patch update (Bug fix / Target update / Docs update / Test update / Refactor) + [ ] Feature update (New feature / Functionality change / New API) + [ ] Major update (Breaking change E.g. Return code change / API behaviour change) + +### Test results + + ### Reviewers @@ -34,7 +37,15 @@ ### Release Notes + +##### Summary of changes + +##### Impact of changes + +##### Migration actions required + + From 4e505f6b528689e855f55b8acdf04f1133c45da1 Mon Sep 17 00:00:00 2001 From: Anna Bridge Date: Wed, 25 Sep 2019 15:38:53 +0100 Subject: [PATCH 2/6] Add test results section Also add section separators --- .github/pull_request_template.md | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 6ee650acb08..05f606d3745 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,3 +1,4 @@ +---------------------------------------------------------------------------------------------------------------- ### Description +---------------------------------------------------------------------------------------------------------------- ### Pull request type - [ ] Patch update (Bug fix / Target update / Docs update / Test update / Refactor) - [ ] Feature update (New feature / Functionality change / New API) - [ ] Major update (Breaking change E.g. Return code change / API behaviour change) + [] Patch update (Bug fix / Target update / Docs update / Test update / Refactor) + [] Feature update (New feature / Functionality change / New API) + [] Major update (Breaking change E.g. Return code change / API behaviour change) +---------------------------------------------------------------------------------------------------------------- ### Test results - + [] No Tests required for this change + [] These PR changes will be covered by existing tests and CI + [] Tests supplied below + + +---------------------------------------------------------------------------------------------------------------- ### Reviewers +---------------------------------------------------------------------------------------------------------------- ### Release Notes + ---------------------------------------------------------------------------------------------------------------- -### Description +### Description (Required) [] No Tests required for this change [] These PR changes will be covered by existing tests and CI @@ -35,7 +39,7 @@ ---------------------------------------------------------------------------------------------------------------- -### Reviewers +### Reviewers (Optional) ---------------------------------------------------------------------------------------------------------------- -### Release Notes +### Release Notes (Reguired for Feature/Major PRs) - ----------------------------------------------------------------------------------------------------------------- -### Description (Required) +### Description (*required*) [] No Tests required for this change [] These PR changes will be covered by existing tests and CI @@ -39,7 +37,7 @@ For more information on the requirements for pull requests, please see [the cont ---------------------------------------------------------------------------------------------------------------- -### Reviewers (Optional) +### Reviewers (*optional*) ---------------------------------------------------------------------------------------------------------------- -### Release Notes (Reguired for Feature/Major PRs) +### Release Notes (*required for feature/major PRs*) +##### Summary of change (*What the change is for and why*) +##### Documentation (*Details of any document updates required*) + ---------------------------------------------------------------------------------------------------------------- ### Pull request type (*required*) @@ -28,12 +31,12 @@ For more information on the requirements for pull requests, please see [the cont ### Test results (*required*) - [] No Tests required for this change - [] These PR changes will be covered by existing tests and CI - [] Tests supplied below + [] No Tests required for this change (E.g docs only update) + [] Covered by existing mbed-os tests (Greentea or Unittest) + [] Tests / results supplied as part of this PR ---------------------------------------------------------------------------------------------------------------- @@ -60,3 +63,4 @@ For more information on the requirements for pull requests, please see [the cont ##### Migration actions required + From 7349001547e0ddc6c1c0e959d389c52e161c60d9 Mon Sep 17 00:00:00 2001 From: Anna Bridge Date: Thu, 26 Sep 2019 14:54:03 +0100 Subject: [PATCH 6/6] Clarify release note section requirements --- .github/pull_request_template.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 435730ac090..3cdc42f6b4d 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -51,7 +51,7 @@ For more information on the requirements for pull requests, please see [the cont ### Release Notes (*required for feature/major PRs*)