From 43184ea0bf36481ec60189eba1cff3f6c80d9823 Mon Sep 17 00:00:00 2001 From: Zorg Date: Mon, 18 Jan 2021 00:15:34 -0800 Subject: [PATCH 1/2] Add pull request template and update issue templates These changes require development changes to be made on 2.x branch first. This is separate from changing the default branch, which can happen and be done independently. On the repo level, I also want to protect master and 2.x from direct pushes because inevitably it's tempting to push changes directly that should be reviewed -- and changes that get integrated that way are less pleasant to track. And I want to require a minimum of two project members to review PR changes (with a reasonable bypass for trivial bug-fixes, localization or doc updates). With that, I will put a commitment in reviewing changes here, and this would result in less work for project members and better quality review. --- .../ISSUE_TEMPLATE/fixes-and-enhancements.md | 19 ++++++++++++++ .github/ISSUE_TEMPLATE/other-issues-1.md | 10 ------- .github/ISSUE_TEMPLATE/other-issues-2.md | 10 ------- .github/pull_request_template.md | 26 +++++++++++++++++++ 4 files changed, 45 insertions(+), 20 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/fixes-and-enhancements.md delete mode 100644 .github/ISSUE_TEMPLATE/other-issues-1.md delete mode 100644 .github/ISSUE_TEMPLATE/other-issues-2.md create mode 100644 .github/pull_request_template.md diff --git a/.github/ISSUE_TEMPLATE/fixes-and-enhancements.md b/.github/ISSUE_TEMPLATE/fixes-and-enhancements.md new file mode 100644 index 00000000..a40d6ec6 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/fixes-and-enhancements.md @@ -0,0 +1,19 @@ +--- +name: Enhancements and Bug Fixes +about: Found a bug? Want to implement a new feature? +title: '' +assignees: '' + +--- + +## Summary + +[provide general summary to the issue or enhancement and its rationale] + +## Possible Fix + +[not obligatory, but suggest fixes or reasons for the bug] + +## Version + +[please specify versions of Sparkle this is applicable to; note new pull requests must be developed and landed in 2.x development branch first] diff --git a/.github/ISSUE_TEMPLATE/other-issues-1.md b/.github/ISSUE_TEMPLATE/other-issues-1.md deleted file mode 100644 index 777a161e..00000000 --- a/.github/ISSUE_TEMPLATE/other-issues-1.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -name: Other issues -about: Found a bug? Want to implement a new feature? -title: '' -labels: '1.x' -assignees: '' - ---- - - diff --git a/.github/ISSUE_TEMPLATE/other-issues-2.md b/.github/ISSUE_TEMPLATE/other-issues-2.md deleted file mode 100644 index 9be68841..00000000 --- a/.github/ISSUE_TEMPLATE/other-issues-2.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -name: Other issues related to Sparkle 2.x -about: Found a bug? Want to implement a new feature? -title: '' -labels: '2.x' -assignees: '' - ---- - - diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000..f8e79b79 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,26 @@ +# Sparkle Pull Request + +## Checklist: + +- [ ] My change is being tested and reviewed against the Sparkle 2.x branch. New changes must be developed on the 2.x development branch first. +- [ ] My change is being backported to master branch (Sparkle 1.x), if applicable. Please specify if it can be cherry-picked to master without conflicts, should it be backported. +- [ ] I have reviewed and commented my code, particularly in hard-to-understand areas. + +## Description + +Please include a summary of the change. + +Fixes # (issue) + +## Type of change + +- [ ] Bug fix (non-breaking change which fixes an issue) +- [ ] New feature (non-breaking change which adds functionality) +- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) +- [ ] My change is or requires a documentation or localization update + +## How Has This Been Tested? + +How did you verify your change? + +macOS version tested: From f5282705b40a5610c50e3475e9e7bfe49b911619 Mon Sep 17 00:00:00 2001 From: Zorg Date: Mon, 18 Jan 2021 09:23:49 -0800 Subject: [PATCH 2/2] Updated PR template regarding back porting and types of testing --- .github/pull_request_template.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index f8e79b79..0456e537 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -3,7 +3,7 @@ ## Checklist: - [ ] My change is being tested and reviewed against the Sparkle 2.x branch. New changes must be developed on the 2.x development branch first. -- [ ] My change is being backported to master branch (Sparkle 1.x), if applicable. Please specify if it can be cherry-picked to master without conflicts, should it be backported. +- [ ] My change is being backported to master branch (Sparkle 1.x), if deemed necessary. Please create a separate pull request for 1.x, should it be backported. - [ ] I have reviewed and commented my code, particularly in hard-to-understand areas. ## Description @@ -19,8 +19,12 @@ Fixes # (issue) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] My change is or requires a documentation or localization update -## How Has This Been Tested? +## Testing -How did you verify your change? +I tested and verified my change by using one or multiple of these methods: -macOS version tested: +- [ ] Sparkle Test App +- [ ] Unit Tests +- [ ] My own app + +macOS version tested: [place version here]