From f721821bec49f1b34dfda5cb7cc79f18abd0ae47 Mon Sep 17 00:00:00 2001 From: Benjamin Bouvier Date: Thu, 17 Oct 2019 17:15:56 +0200 Subject: [PATCH] [contribution] Add Github issue templates; --- cranelift/.github/ISSUE_TEMPLATE/bug-report.md | 16 ++++++++++++++++ cranelift/.github/ISSUE_TEMPLATE/improvement.md | 15 +++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 cranelift/.github/ISSUE_TEMPLATE/bug-report.md create mode 100644 cranelift/.github/ISSUE_TEMPLATE/improvement.md diff --git a/cranelift/.github/ISSUE_TEMPLATE/bug-report.md b/cranelift/.github/ISSUE_TEMPLATE/bug-report.md new file mode 100644 index 0000000000..8038372339 --- /dev/null +++ b/cranelift/.github/ISSUE_TEMPLATE/bug-report.md @@ -0,0 +1,16 @@ +--- +name: "Bug report" +about: "Report a bug or a crash in Cranelift." +labels: 'bug' +--- + +Thanks for opening a bug report on Cranelift! Please answer the questions below +if they're relevant and delete this text before submitting. + +- 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...) diff --git a/cranelift/.github/ISSUE_TEMPLATE/improvement.md b/cranelift/.github/ISSUE_TEMPLATE/improvement.md new file mode 100644 index 0000000000..16e082466e --- /dev/null +++ b/cranelift/.github/ISSUE_TEMPLATE/improvement.md @@ -0,0 +1,15 @@ +--- +name: "Improvement" +about: "A feature request or code improvement." +--- + +Please try to describe precisely what you would like to do in Cranelift and/or +expect from it. You can answer the questions below if they're relevant and +delete this text before submitting. Thanks for opening an issue! + +- What is the feature or code improvement you would like to do in Cranelift? +- What is the value of adding this in Cranelift? +- Do you have an implementation plan, and/or ideas for data structures or + algorithms to use? +- Have you considered alternative implementations? If so, how are they better + or worse than your proposal?