Update issue template to use YAML

This commit is contained in:
Sol Fisher Romanoff 2022-12-08 18:07:24 +02:00
parent 104d8dcc1f
commit 9ecadd20f2
Signed by: nbsp
GPG Key ID: 9D3F2B64F2341B62
2 changed files with 79 additions and 27 deletions

View File

@ -1,27 +0,0 @@
---
name: "Issue"
about: "Something isn't working as expected"
---
## Your setup
[] OTP
[] From Source
[] Distro:
[] Docker (what setup?)
Postgres version:
## What were you trying to do?
## What did you expect to happen?
## What actually happened?
## Relative severity (does this prevent you from using the software as normal?)
[] I cannot use the software
[] I cannot use it as easily as I'd like
[] I can manage

79
ISSUE_TEMPLATE.yml Normal file
View File

@ -0,0 +1,79 @@
name: "Issue"
about: "Something isn't working as expected"
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to file this report! Please try to be as specific and detailed as you can, so we can track down the issue and fix it as soon as possible.
# General information
- type: dropdown
id: installation
attributes:
label: "Your setup"
description: "What sort of installation are you using?"
options:
- "OTP"
- "From source"
- "Docker"
validations:
required: true
- type: input
id: setup-details
attributes:
label: "Extra details"
description: "If installing from source or docker, please specify your distro or docker setup."
placeholder: "e.g. Alpine Linux edge"
- type: input
id: postgres
attributes:
label: "PostgreSQL version"
placeholder: "14"
validations:
required: true
- type: markdown
attributes:
value: "# The issue"
- type: textarea
id: attempt
attributes:
label: "What were you trying to do?"
validations:
required: true
- type: textarea
id: expectation
attributes:
label: "What did you expect to happen?"
validations:
required: true
- type: textarea
id: reality
attributes:
label: "What actually happened?"
validations:
required: true
- type: textarea
id: logs
attributes:
label: "Logs"
description: "Please copy and paste any relevant log output, if applicable."
render: shell
- type: dropdown
id: severity
attributes:
label: "Severity"
description: "Does this issue prevent you from using the software as normal?"
options:
- "I cannot use the software"
- "I cannot use it as easily as I'd like"
- "I can manage"
validations:
required: true
- type: checkboxes
id: searched
attributes:
label: "Have you searched for this issue?"
description: "Please double-check that your issue is not already being tracked on [the forums](https://meta.akkoma.dev) or [the issue tracker](https://akkoma.dev/AkkomaGang/akkoma/issues)."
options:
- label: "I have double-checked and have not found this issue mentioned anywhere."
required: true