Skip to content

Improve bug filing workflow #626

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 0 additions & 38 deletions .github/ISSUE_TEMPLATE/BUG_REPORT.md

This file was deleted.

18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/BUG_REPORT.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Bug Report
description: Something isn't working as expected
labels: [bug]
body:
- type: textarea
id: description
attributes:
label: Description
description: |
A short description of the incorrect behavior.
If you think this issue has been recently introduced and did not occur in an
earlier version, please note that. If possible, include the last version that
the behavior was correct in addition to your current version.
- type: textarea
id: steps-to-reproduce
attributes:
label: Steps to Reproduce
description: Replace this paragraph with an explanation of how to reproduce the incorrect behavior.
34 changes: 0 additions & 34 deletions .github/ISSUE_TEMPLATE/FEATURE_REQUEST.md

This file was deleted.

13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/FEATURE_REQUEST.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Feature Request
description: A suggestion for a new feature
labels: [enhancement]
body:
- type: textarea
id: description
attributes:
label: Description
description: |
A description of your proposed feature.
Examples that show what's missing, or what new capabilities will be possible, are very helpful!
If this feature unlocks new use-cases please describe them.
Provide links to existing issues or external references/discussions, if appropriate.
37 changes: 37 additions & 0 deletions .github/ISSUE_TEMPLATE/PARSER_BUG.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: SwiftParser Bug
description: A bug in the new Swift parser
labels: [bug, SwiftParser]
body:
- type: markdown
attributes:
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.
- type: dropdown
id: issue-type
attributes:
label: Issue Kind
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.
options:
- Round-Trip Failure
- Parser Crash
- Parse of Valid Source Failed
- Parse of Valid Source Produced Invalid Syntax Tree
- Bad Diagnostic Produced
- Other
- I Don’t Know
- type: textarea
id: source
attributes:
label: Source Code
description: The source code that, when fed into the parser, produces the bug.
value: |
```swift
```
- type: textarea
id: description
attributes:
label: Description
description: |
Any additional information you can provide for this issue, like
- What did you expect to happen?
- Has this issue started occurring recently?
- If it’s a crash, the stack trace.
6 changes: 0 additions & 6 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@
# See https://swift.org/LICENSE.txt for license information
# See https://swift.org/CONTRIBUTORS.txt for Swift project authors

# This is set to `false` to encourage users to use the provided templates instead
# of beginning with a blank one.
#
# 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
blank_issues_enabled: false

contact_links:
- name: Discussion Forum
url: https://forums.swift.org/tags/c/development/tooling/39/swift-syntax
Expand Down