From 11002c7f7758d8abe6f959d6e823bd101b67633c Mon Sep 17 00:00:00 2001 From: flip1995 Date: Thu, 25 Nov 2021 16:01:41 +0100 Subject: [PATCH] Use new template forms for issue templates GitHub has a new way to define issue templates. This gives an even more consistent formatting of our issues. --- .github/ISSUE_TEMPLATE/blank_issue.md | 18 ------ .github/ISSUE_TEMPLATE/blank_issue.yml | 44 ++++++++++++++ .github/ISSUE_TEMPLATE/bug_report.md | 43 -------------- .github/ISSUE_TEMPLATE/bug_report.yml | 57 ++++++++++++++++++ .github/ISSUE_TEMPLATE/false_negative.md | 35 ----------- .github/ISSUE_TEMPLATE/false_negative.yml | 50 ++++++++++++++++ .github/ISSUE_TEMPLATE/false_positive.md | 44 -------------- .github/ISSUE_TEMPLATE/false_positive.yml | 68 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/ice.md | 52 ----------------- .github/ISSUE_TEMPLATE/ice.yml | 48 +++++++++++++++ .github/ISSUE_TEMPLATE/new_lint.md | 36 ------------ .github/ISSUE_TEMPLATE/new_lint.yml | 71 +++++++++++++++++++++++ 12 files changed, 338 insertions(+), 228 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/blank_issue.md create mode 100644 .github/ISSUE_TEMPLATE/blank_issue.yml delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml delete mode 100644 .github/ISSUE_TEMPLATE/false_negative.md create mode 100644 .github/ISSUE_TEMPLATE/false_negative.yml delete mode 100644 .github/ISSUE_TEMPLATE/false_positive.md create mode 100644 .github/ISSUE_TEMPLATE/false_positive.yml delete mode 100644 .github/ISSUE_TEMPLATE/ice.md create mode 100644 .github/ISSUE_TEMPLATE/ice.yml delete mode 100644 .github/ISSUE_TEMPLATE/new_lint.md create mode 100644 .github/ISSUE_TEMPLATE/new_lint.yml diff --git a/.github/ISSUE_TEMPLATE/blank_issue.md b/.github/ISSUE_TEMPLATE/blank_issue.md deleted file mode 100644 index 866303a1f9f..00000000000 --- a/.github/ISSUE_TEMPLATE/blank_issue.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -name: Blank Issue -about: Create a blank issue. ---- - - - diff --git a/.github/ISSUE_TEMPLATE/blank_issue.yml b/.github/ISSUE_TEMPLATE/blank_issue.yml new file mode 100644 index 00000000000..d610e8c7bc4 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/blank_issue.yml @@ -0,0 +1,44 @@ +name: Blank Issue +description: Create a blank issue. +body: + - type: markdown + attributes: + value: Thank you for filing an issue! + - type: textarea + id: problem + attributes: + label: Description + description: > + Please provide a discription of the issue, along with any information + you feel relevant to replicate it. + validations: + required: true + - type: textarea + id: version + attributes: + label: Version + description: "Rust version (`rustc -Vv`)" + placeholder: | + rustc 1.46.0-nightly (f455e46ea 2020-06-20) + binary: rustc + commit-hash: f455e46eae1a227d735091091144601b467e1565 + commit-date: 2020-06-20 + host: x86_64-unknown-linux-gnu + release: 1.46.0-nightly + LLVM version: 10.0 + render: text + - type: textarea + id: labels + attributes: + label: Additional Labels + description: > + Additional labels can be added to this issue by including the following + command + placeholder: | + @rustbot label +