1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Update bug_report.yml

This commit is contained in:
John R Barker 2021-02-01 18:41:44 +00:00 committed by GitHub
parent 1591d52b78
commit 165719d084
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,116 +1,96 @@
name: Bug Report
about: Create a report to help us improve
body:
- id: help
type: TextBlock
isSubtle: true # Not implemented, just wanted a way to make it stand out
color: good
inputs:
- type: description
attributes:
preview_only: true
text: |
Verify first that your issue is not already reported on [GitHub](https://github.com/ansible-collections/community.general/labels/bug)
Also test if the latest release and devel branch are affected too
Complete *all* sections as described, this form is processed automatically
- id: summary
type: Input.Text
isMultiline: true
isRequired: true
size: small
- type: textarea
attributes:
label: SUMMARY
placeholder: 'Explain the problem briefly below'
description: 'Explain the problem briefly below'
required: true
- type: textarea
attributes:
label: SUMMARY
description: 'Explain the problem briefly below'
required: true
- id: issue type
type: Input.ChoiceSet
isMultiSelect: false
isRequired: true
style: compact
size: large
label: ISSUE TYPE
value: Bug Report
- type: dropdown
attributes:
choices:
- title: Bug Report
value: Bug Report
- Bug Report
required: true
- id: component name
type: Input.ChoiceSet
isMultiSelect: true
isRequired: true
style: compact
size: large
label: COMPONENT NAME
#value: Bug Report
choices:
- type: textarea
attributes:
# For smaller collections we could use a multi-select and hardcode the list
#May generate this list via GitHub action and walking files under https://github.com/ansible-collections/community.general/tree/main/plugins
# Select from list, filter as you type (`mysql` would only show the 3 mysql components)
# OR freeform - doesn't seem to be supported in adaptivecards
# BUG: Multiselect only adds last item to issue
- title: mysql_user
value: mysql_user
- title: mysql_database
value: mysql_database
- title: mysql_connection
value: mysql_connection
- title: postgres_user
value: postgres_user
- id: ansible version
type: Input.Text
isMultiline: true
size: large
label: COMPONENT NAME
description: 'List the component, ie `template`, `mysql_users`
required: true
- type: textarea
attributes:
label: ANSIBLE VERSION
required: false
description: |
If this issue has an example piece of YAML that can help to reproduce this problem, please provide it.
This can be a piece of YAML from, e.g., an automation, script, scene or configuration.
value: |
<!--- Paste verbatim output from "ansible-config dump --only-changed" between quotes -->
<!--- Paste verbatim output from "ansible --version" between quotes -->
```paste below
```
- id: configuration
type: Input.Text
isMultiline: true
size: large
- type: textarea
attributes:
label: CONFIGURATION
required: false
description: |
If this issue has an example piece of YAML that can help to reproduce this problem, please provide it.
This can be a piece of YAML from, e.g., an automation, script, scene or configuration.
value: |
<!--- Paste verbatim output from "ansible-config dump --only-changed" between quotes -->
```paste below
```
- id: configuration
type: Input.Text
isMultiline: true
size: large
- type: textarea
attributes:
label: OS / ENVIRONMENT
placeholder: Provide all relevant information below, e.g. target OS versions, network device firmware, etc
description: 'Provide all relevant information below, e.g. target OS versions, network device firmware, etc'
required: false
- id: steps to repo
type: Input.Text
isMultiline: true
size: large
label: STEPS TO REPRODUCE
- type: textarea
attributes:
label: STEPS TO REPRO
description: 'Describe exactly how to reproduce the problem, using a minimal test-case'
required: false
value: |
<!--- Describe exactly how to reproduce the problem, using a minimal test-case -->
<!--- Paste example playbooks or commands between quotes below -->
```yaml
<!--- Paste verbatim output from "ansible-config dump --only-changed" between quotes -->
```paste below
```
- id: expected
type: Input.Text
isMultiline: true
size: large
- type: textarea
attributes:
label: EXPECTED RESULTS
placeholder: Describe what you expected to happen when running the steps above
description: 'Describe what you expected to happen when running the steps above'
required: false
- id: actual results
type: Input.Text
isMultiline: true
size: large
- type: textarea
attributes:
label: ACTUAL RESULTS
description: 'Describe what actually happened. If possible run with extra verbosity (-vvvv)'
required: false
value: |
<!--- Describe what actually happened. If possible run with extra verbosity (-vvvv) -->
<!--- Paste verbatim command output between quotes -->
```
<!--- Paste verbatim command output between -->
```paste below
```