aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2021-05-14 13:52:02 +0100
committerPhilip Herron <philip.herron@embecosm.com>2021-05-14 15:14:27 +0100
commitd89249208a000bb3dab553f4484724b61ecb0c70 (patch)
treebff9e2f2c3ee42a1d28c1d5800f4cb6d380381c0
parent39ff3ddc238908bb1796a2c4caca718f59dc7ab4 (diff)
downloadgcc-d89249208a000bb3dab553f4484724b61ecb0c70.zip
gcc-d89249208a000bb3dab553f4484724b61ecb0c70.tar.gz
gcc-d89249208a000bb3dab553f4484724b61ecb0c70.tar.bz2
Add issue templates ported from rust-clippy
-rw-r--r--.github/ISSUE_TEMPLATE/blank_issue.md4
-rw-r--r--.github/ISSUE_TEMPLATE/bug_report.md25
-rw-r--r--.github/ISSUE_TEMPLATE/ice.md42
-rw-r--r--.github/PULL_REQUEST_TEMPLATE.md1
4 files changed, 72 insertions, 0 deletions
diff --git a/.github/ISSUE_TEMPLATE/blank_issue.md b/.github/ISSUE_TEMPLATE/blank_issue.md
new file mode 100644
index 0000000..9aef3eb
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/blank_issue.md
@@ -0,0 +1,4 @@
+---
+name: Blank Issue
+about: Create a blank issue.
+---
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
new file mode 100644
index 0000000..cee42dd
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -0,0 +1,25 @@
+---
+name: Bug Report
+about: Create a bug report for Rust GCC
+labels: bug
+---
+<!--
+Thank you for filing a bug report! 🐛 Please provide a short summary of the bug,
+along with any information you feel relevant to replicating the bug.
+-->
+
+I tried this code:
+
+```rust
+<code>
+```
+
+I expected to see this happen: *explanation*
+
+Instead, this happened: *explanation*
+
+### Meta
+
+- What version of Rust GCC were you using, git sha if possible.
+
+
diff --git a/.github/ISSUE_TEMPLATE/ice.md b/.github/ISSUE_TEMPLATE/ice.md
new file mode 100644
index 0000000..5d3c493
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/ice.md
@@ -0,0 +1,42 @@
+---
+name: Internal Compiler Error
+about: Create a report for an internal compiler error in Rust GCC.
+labels: bug, ICE
+---
+<!--
+Thank you for finding an Internal Compiler Error! 🧊 If possible, try to provide
+a minimal verifiable example. You can read "Rust Bug Minimization Patterns" for
+how to create smaller examples.
+
+http://blog.pnkfx.org/blog/2019/11/18/rust-bug-minimization-patterns/
+
+-->
+
+### Code
+
+```rust
+<code>
+```
+
+### Meta
+
+- What version of Rust GCC were you using, git sha if possible.
+
+### Error output
+
+```
+<output>
+```
+
+<!--
+Include a backtrace if available.
+-->
+<details><summary>Backtrace</summary>
+ <p>
+
+ ```
+ <backtrace>
+ ```
+
+ </p>
+</details>
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
index dc05e56..c5ed565 100644
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -8,6 +8,7 @@ in the git commit message.
Here is a checklist to help you with your PR.
+- \[ ] GCC code require copyright assignment: https://gcc.gnu.org/contribute.html
- \[ ] Read contributing guidlines
- \[ ] `make check-rust` passes locally
- \[ ] Run `clang-format`