Skip to content

Commit f4487f5

Browse files
mdesmethashhar
authored andcommitted
Add form based GitHub issue flow
1 parent 88ad0bc commit f4487f5

File tree

3 files changed

+114
-0
lines changed

3 files changed

+114
-0
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

+75
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
---
2+
name: Bug report
3+
description: Report a bug or an issue you've found with Trino Python client
4+
labels: bug
5+
body:
6+
- type: textarea
7+
attributes:
8+
label: Expected behavior
9+
description: What do you think should have happened
10+
placeholder: >
11+
A clear and concise description of what you expected to happen.
12+
validations:
13+
required: true
14+
- type: textarea
15+
attributes:
16+
label: Actual behavior
17+
description: Describe what actually happened
18+
placeholder: >
19+
A clear and concise description of what actually happened.
20+
validations:
21+
required: true
22+
- type: textarea
23+
attributes:
24+
label: Steps To Reproduce
25+
description: This will help us reproduce your issue
26+
placeholder: >
27+
In as much detail as possible, please provide steps to reproduce the issue.
28+
Sample code that triggers the issue, relevant server settings, etc is all very helpful here.
29+
validations:
30+
required: true
31+
- type: textarea
32+
attributes:
33+
label: Log output
34+
description: What do you think went wrong?
35+
placeholder: >
36+
If applicable, add log output to help explain your problem.
37+
- type: input
38+
attributes:
39+
label: Operating System
40+
description: What Operating System are you using?
41+
placeholder: "You can get it via `cat /etc/os-release` for example"
42+
validations:
43+
required: true
44+
- type: input
45+
attributes:
46+
label: Trino Python client version
47+
description: Which version of Trino Python client are you using?
48+
placeholder: "Execute `python3 -c 'import trino; print(trino.__version__)'`"
49+
validations:
50+
required: true
51+
- type: input
52+
attributes:
53+
label: Trino Server version
54+
description: Which Trino server version are you using?
55+
placeholder: "Run `SELECT VERSION();` on your Trino server"
56+
validations:
57+
required: true
58+
- type: input
59+
attributes:
60+
label: Python version
61+
description: What Python version are you using?
62+
placeholder: "You can get it via executing `python --version`"
63+
validations:
64+
required: true
65+
- type: checkboxes
66+
attributes:
67+
label: Are you willing to submit PR?
68+
description: >
69+
This is absolutely not required, but we are happy to guide you in the contribution process
70+
especially if you already have a good understanding of how to implement the feature.
71+
options:
72+
- label: Yes I am willing to submit a PR!
73+
- type: markdown
74+
attributes:
75+
value: "Thanks for completing our form!"

.github/ISSUE_TEMPLATE/config.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
contact_links:
3+
- name: Ask a question or get help right here
4+
url: https://github.com/trinodb/trino-python-client/discussions
5+
about: Ask a question or get help here on Github Discussions
6+
- name: Ask a question or get help on Slack
7+
url: https://trinodb.slack.com/channels/python-client
8+
about: The Trino community is very active and helpful on Slack, with users and developers from all around the world.
+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
name: Feature request
3+
description: Suggest an idea for Trino Python client
4+
labels: enhancement
5+
body:
6+
- type: textarea
7+
attributes:
8+
label: Describe the feature
9+
description: What would you like to happen?
10+
placeholder: >
11+
A clear and concise description of what you want to happen
12+
and what problem it would solve.
13+
validations:
14+
required: true
15+
- type: textarea
16+
attributes:
17+
label: Describe alternatives you've considered
18+
description: What did you try to make it happen?
19+
placeholder: >
20+
A clear and concise description of any alternative solutions or features you've considered.
21+
- type: checkboxes
22+
attributes:
23+
label: Are you willing to submit PR?
24+
description: >
25+
This is absolutely not required, but we are happy to guide you in the contribution process
26+
especially if you already have a good understanding of how to implement the feature.
27+
options:
28+
- label: Yes I am willing to submit a PR!
29+
- type: markdown
30+
attributes:
31+
value: "Thanks for completing our form!"

0 commit comments

Comments
 (0)