Skip to content

Commit 64d5004

Browse files
authored
Merge pull request #626 from ahoppen/pr/parser-issue-template
Improve bug filing workflow
2 parents f9fab58 + 20bc4da commit 64d5004

File tree

6 files changed

+68
-78
lines changed

6 files changed

+68
-78
lines changed

.github/ISSUE_TEMPLATE/BUG_REPORT.md

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

.github/ISSUE_TEMPLATE/BUG_REPORT.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Bug Report
2+
description: Something isn't working as expected
3+
labels: [bug]
4+
body:
5+
- type: textarea
6+
id: description
7+
attributes:
8+
label: Description
9+
description: |
10+
A short description of the incorrect behavior.
11+
If you think this issue has been recently introduced and did not occur in an
12+
earlier version, please note that. If possible, include the last version that
13+
the behavior was correct in addition to your current version.
14+
- type: textarea
15+
id: steps-to-reproduce
16+
attributes:
17+
label: Steps to Reproduce
18+
description: Replace this paragraph with an explanation of how to reproduce the incorrect behavior.

.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md

Lines changed: 0 additions & 34 deletions
This file was deleted.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Feature Request
2+
description: A suggestion for a new feature
3+
labels: [enhancement]
4+
body:
5+
- type: textarea
6+
id: description
7+
attributes:
8+
label: Description
9+
description: |
10+
A description of your proposed feature.
11+
Examples that show what's missing, or what new capabilities will be possible, are very helpful!
12+
If this feature unlocks new use-cases please describe them.
13+
Provide links to existing issues or external references/discussions, if appropriate.

.github/ISSUE_TEMPLATE/PARSER_BUG.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: SwiftParser Bug
2+
description: A bug in the new Swift parser
3+
labels: [bug, SwiftParser]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: Thanks for taking the time to fill out this bug report! If you could take the time to reduce the issue as described in [FilingBugReports.md](https://github.com/apple/swift-syntax/blob/main/Sources/SwiftParser/SwiftParser.docc/FilingBugReports.md), we would really appreciate that.
8+
- type: dropdown
9+
id: issue-type
10+
attributes:
11+
label: Issue Kind
12+
description: What kind of issue is this? See [FilingBugReports.md](https://github.com/apple/swift-syntax/blob/main/Sources/SwiftParser/SwiftParser.docc/FilingBugReports.md) for more details.
13+
options:
14+
- Round-Trip Failure
15+
- Parser Crash
16+
- Parse of Valid Source Failed
17+
- Parse of Valid Source Produced Invalid Syntax Tree
18+
- Bad Diagnostic Produced
19+
- Other
20+
- I Don’t Know
21+
- type: textarea
22+
id: source
23+
attributes:
24+
label: Source Code
25+
description: The source code that, when fed into the parser, produces the bug.
26+
value: |
27+
```swift
28+
```
29+
- type: textarea
30+
id: description
31+
attributes:
32+
label: Description
33+
description: |
34+
Any additional information you can provide for this issue, like
35+
- What did you expect to happen?
36+
- Has this issue started occurring recently?
37+
- If it’s a crash, the stack trace.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@
66
# See https://swift.org/LICENSE.txt for license information
77
# See https://swift.org/CONTRIBUTORS.txt for Swift project authors
88

9-
# This is set to `false` to encourage users to use the provided templates instead
10-
# of beginning with a blank one.
11-
#
12-
# For details, see: https://docs.github.com/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#configuring-the-template-chooser
13-
blank_issues_enabled: false
14-
159
contact_links:
1610
- name: Discussion Forum
1711
url: https://forums.swift.org/tags/c/development/tooling/39/swift-syntax

0 commit comments

Comments
 (0)