From b51ca74068045abf0642354c11f18df174d6e12b Mon Sep 17 00:00:00 2001 From: Liu Fengyun Date: Wed, 5 Jun 2019 10:01:31 +0200 Subject: [PATCH 1/2] Add issue template We use single template instead of multiple templates for better usability, as most of the time people create issues, make them to choose between templates is annoying. Meanwhile, we minimize information load by avoiding too much info in the template. The difference between multiple templates and single template can be seen below: - https://help.github.com/en/articles/manually-creating-a-single-issue-template-for-your-repository --- docs/issue_template.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 docs/issue_template.md diff --git a/docs/issue_template.md b/docs/issue_template.md new file mode 100644 index 000000000000..bbcf1c6ab60f --- /dev/null +++ b/docs/issue_template.md @@ -0,0 +1,11 @@ +--- +name: Bug report +about: Report a bug about the Dotty Compiler +title: '' +labels: '' +assignees: '' + +--- + +- Please try to minimize the code that causes the problem +- Feature requests should go to [lampepfl/dotty-feature-requests](https://github.com/lampepfl/dotty-feature-requests) From 1d16677bcd45fa4670d889d9c6b7d95429451679 Mon Sep 17 00:00:00 2001 From: Liu Fengyun Date: Wed, 5 Jun 2019 13:45:00 +0200 Subject: [PATCH 2/2] Switch to multiple template --- docs/ISSUE_TEMPLATE/bug.md | 19 +++++++++++++++++++ docs/ISSUE_TEMPLATE/feature.md | 13 +++++++++++++ docs/issue_template.md | 11 ----------- 3 files changed, 32 insertions(+), 11 deletions(-) create mode 100644 docs/ISSUE_TEMPLATE/bug.md create mode 100644 docs/ISSUE_TEMPLATE/feature.md delete mode 100644 docs/issue_template.md diff --git a/docs/ISSUE_TEMPLATE/bug.md b/docs/ISSUE_TEMPLATE/bug.md new file mode 100644 index 000000000000..9bd4dd954029 --- /dev/null +++ b/docs/ISSUE_TEMPLATE/bug.md @@ -0,0 +1,19 @@ +--- +name: "\U0001F41B Bug report" +about: Report a bug about the Dotty Compiler +title: '' +labels: itype:bug +assignees: '' + +--- + +## minimized code + +```Scala +println("hello, world") +``` + + +## expectation + + diff --git a/docs/ISSUE_TEMPLATE/feature.md b/docs/ISSUE_TEMPLATE/feature.md new file mode 100644 index 000000000000..13919fafdc79 --- /dev/null +++ b/docs/ISSUE_TEMPLATE/feature.md @@ -0,0 +1,13 @@ +--- +name: "\U0001F389 Suggest a feature" +about: Please create a feature request here https://github.com/lampepfl/dotty-feature-requests +title: '' +labels: +assignees: '' + +--- + +Please create a feature request here: [lampepfl/dotty-feature-requests](https://github.com/lampepfl/dotty-feature-requests). + + + diff --git a/docs/issue_template.md b/docs/issue_template.md deleted file mode 100644 index bbcf1c6ab60f..000000000000 --- a/docs/issue_template.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -name: Bug report -about: Report a bug about the Dotty Compiler -title: '' -labels: '' -assignees: '' - ---- - -- Please try to minimize the code that causes the problem -- Feature requests should go to [lampepfl/dotty-feature-requests](https://github.com/lampepfl/dotty-feature-requests)