Skip to content

Commit

Permalink
Merge pull request rust-lang#2888 from noritada/features/issue-forms
Browse files Browse the repository at this point in the history
Migration of GitHub issue templates to issue forms
  • Loading branch information
kinnison authored Nov 8, 2021
2 parents 18b912a + 5fe8d75 commit dda6e5a
Show file tree
Hide file tree
Showing 6 changed files with 183 additions and 97 deletions.
26 changes: 0 additions & 26 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

61 changes: 61 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: Bug report
description: Create a report to help us improve
labels: [bug]
body:
- type: markdown
attributes:
value: >
**Thanks for filing a 🐛 bug report 😄!**
- type: textarea
id: problem
attributes:
label: Problem
description: >
A clear and concise description of what the bug is,
including what currently happens and what you expected to happen.
validations:
required: true

- type: textarea
id: steps
attributes:
label: Steps
description: The steps to reproduce the bug.
placeholder: |
1.
2.
3.
validations:
required: true

- type: textarea
id: solutions
attributes:
label: Possible Solution(s)
description: >
Not obligatory, but suggest a fix/reason for the bug,
or ideas how to implement the addition or change.
- type: textarea
id: notes
attributes:
label: Notes

- type: textarea
id: version
attributes:
label: Rustup version
description: Output of `rustup --version`
render: console
validations:
required: true

- type: textarea
id: toolchains
attributes:
label: Installed toolchains
description: Output of `rustup show`
render: console
validations:
required: true
16 changes: 0 additions & 16 deletions .github/ISSUE_TEMPLATE/enhancement_request.md

This file was deleted.

33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/enhancement_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Enhancement request
description: Suggest an enhancement for this project
labels: [enhancement]
body:
- type: markdown
attributes:
value: >
**Thanks for filing an 🙋 enhancement request 😄!**
- type: textarea
id: problem
attributes:
label: Problem you are trying to solve
description: >
A clear and concise description of the problem this enhancement request is trying to solve.
validations:
required: true

- type: textarea
id: solution
attributes:
label: Solution you'd like
description: >
A clear and concise description of what you want to happen.
validations:
required: true

- type: textarea
id: notes
attributes:
label: Notes
description: >
Any additional context or information you feel may be relevant to the issue.
55 changes: 0 additions & 55 deletions .github/ISSUE_TEMPLATE/wsl_panic.md

This file was deleted.

89 changes: 89 additions & 0 deletions .github/ISSUE_TEMPLATE/wsl_panic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
name: I am experiencing a panic on WSL
description: Report a panic when using Rustup on WSL
labels: [bug]
body:
- type: markdown
attributes:
value: >
Please read the following very carefully and decide if you
actually need to file this bug...
WSL, specifically WSL 1, has a limitation where glibc 2.31 and
newer will panic, fundamentally the panic will look something
like the following:
thread 'main' panicked at 'assertion failed: `(left == right)`
left: `22`,
right: `4`', src/libstd/sys/unix/thread.rs:166:21
This is a bug, but it's a bug in WSL, not in Rust/Rustup and will
affect other programs built with Rust too. Working around it
with Rustup will not help you until WSL (or glibc) is fixed.
This is known to affect:
* Ubuntu 20.04
* Arch Linux
But it may affect other versions of Linux on WSL1.
You can find more information on the WSL bug report
[here](https://github.com/microsoft/WSL/issues/4898).
If you're CERTAIN that you're not reporting yet another duplicate
of the above issue, then...
**Thanks for filing a 🐛 bug report 😄!**
- type: textarea
id: problem
attributes:
label: Problem
description: >
A clear and concise description of what the bug is,
including what currently happens and what you expected to happen.
validations:
required: true

- type: textarea
id: steps
attributes:
label: Steps
description: The steps to reproduce the bug.
placeholder: |
1.
2.
3.
validations:
required: true

- type: textarea
id: solutions
attributes:
label: Possible Solution(s)
description: >
Not obligatory, but suggest a fix/reason for the bug,
or ideas how to implement the addition or change.
- type: textarea
id: notes
attributes:
label: Notes

- type: textarea
id: version
attributes:
label: Rustup version
description: Output of `rustup --version`
render: console
validations:
required: true

- type: textarea
id: toolchains
attributes:
label: Installed toolchains
description: Output of `rustup show`
render: console
validations:
required: true

0 comments on commit dda6e5a

Please sign in to comment.