Skip to content

Commit dda6e5a

Browse files
authored
Merge pull request #2888 from noritada/features/issue-forms
Migration of GitHub issue templates to issue forms
2 parents 18b912a + 5fe8d75 commit dda6e5a

File tree

6 files changed

+183
-97
lines changed

6 files changed

+183
-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: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
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+
id: problem
12+
attributes:
13+
label: Problem
14+
description: >
15+
A clear and concise description of what the bug is,
16+
including what currently happens and what you expected to happen.
17+
validations:
18+
required: true
19+
20+
- type: textarea
21+
id: steps
22+
attributes:
23+
label: Steps
24+
description: The steps to reproduce the bug.
25+
placeholder: |
26+
1.
27+
2.
28+
3.
29+
validations:
30+
required: true
31+
32+
- type: textarea
33+
id: solutions
34+
attributes:
35+
label: Possible Solution(s)
36+
description: >
37+
Not obligatory, but suggest a fix/reason for the bug,
38+
or ideas how to implement the addition or change.
39+
40+
- type: textarea
41+
id: notes
42+
attributes:
43+
label: Notes
44+
45+
- type: textarea
46+
id: version
47+
attributes:
48+
label: Rustup version
49+
description: Output of `rustup --version`
50+
render: console
51+
validations:
52+
required: true
53+
54+
- type: textarea
55+
id: toolchains
56+
attributes:
57+
label: Installed toolchains
58+
description: Output of `rustup show`
59+
render: console
60+
validations:
61+
required: true

.github/ISSUE_TEMPLATE/enhancement_request.md

Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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+
id: problem
12+
attributes:
13+
label: Problem you are trying to solve
14+
description: >
15+
A clear and concise description of the problem this enhancement request is trying to solve.
16+
validations:
17+
required: true
18+
19+
- type: textarea
20+
id: solution
21+
attributes:
22+
label: Solution you'd like
23+
description: >
24+
A clear and concise description of what you want to happen.
25+
validations:
26+
required: true
27+
28+
- type: textarea
29+
id: notes
30+
attributes:
31+
label: Notes
32+
description: >
33+
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: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
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
31+
[here](https://github.com/microsoft/WSL/issues/4898).
32+
33+
If you're CERTAIN that you're not reporting yet another duplicate
34+
of the above issue, then...
35+
36+
**Thanks for filing a 🐛 bug report 😄!**
37+
38+
- type: textarea
39+
id: problem
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+
validations:
46+
required: true
47+
48+
- type: textarea
49+
id: steps
50+
attributes:
51+
label: Steps
52+
description: The steps to reproduce the bug.
53+
placeholder: |
54+
1.
55+
2.
56+
3.
57+
validations:
58+
required: true
59+
60+
- type: textarea
61+
id: solutions
62+
attributes:
63+
label: Possible Solution(s)
64+
description: >
65+
Not obligatory, but suggest a fix/reason for the bug,
66+
or ideas how to implement the addition or change.
67+
68+
- type: textarea
69+
id: notes
70+
attributes:
71+
label: Notes
72+
73+
- type: textarea
74+
id: version
75+
attributes:
76+
label: Rustup version
77+
description: Output of `rustup --version`
78+
render: console
79+
validations:
80+
required: true
81+
82+
- type: textarea
83+
id: toolchains
84+
attributes:
85+
label: Installed toolchains
86+
description: Output of `rustup show`
87+
render: console
88+
validations:
89+
required: true

0 commit comments

Comments
 (0)