Skip to content
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

doc: Update bug report issue template with new YAML format #4793

Merged
merged 6 commits into from
Jul 11, 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
36 changes: 0 additions & 36 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

83 changes: 83 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
name: Bug Report
description: File a bug report
title: "[Bug]: "
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: textarea
id: bug-description
attributes:
label: Describe the bug
description: Provide a general description of the bug, in plain text. Use the dedicated fields below for code snippets.
placeholder: Description of the bug
validations:
required: true
- type: textarea
id: java-input
attributes:
label: Source code you are trying to analyze/transform
description: Provide a minimal example of source code you are trying to analyze/transform that causes the bug to appear. This will be automatically formatted, so no need for backticks.
placeholder: System.out.println("Hello, world!");
render: Java
validations:
required: false
- type: textarea
id: spoon-code
attributes:
label: Source code for your Spoon processing
description: Provide your processing code that uses Spoon and causes the bug to appear. This will be automatically formatted, so no need for backticks.
placeholder: Launcher launcher = new Launcher();
render: Java
validations:
required: false
- type: textarea
id: output
attributes:
label: Actual output
description: The output that spoon provides, or a stacktrace if it crashes. This will be automatically formatted, so no need for backticks.
placeholder: System.out.println("Hello, world!");
render: Java
validations:
required: false
- type: textarea
id: expected-output
attributes:
label: Expected output
description: If you know what kind of output you expect to get, please provide it here. This will be automatically formatted, so no need for backticks.
placeholder: System.out.println("Hello, world!");
render: Java
validations:
required: false
- type: textarea
id: version
attributes:
label: Spoon Version
slarse marked this conversation as resolved.
Show resolved Hide resolved
description: What version of Spoon are you using? Please note that we only actively support the latest major release. If you are using an older major version, your issue may be closed as non-actionable.
placeholder: X.Y.Z
validations:
required: true
- type: dropdown
id: jvm-version
attributes:
label: JVM Version
description: Which JVM version are you running Spoon with? Note that Spoon is built for Java 11+, and we cannot maintain support for older versions.
options:
- "11"
- "12"
- "13"
- "14"
- "15"
- "16"
- "17"
- "18"
validations:
required: true
- type: textarea
id: os
attributes:
label: What operating system are you using?
validations:
required: true