Skip to content

Commit

Permalink
Improve Github issue forms
Browse files Browse the repository at this point in the history
  • Loading branch information
mdesmet committed Aug 19, 2022
1 parent 88ad0bc commit b75273e
Show file tree
Hide file tree
Showing 3 changed files with 114 additions and 0 deletions.
75 changes: 75 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
---
name: Bug report
description: Report a bug or an issue you've found with Trino Python client
labels: bug
body:
- type: textarea
attributes:
label: Expected behavior
description: What do you think should have happened
placeholder: >
A clear and concise description of what you expected to happen.
validations:
required: true
- type: textarea
attributes:
label: Actual behavior
description: Describe what actually happened
placeholder: >
A clear and concise description of what actually happened.
validations:
required: true
- type: textarea
attributes:
label: Steps To Reproduce
description: This will help us reproduce your issue
placeholder: >
In as much detail as possible, please provide steps to reproduce the issue.
Sample code that triggers the issue, relevant server settings, etc is all very helpful here.
validations:
required: true
- type: textarea
attributes:
label: Screenshots and log output
description: What do you think went wrong?
placeholder: >
If applicable, add screenshots or log output to help explain your problem.
- type: input
attributes:
label: Operating System
description: What Operating System are you using?
placeholder: "You can get it via `cat /etc/os-release` for example"
validations:
required: true
- type: input
attributes:
label: Trino Python client version
description: Which version of Trino Python client are you using?
placeholder: "Execute `import trino; print(trino.__version__)`"
validations:
required: true
- type: input
attributes:
label: Trino Server version
description: Which Trino server version are you using?
placeholder: "Execute `SELECT VERSION();` on your Trino server"
validations:
required: true
- type: input
attributes:
label: Python version
description: What Python version are you using?
placeholder: "You can get it via executing `python --version`"
validations:
required: true
- type: checkboxes
attributes:
label: Are you willing to submit PR?
description: >
This is absolutely not required, but we are happy to guide you in the contribution process
especially if you already have a good understanding of how to implement the feature.
options:
- label: Yes I am willing to submit a PR!
- type: markdown
attributes:
value: "Thanks for completing our form!"
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
contact_links:
- name: Ask a question or get support right here
url: https://github.com/trinodb/trino-python-client/discussions
about: Ask a question or request support here on Github Discussions
- name: Ask a question or get support on Slack
url: https://trinodb.slack.com/channels/python-client
about: The Trino community is very active and helpful on Slack, with users and developers from all around the world.
31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: Feature request
description: Suggest an idea for Trino Python client
labels: enhancement
body:
- type: textarea
attributes:
label: Describe the feature
description: What would you like to happen?
placeholder: >
A clear and concise description of what you want to happen
and what problem it would solve.
validations:
required: true
- type: textarea
attributes:
label: Describe alternatives you've considered
description: What did you try to make it happen?
placeholder: >
A clear and concise description of any alternative solutions or features you've considered.
- type: checkboxes
attributes:
label: Are you willing to submit PR?
description: >
This is absolutely not required, but we are happy to guide you in the contribution process
especially if you already have a good understanding of how to implement the feature.
options:
- label: Yes I am willing to submit a PR!
- type: markdown
attributes:
value: "Thanks for completing our form!"

0 comments on commit b75273e

Please sign in to comment.