community: add bug report issue template with language dropdown

Swadhin Biswas committed 7 months ago
c2ff106
1 parent e4fe57b
commit c2ff106
1 file changed
+110 -0
Showing 1 changed file+110-0
▼.github/ISSUE_TEMPLATE/bug_report.yml
+110-0
1
+name: Bug Report
2
+description: Report a bug in contexa
3
+title: "[Bug]: "
4
+labels: ["bug"]
5
+body:
6
+ - type: markdown
7
+ attributes:
8
+ value: |
9
+ Thanks for taking the time to report a bug. Please fill out the form below to help us diagnose and fix the issue.
10
+
11
+ - type: dropdown
12
+ id: language
13
+ attributes:
14
+ label: Language / Package
15
+ description: Which language implementation is affected?
16
+ options:
17
+ - Python (PyPI)
18
+ - JavaScript / TypeScript (npm)
19
+ - Rust (crates.io)
20
+ - Go (pkg.go.dev)
21
+ - Zig
22
+ - Lua (LuaRocks)
23
+ - Elixir (Hex.pm)
24
+ - Multiple / All
25
+ validations:
26
+ required: true
27
+
28
+ - type: input
29
+ id: version
30
+ attributes:
31
+ label: Package Version
32
+ description: "Which version of contexa are you using? (e.g. 0.1.1)"
33
+ placeholder: "0.1.1"
34
+ validations:
35
+ required: true
36
+
37
+ - type: dropdown
38
+ id: os
39
+ attributes:
40
+ label: Operating System
41
+ options:
42
+ - Linux
43
+ - macOS
44
+ - Windows
45
+ - Other
46
+ validations:
47
+ required: true
48
+
49
+ - type: textarea
50
+ id: description
51
+ attributes:
52
+ label: Bug Description
53
+ description: A clear and concise description of what the bug is.
54
+ placeholder: "When I call ws.commit(...), it raises an error instead of creating a commit record."
55
+ validations:
56
+ required: true
57
+
58
+ - type: textarea
59
+ id: reproduce
60
+ attributes:
61
+ label: Steps to Reproduce
62
+ description: Minimal code or steps to reproduce the behavior.
63
+ placeholder: |
64
+ 1. Create a workspace: `ws = GCCWorkspace("/tmp/test")`
65
+ 2. Initialize: `ws.init()`
66
+ 3. Call: `ws.commit("test")`
67
+ 4. See error
68
+ render: text
69
+ validations:
70
+ required: true
71
+
72
+ - type: textarea
73
+ id: expected
74
+ attributes:
75
+ label: Expected Behavior
76
+ description: What you expected to happen.
77
+ validations:
78
+ required: true
79
+
80
+ - type: textarea
81
+ id: actual
82
+ attributes:
83
+ label: Actual Behavior
84
+ description: What actually happened. Include error messages or stack traces if applicable.
85
+ render: text
86
+ validations:
87
+ required: true
88
+
89
+ - type: textarea
90
+ id: logs
91
+ attributes:
92
+ label: Relevant Log Output
93
+ description: Paste any relevant log output, stack traces, or error messages.
94
+ render: shell
95
+
96
+ - type: textarea
97
+ id: context
98
+ attributes:
99
+ label: Additional Context
100
+ description: Any other context about the problem (screenshots, related issues, workarounds tried, etc.)
101
+
102
+ - type: checkboxes
103
+ id: terms
104
+ attributes:
105
+ label: Checklist
106
+ options:
107
+ - label: I have searched existing issues and this hasn't been reported before
108
+ required: true
109
+ - label: I am using the latest version of contexa
110
+ required: false
0
111