Skip to content

Commit 005d5e7

Browse files
committed
cicd: consolidate templates in favor of choice options between template and generated project
1 parent 1189e3e commit 005d5e7

9 files changed

+597
-552
lines changed
Lines changed: 199 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,199 @@
1+
name: '🐛 Bug Report'
2+
description: Report a bug with the template or generated projects
3+
labels: [bug]
4+
title: '[Bug] '
5+
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
## Bug Report
11+
12+
Report issues with either the cookiecutter template or generated projects.
13+
14+
- type: dropdown
15+
id: issue_scope
16+
attributes:
17+
label: 🎯 Issue Scope
18+
description: Is this a template issue or generated project issue?
19+
options:
20+
- Template (generation, hooks, template scripts)
21+
- Generated Project (nox, dependencies, tooling)
22+
validations:
23+
required: true
24+
25+
- type: textarea
26+
id: description
27+
attributes:
28+
label: 📝 Bug Description
29+
description: Clearly describe what went wrong
30+
placeholder: |
31+
A clear and concise description of the bug...
32+
validations:
33+
required: true
34+
35+
- type: dropdown
36+
id: issue_category
37+
attributes:
38+
label: 🏷️ Issue Category
39+
description: Select the category that best describes the issue
40+
options:
41+
# Template-specific options
42+
- Template - Cookiecutter prompts/input
43+
- Template - File generation
44+
- Template - Post-generation hooks
45+
- Template - Nox commands (generate-demo, lint, test)
46+
- Template - Documentation/structure
47+
# Generated project options
48+
- Generated - Nox session failures
49+
- Generated - Dependency/package management
50+
- Generated - Build/packaging problems
51+
- Generated - Testing framework issues
52+
- Generated - Documentation build issues
53+
- Generated - Linting/formatting configuration
54+
- Generated - Type checking issues
55+
- Generated - Security scanning problems
56+
- Generated - CI/CD workflow issues
57+
- Generated - Rust extension issues
58+
- Generated - Container/Docker issues
59+
- Generated - Project structure/files
60+
- Other
61+
validations:
62+
required: true
63+
64+
- type: textarea
65+
id: reproduction
66+
attributes:
67+
label: 🔄 Steps to Reproduce
68+
description: Provide clear steps to reproduce the issue
69+
value: |
70+
1.
71+
2.
72+
3.
73+
validations:
74+
required: true
75+
76+
- type: textarea
77+
id: expected_behavior
78+
attributes:
79+
label: ✅ Expected Behavior
80+
description: What did you expect to happen?
81+
validations:
82+
required: true
83+
84+
- type: textarea
85+
id: actual_behavior
86+
attributes:
87+
label: ❌ Actual Behavior
88+
description: What actually happened?
89+
validations:
90+
required: true
91+
92+
- type: textarea
93+
id: cookiecutter_config
94+
attributes:
95+
label: ⚙️ Cookiecutter Configuration
96+
description: Paste your .cookiecutter.json file contents or the options you selected
97+
render: json
98+
placeholder: |
99+
{
100+
"project_name": "my-project",
101+
"add_rust_extension": "no",
102+
...
103+
}
104+
validations:
105+
required: false
106+
107+
- type: dropdown
108+
id: rust_extension
109+
attributes:
110+
label: 🦀 Rust Extension
111+
description: Does your project include Rust extensions?
112+
options:
113+
- "No"
114+
- "Yes"
115+
- "N/A - Template issue"
116+
validations:
117+
required: true
118+
119+
- type: dropdown
120+
id: python_version
121+
attributes:
122+
label: 🐍 Python Version
123+
description: Which Python version are you using?
124+
options:
125+
- "3.9"
126+
- "3.10"
127+
- "3.11"
128+
- "3.12"
129+
- "3.13"
130+
- "Other (specify in environment)"
131+
validations:
132+
required: true
133+
134+
- type: dropdown
135+
id: os
136+
attributes:
137+
label: 💻 Operating System
138+
description: Which OS are you using?
139+
options:
140+
- macOS (Intel)
141+
- macOS (Apple Silicon)
142+
- Linux (Ubuntu/Debian)
143+
- Linux (Fedora/RHEL)
144+
- Linux (Arch)
145+
- Linux (Other)
146+
- Windows 10
147+
- Windows 11
148+
- WSL2
149+
- Other
150+
validations:
151+
required: true
152+
153+
- type: textarea
154+
id: environment
155+
attributes:
156+
label: 🖥️ Environment Details
157+
description: Additional environment information
158+
value: |
159+
- uv version:
160+
- nox version:
161+
- Cookiecutter version:
162+
- Template version/commit:
163+
- Other relevant tools:
164+
validations:
165+
required: true
166+
167+
- type: textarea
168+
id: error_output
169+
attributes:
170+
label: 🚨 Error Output
171+
description: Paste the complete error message, stack trace, or command output
172+
render: shell
173+
placeholder: |
174+
Paste full error output here...
175+
validations:
176+
required: false
177+
178+
- type: textarea
179+
id: workaround
180+
attributes:
181+
label: 🔧 Workaround
182+
description: If you found a temporary solution, please describe it
183+
placeholder: |
184+
Describe any workaround you discovered...
185+
validations:
186+
required: false
187+
188+
- type: dropdown
189+
id: severity
190+
attributes:
191+
label: ⚡ Severity
192+
description: How severe is this issue?
193+
options:
194+
- Critical (blocks all usage)
195+
- High (blocks major functionality)
196+
- Medium (workaround available)
197+
- Low (minor inconvenience)
198+
validations:
199+
required: true

.github/ISSUE_TEMPLATE/01_template_bug.yml

Lines changed: 0 additions & 96 deletions
This file was deleted.

0 commit comments

Comments
 (0)