forked from rust-lang/rust
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of rust-lang#8032 - flip1995:new_templates, r=camsteffen
Use new template forms for issue templates GitHub has a new way to define issue templates. This gives an even more consistent formatting of our issues. You can find (read-only) rendered versions [here](https://github.com/flip1995/rust-clippy/tree/new_templates/.github/ISSUE_TEMPLATE). If you want to try to fill out this kind of issue, you can do this in the [`cargo` Repo](https://github.com/rust-lang/cargo/issues/new/choose). changelog: Better issue templates
- Loading branch information
Showing
12 changed files
with
338 additions
and
228 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Blank Issue | ||
description: Create a blank issue. | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: Thank you for filing an issue! | ||
- type: textarea | ||
id: problem | ||
attributes: | ||
label: Description | ||
description: > | ||
Please provide a discription of the issue, along with any information | ||
you feel relevant to replicate it. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: version | ||
attributes: | ||
label: Version | ||
description: "Rust version (`rustc -Vv`)" | ||
placeholder: | | ||
rustc 1.46.0-nightly (f455e46ea 2020-06-20) | ||
binary: rustc | ||
commit-hash: f455e46eae1a227d735091091144601b467e1565 | ||
commit-date: 2020-06-20 | ||
host: x86_64-unknown-linux-gnu | ||
release: 1.46.0-nightly | ||
LLVM version: 10.0 | ||
render: text | ||
- type: textarea | ||
id: labels | ||
attributes: | ||
label: Additional Labels | ||
description: > | ||
Additional labels can be added to this issue by including the following | ||
command | ||
placeholder: | | ||
@rustbot label +<label> | ||
Common labels for this issue type are: | ||
* C-an-interesting-project | ||
* C-enhancement | ||
* C-question | ||
* C-tracking-issue |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: Bug Report | ||
description: Create a bug report for Clippy | ||
labels: ["C-bug"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: Thank you for filing a bug report! 🐛 | ||
- type: textarea | ||
id: problem | ||
attributes: | ||
label: Summary | ||
description: > | ||
Please provide a short summary of the bug, along with any information | ||
you feel relevant to replicate the bug. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: reproducer | ||
attributes: | ||
label: Reproducer | ||
description: Please provide the code and steps to repoduce the bug | ||
value: | | ||
I tried this code: | ||
```rust | ||
<code> | ||
``` | ||
I expected to see this happen: | ||
Instead, this happened: | ||
- type: textarea | ||
id: version | ||
attributes: | ||
label: Version | ||
description: "Rust version (`rustc -Vv`)" | ||
placeholder: | | ||
rustc 1.46.0-nightly (f455e46ea 2020-06-20) | ||
binary: rustc | ||
commit-hash: f455e46eae1a227d735091091144601b467e1565 | ||
commit-date: 2020-06-20 | ||
host: x86_64-unknown-linux-gnu | ||
release: 1.46.0-nightly | ||
LLVM version: 10.0 | ||
render: text | ||
- type: textarea | ||
id: labels | ||
attributes: | ||
label: Additional Labels | ||
description: > | ||
Additional labels can be added to this issue by including the following | ||
command | ||
placeholder: | | ||
@rustbot label +<label> | ||
Common labels for this issue type are: | ||
* `I-suggestion-causes-error` |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Bug Report (False Negative) | ||
description: Create a bug report about missing warnings from a lint | ||
labels: ["C-bug", "I-false-negative"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: Thank you for filing a bug report! 🐛 | ||
- type: textarea | ||
id: problem | ||
attributes: | ||
label: Summary | ||
description: > | ||
Please provide a short summary of the bug, along with any information | ||
you feel relevant to replicate the bug. | ||
validations: | ||
required: true | ||
- type: input | ||
id: lint-name | ||
attributes: | ||
label: Lint Name | ||
description: Please provide the lint name. | ||
- type: textarea | ||
id: reproducer | ||
attributes: | ||
label: Reproducer | ||
description: Please provide the code and steps to repoduce the bug | ||
value: | | ||
I tried this code: | ||
```rust | ||
<code> | ||
``` | ||
I expected to see this happen: | ||
Instead, this happened: | ||
- type: textarea | ||
id: version | ||
attributes: | ||
label: Version | ||
description: "Rust version (`rustc -Vv`)" | ||
placeholder: | | ||
rustc 1.46.0-nightly (f455e46ea 2020-06-20) | ||
binary: rustc | ||
commit-hash: f455e46eae1a227d735091091144601b467e1565 | ||
commit-date: 2020-06-20 | ||
host: x86_64-unknown-linux-gnu | ||
release: 1.46.0-nightly | ||
LLVM version: 10.0 | ||
render: text |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
name: Bug Report (False Positive) | ||
description: Create a bug report about a wrongly emitted lint warning | ||
labels: ["C-bug", "I-false-positive"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: Thank you for filing a bug report! 🐛 | ||
- type: textarea | ||
id: problem | ||
attributes: | ||
label: Summary | ||
description: > | ||
Please provide a short summary of the bug, along with any information | ||
you feel relevant to replicate the bug. | ||
validations: | ||
required: true | ||
- type: input | ||
id: lint-name | ||
attributes: | ||
label: Lint Name | ||
description: Please provide the lint name. | ||
- type: textarea | ||
id: reproducer | ||
attributes: | ||
label: Reproducer | ||
description: > | ||
Please provide the code and steps to repoduce the bug together with the | ||
output from Clippy. | ||
value: | | ||
I tried this code: | ||
```rust | ||
<code> | ||
``` | ||
I saw this happen: | ||
``` | ||
<output> | ||
``` | ||
I expected to see this happen: | ||
- type: textarea | ||
id: version | ||
attributes: | ||
label: Version | ||
description: "Rust version (`rustc -Vv`)" | ||
placeholder: | | ||
rustc 1.46.0-nightly (f455e46ea 2020-06-20) | ||
binary: rustc | ||
commit-hash: f455e46eae1a227d735091091144601b467e1565 | ||
commit-date: 2020-06-20 | ||
host: x86_64-unknown-linux-gnu | ||
release: 1.46.0-nightly | ||
LLVM version: 10.0 | ||
render: text | ||
- type: textarea | ||
id: labels | ||
attributes: | ||
label: Additional Labels | ||
description: > | ||
Additional labels can be added to this issue by including the following | ||
command | ||
placeholder: | | ||
@rustbot label +<label> | ||
Common labels for this issue type are: | ||
* `I-suggestion-causes-error` |
Oops, something went wrong.