Skip to content

Commit 456f253

Browse files
committed
Migrate GitHub issue templates to issue forms
1 parent 59de864 commit 456f253

File tree

6 files changed

+141
-97
lines changed

6 files changed

+141
-97
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 26 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Bug report
2+
description: Create a report to help us improve
3+
labels: [bug]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for filing a 🐛 bug report 😄!
9+
10+
- type: textarea
11+
attributes:
12+
label: Problem
13+
description: |
14+
A clear and concise description of what the bug is,
15+
including what currently happens and what you expected to happen.
16+
17+
- type: textarea
18+
attributes:
19+
label: Steps
20+
description: The steps to reproduce the bug.
21+
placeholder: |
22+
1.
23+
2.
24+
3.
25+
26+
- type: textarea
27+
attributes:
28+
label: Possible Solution(s)
29+
description: |
30+
Not obligatory, but suggest a fix/reason for the bug,
31+
or ideas how to implement the addition or change.
32+
33+
- type: textarea
34+
attributes:
35+
label: Notes
36+
37+
- type: textarea
38+
attributes:
39+
label: Output of `rustup --version`
40+
41+
- type: textarea
42+
attributes:
43+
label: Output of `rustup show`

.github/ISSUE_TEMPLATE/enhancement_request.md

Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Enhancement request
2+
description: Suggest an enhancement for this project
3+
labels: [enhancement]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for filing an 🙋 enhancement request 😄!
9+
10+
- type: textarea
11+
attributes:
12+
label: Problem you are trying to solve
13+
description: |
14+
A clear and concise description of the problem this enhancement request is trying to solve.
15+
16+
- type: textarea
17+
attributes:
18+
label: Solution you'd like
19+
description: |
20+
A clear and concise description of what you want to happen.
21+
22+
- type: textarea
23+
attributes:
24+
label: Notes
25+
description: |
26+
Any additional context or information you feel may be relevant to the issue.

.github/ISSUE_TEMPLATE/wsl_panic.md

Lines changed: 0 additions & 55 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/wsl_panic.yml

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
name: I am experiencing a panic on WSL
2+
description: Report a panic when using Rustup on WSL
3+
labels: [bug]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Please read the following very carefully and decide if you
9+
actually need to file this bug...
10+
11+
WSL, specifically WSL 1, has a limitation where glibc 2.31 and
12+
newer will panic, fundamentally the panic will look something
13+
like the following:
14+
15+
thread 'main' panicked at 'assertion failed: `(left == right)`
16+
left: `22`,
17+
right: `4`', src/libstd/sys/unix/thread.rs:166:21
18+
19+
This is a bug, but it's a bug in WSL, not in Rust/Rustup and will
20+
affect other programs built with Rust too. Working around it
21+
with Rustup will not help you until WSL (or glibc) is fixed.
22+
23+
This is known to affect:
24+
25+
* Ubuntu 20.04
26+
* Arch Linux
27+
28+
But it may affect other versions of Linux on WSL1.
29+
30+
You can find more information on the WSL bug report here:
31+
32+
https://github.com/microsoft/WSL/issues/4898
33+
34+
If you're CERTAIN that you're not reporting yet another duplicate
35+
of the above issue, then...
36+
37+
Thanks for filing a 🐛 bug report 😄!
38+
39+
- type: textarea
40+
attributes:
41+
label: Problem
42+
description: |
43+
A clear and concise description of what the bug is,
44+
including what currently happens and what you expected to happen.
45+
46+
- type: textarea
47+
attributes:
48+
label: Steps
49+
description: The steps to reproduce the bug.
50+
placeholder: |
51+
1.
52+
2.
53+
3.
54+
55+
- type: textarea
56+
attributes:
57+
label: Possible Solution(s)
58+
description: |
59+
Not obligatory, but suggest a fix/reason for the bug,
60+
or ideas how to implement the addition or change.
61+
62+
- type: textarea
63+
attributes:
64+
label: Notes
65+
66+
- type: textarea
67+
attributes:
68+
label: Output of `rustup --version`
69+
70+
- type: textarea
71+
attributes:
72+
label: Output of `rustup show`

0 commit comments

Comments
 (0)