From 25a9c739013efd9b220b76acc908e0458d0636aa Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Fri, 19 Feb 2021 09:44:19 -0800 Subject: [PATCH] Clean up our github issue templates * Don't use HTML comments, as they are noisy, which makes the templates more intimidating. * Use "TODO" to clearly demarcate everywhere the issue reporter should fill in some information. * Use headers and white space abundantly, which makes it easier to visually process the template and its sections at a glance, and less of an intimidating wall of text. Fixes #2661 --- .github/ISSUE_TEMPLATE/clif-bug-report.md | 42 +++++++++++++++---- .github/ISSUE_TEMPLATE/improvement.md | 21 +++++----- .github/ISSUE_TEMPLATE/wasmtime-bug-report.md | 40 ++++++++++++++---- 3 files changed, 74 insertions(+), 29 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/clif-bug-report.md b/.github/ISSUE_TEMPLATE/clif-bug-report.md index 88299297f1..7a76c81a0b 100644 --- a/.github/ISSUE_TEMPLATE/clif-bug-report.md +++ b/.github/ISSUE_TEMPLATE/clif-bug-report.md @@ -7,13 +7,37 @@ assignees: '' --- -Thanks for opening a bug report! Please answer the questions below -if they're relevant and delete this text before submitting. +Thanks for filing an issue! Please fill out the TODOs below. -- What are the steps to reproduce the issue? Can you include a CLIF test case, - ideally reduced with the `bugpoint` clif-util command? -- What do you expect to happen? What does actually happen? Does it panic, and - if so, with which assertion? -- Which Cranelift version / commit hash / branch are you using? -- If relevant, can you include some extra information about your environment? - (Rust version, operating system, architecture...) +### `.clif` Test Case + +``` +TODO: paste .clif test case here. Ideally, a test case that has been reduced via +the `clif-util bugpoint` command. +``` + +### Steps to Reproduce + +* TODO: First, ... +* TODO: Then, ... +* Etc... + +### Expected Results + +TODO: What do you expect to happen? + +### Actual Results + +TODO: What actually happens? Panic? Segfault? Incorrect result? + +### Versions and Environment + +Cranelift version or commit: TODO + +Operating system: TODO + +Architecture: TODO + +### Extra Info + +Anything else you'd like to add? diff --git a/.github/ISSUE_TEMPLATE/improvement.md b/.github/ISSUE_TEMPLATE/improvement.md index 5eacb0a72c..8146e0c58c 100644 --- a/.github/ISSUE_TEMPLATE/improvement.md +++ b/.github/ISSUE_TEMPLATE/improvement.md @@ -7,26 +7,25 @@ assignees: '' --- - +Thanks for filing a feature request! Please fill out the TODOs below. #### Feature - +TODO: Brief description of the feature/improvement you'd like to see in +Cranelift/Wasmtime. #### Benefit - +TODO: What is the value of adding this in Cranelift/Wasmtime? What problems does +it solve? #### Implementation - +TODO: Do you have an implementation plan, and/or ideas for data structures or +algorithms to use? #### Alternatives - +TODO: What are the alternative implementation approaches or alternative ways to +solve the problem that this feature would solve? How do these alternatives +compare to this proposal? diff --git a/.github/ISSUE_TEMPLATE/wasmtime-bug-report.md b/.github/ISSUE_TEMPLATE/wasmtime-bug-report.md index 77a8fd5650..d4b57f651c 100644 --- a/.github/ISSUE_TEMPLATE/wasmtime-bug-report.md +++ b/.github/ISSUE_TEMPLATE/wasmtime-bug-report.md @@ -1,5 +1,5 @@ --- -name: Wasmtime bug report +name: Wasmtime Bug Report about: Report a bug or a crash in Wasmtime title: '' labels: bug @@ -7,12 +7,34 @@ assignees: '' --- -Thanks for opening a bug report! Please answer the questions below -if they're relevant and delete this text before submitting. +Thanks for filing a bug report! Please fill out the TODOs below. -- What are the steps to reproduce the issue? -- What do you expect to happen? What does actually happen? Does it panic, and - if so, with which assertion? -- Which Wasmtime version / commit hash / branch are you using? -- If relevant, can you include some extra information about your environment? - (Rust version, operating system, architecture...) +### Test Case + +TODO: upload Wasm file here + +### Steps to Reproduce + +* TODO: first, ... +* TODO: second, ... +* Etc... + +### Expected Results + +TODO: What do you expect to happen? + +### Actual Results + +TODO: What actually happens? Panic? Segfault? Incorrect result? + +### Versions and Environment + +Wasmtime version or commit: TODO + +Operating system: TODO + +Architecture: TODO + +### Extra Info + +Anything else you'd like to add?