From c175fd12f64af914f77e84479519e454b27f5113 Mon Sep 17 00:00:00 2001 From: Frank LENORMAND Date: Thu, 12 Mar 2020 13:09:17 +0300 Subject: [PATCH] github: Migrate template to the new format, implement new ones This commit migrates the old issue template to the new format documented on the following page: https://help.github.com/en/github/building-a-strong-community/about-issue-and-pull-request-templates The old "issue template" is now a generic "bug report". New templates have also been added: * crash report * feature request * question Providing users with those templates allows reducing redundant questions to the reporter ("where is the stacktrace", "what is the usecase" etc), and assigning labels to the created issues automatically. A pull request template that refers to the CONTRIBUTING document and reminds the reporter to create a waiver commit is also implemented by this commit. --- .github/ISSUE_TEMPLATE/bug_report.md | 11 +++++++++++ .github/ISSUE_TEMPLATE/config.yml | 1 + .github/ISSUE_TEMPLATE/crash_report.md | 15 +++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 17 +++++++++++++++++ .github/ISSUE_TEMPLATE/question.md | 13 +++++++++++++ .../pull_request_template.md | 7 +++++++ .github/issue_template.md | 10 ---------- 7 files changed, 64 insertions(+), 10 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/crash_report.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/question.md create mode 100644 .github/PULL_REQUEST_TEMPLATE/pull_request_template.md delete mode 100644 .github/issue_template.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 00000000..ffe99203 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,11 @@ +--- +name: Bug report +about: Report an unexpected behaviour with the editor +labels: bug +--- + +### Steps + +### Outcome + +### Expected diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..0086358d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: true diff --git a/.github/ISSUE_TEMPLATE/crash_report.md b/.github/ISSUE_TEMPLATE/crash_report.md new file mode 100644 index 00000000..43bbe2f8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/crash_report.md @@ -0,0 +1,15 @@ +--- +name: Crash report +about: Report a crash of the editor while in-use +labels: bug, crash +--- + + + +### Steps + +### Outcome/Stacktrace diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 00000000..6775dc60 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,17 @@ +--- +name: Feature request +about: Ask for a feature to be implemented and included in the next release +labels: feature request +--- + + + +### Feature + +### Usecase diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md new file mode 100644 index 00000000..73c2f38b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.md @@ -0,0 +1,13 @@ +--- +name: Question +about: Couldn't find an answer in the documentation? Ask away! +labels: question +--- + + diff --git a/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md b/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md new file mode 100644 index 00000000..691cc466 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md @@ -0,0 +1,7 @@ + diff --git a/.github/issue_template.md b/.github/issue_template.md deleted file mode 100644 index dc7e7e35..00000000 --- a/.github/issue_template.md +++ /dev/null @@ -1,10 +0,0 @@ - - -### Steps - -### Outcome - -### Expected