Skip to content

Commit 1189e3e

Browse files
committed
cicd: adding more detail to the template issue templates
1 parent af769ec commit 1189e3e

File tree

7 files changed

+198
-100
lines changed

7 files changed

+198
-100
lines changed
Lines changed: 38 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,81 @@
11
name: '🔧 Template Bug Report'
22
description: Report a bug with the cookiecutter template itself (generation process, hooks, scripts)
33
labels: [bug, template]
4+
title: '[Template Bug] '
45

56
body:
67
- type: markdown
78
attributes:
89
value: |
9-
**This template is for issues with the cookiecutter template itself** - problems during generation, template scripts, or template configuration.
10+
## Template Bug Report
1011
11-
For issues with the **generated project** (nox sessions, dependencies, tooling), please use the "Generated Project Bug Report" template instead.
12+
Report issues with the **cookiecutter template itself** including:
13+
- Template generation failures
14+
- Post-generation hook errors
15+
- Template script problems
16+
- Template configuration issues
17+
18+
> **Note:** For issues with **generated projects** (nox sessions, dependencies, tooling), use the "Generated Project Bug Report" template instead.
1219
1320
- type: textarea
1421
id: description
1522
attributes:
16-
label: Bug description
17-
description: A clear description of the template issue
18-
placeholder: ex. Template generation fails when selecting Rust extension...
23+
label: 📝 Bug Description
24+
description: Clearly describe what went wrong with the template
25+
placeholder: |
26+
Example: Template generation fails when selecting Rust extension with error "...
1927
validations:
2028
required: true
2129

2230
- type: dropdown
2331
id: issue_stage
2432
attributes:
25-
label: When does the issue occur?
33+
label: 🎯 When does the issue occur?
2634
options:
2735
- During cookiecutter prompts/input
2836
- During template file generation
2937
- During post-generation hooks
30-
- When running template nox commands (generate-demo, lint, test, etc.)
38+
- Template nox commands (generate-demo, lint, test, etc.)
3139
- Template documentation/structure issues
3240
validations:
3341
required: true
3442

3543
- type: textarea
3644
id: reproduction
3745
attributes:
38-
label: Steps to reproduce
46+
label: 🔄 Steps to Reproduce
47+
description: Provide clear steps to reproduce the issue
3948
placeholder: |
40-
1. Run `cookiecutter gh:56kyle/cookiecutter-robust-python`
41-
2. Select options: {...}
42-
3. See error during generation
49+
1. Run: cookiecutter gh:56kyle/cookiecutter-robust-python
50+
2. Select options: {project_name: "test", add_rust_extension: "yes"}
51+
3. Error occurs: ...
52+
value: |
53+
1.
54+
2.
55+
3.
4356
validations:
4457
required: true
4558

4659
- type: textarea
4760
id: cookiecutter_config
4861
attributes:
49-
label: Cookiecutter configuration
50-
description: The options you selected (from .cookiecutter.json if generation succeeded)
62+
label: ⚙️ Cookiecutter Configuration
63+
description: Paste your .cookiecutter.json file contents or the options you selected
5164
render: json
65+
placeholder: |
66+
{
67+
"project_name": "my-project",
68+
"add_rust_extension": "yes",
69+
...
70+
}
5271
validations:
5372
required: false
5473

5574
- type: textarea
5675
id: environment
5776
attributes:
58-
label: Environment
77+
label: 🖥️ Environment
78+
description: Please fill in your system information
5979
value: |
6080
- OS:
6181
- Python version:
@@ -67,8 +87,10 @@ body:
6787
- type: textarea
6888
id: error_output
6989
attributes:
70-
label: Error output
71-
description: Full error messages, stack traces, or command output
90+
label: 🚨 Error Output
91+
description: Paste the complete error message, stack trace, or command output
7292
render: shell
93+
placeholder: |
94+
Paste full error output here...
7395
validations:
7496
required: false
Lines changed: 49 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,70 +1,92 @@
11
name: '📦 Generated Project Bug Report'
22
description: Report a bug with the generated project (nox sessions, dependencies, tooling, structure)
33
labels: [bug, generated-project]
4+
title: '[Generated Project Bug] '
45

56
body:
67
- type: markdown
78
attributes:
89
value: |
9-
**This template is for issues with generated projects** - problems with nox sessions, dependencies, tooling configuration, or project structure.
10+
## Generated Project Bug Report
1011
11-
For issues with the **cookiecutter template itself** (generation process, template scripts), please use the "Template Bug Report" template instead.
12+
Report issues with **generated projects** including:
13+
- Nox session failures
14+
- Dependency or tooling problems
15+
- Build/packaging issues
16+
- Testing framework errors
17+
- Project configuration problems
18+
19+
> **Note:** For issues with the **cookiecutter template itself** (generation process, template scripts), use the "Template Bug Report" template instead.
1220
1321
- type: textarea
1422
id: description
1523
attributes:
16-
label: Bug description
17-
description: A clear description of the issue in the generated project
18-
placeholder: ex. nox -s tests-python fails with import errors...
24+
label: 📝 Bug Description
25+
description: Clearly describe the issue in your generated project
26+
placeholder: |
27+
Example: Running 'nox -s tests-python' fails with import errors...
1928
validations:
2029
required: true
2130

2231
- type: dropdown
2332
id: issue_category
2433
attributes:
25-
label: Issue category
34+
label: 🏷️ Issue Category
2635
options:
2736
- Nox session failures
28-
- Dependency/package management issues
37+
- Dependency/package management
2938
- Build/packaging problems
3039
- Testing framework issues
3140
- Documentation build issues
3241
- Linting/formatting configuration
3342
- Type checking issues
3443
- Security scanning problems
3544
- CI/CD workflow issues
36-
- Rust extension issues (if applicable)
45+
- Rust extension issues
3746
- Container/Docker issues
38-
- Project structure/template files
47+
- Project structure/files
3948
- Other
4049
validations:
4150
required: true
4251

4352
- type: textarea
4453
id: reproduction
4554
attributes:
46-
label: Steps to reproduce
55+
label: 🔄 Steps to Reproduce
56+
description: Provide clear steps to reproduce the issue
4757
placeholder: |
48-
1. Generate project with: cookiecutter gh:56kyle/cookiecutter-robust-python
49-
2. Select options: {...}
50-
3. Run: nox -s tests-python
51-
4. See error: {...}
58+
1. Generate project: cookiecutter gh:56kyle/cookiecutter-robust-python
59+
2. Select options: {project_name: "test", add_rust_extension: "no"}
60+
3. Run command: nox -s tests-python
61+
4. Error occurs: ...
62+
value: |
63+
1.
64+
2.
65+
3.
66+
4.
5267
validations:
5368
required: true
5469

5570
- type: textarea
5671
id: cookiecutter_config
5772
attributes:
58-
label: Project configuration
59-
description: Contents of .cookiecutter.json from your generated project
73+
label: ⚙️ Project Configuration
74+
description: Paste the contents of .cookiecutter.json from your generated project
6075
render: json
76+
placeholder: |
77+
{
78+
"project_name": "my-project",
79+
"add_rust_extension": "no",
80+
...
81+
}
6182
validations:
6283
required: true
6384

6485
- type: dropdown
6586
id: rust_extension
6687
attributes:
67-
label: Does your project use Rust extension?
88+
label: 🦀 Rust Extension
89+
description: Does your project include Rust extensions?
6890
options:
6991
- "No"
7092
- "Yes"
@@ -74,7 +96,8 @@ body:
7496
- type: textarea
7597
id: environment
7698
attributes:
77-
label: Environment
99+
label: 🖥️ Environment
100+
description: Please fill in your system information
78101
value: |
79102
- OS:
80103
- Python version:
@@ -87,16 +110,20 @@ body:
87110
- type: textarea
88111
id: command_output
89112
attributes:
90-
label: Command output
91-
description: Full output of the failing command(s)
113+
label: 💻 Command Output
114+
description: Paste the complete output of the failing command(s)
92115
render: shell
116+
placeholder: |
117+
Paste full command output here...
93118
validations:
94119
required: false
95120

96121
- type: textarea
97122
id: workaround
98123
attributes:
99-
label: Workaround (if any)
100-
description: If you found a way to work around the issue, please describe it
124+
label: 🔧 Workaround
125+
description: If you found a temporary solution, please describe it
126+
placeholder: |
127+
Example: Manually editing pyproject.toml to fix the dependency version...
101128
validations:
102129
required: false
Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,25 @@
1-
name: '📖 Documentation improvement'
2-
description: Report an issue with the documentation or suggest improvements
1+
name: '📖 Documentation Issue'
2+
description: Report documentation issues or suggest improvements
33
labels: [documentation]
4+
title: '[Docs] '
45

56
body:
67
- type: markdown
78
attributes:
89
value: |
9-
Use this template for issues with:
10+
## Documentation Issue
11+
12+
Report problems or suggest improvements for:
1013
- Template documentation (README, docs/ folder)
11-
- Generated project documentation
14+
- Generated project documentation templates
1215
- Missing or unclear documentation
1316
- Documentation build issues
17+
- API/code documentation
1418
1519
- type: dropdown
1620
id: doc_type
1721
attributes:
18-
label: Documentation type
22+
label: 📁 Documentation Type
1923
options:
2024
- Template documentation (this repository)
2125
- Generated project documentation template
@@ -30,25 +34,26 @@ body:
3034
- type: textarea
3135
id: description
3236
attributes:
33-
label: Description
34-
description: Describe the documentation issue and how it can be improved
35-
placeholder: ex. The nox session documentation is missing examples for Rust projects...
37+
label: 📝 Issue Description
38+
description: Describe the documentation problem and suggest improvements
39+
placeholder: |
40+
Example: The nox session documentation is missing examples for Rust projects...
3641
validations:
3742
required: true
3843

3944
- type: input
4045
id: link
4146
attributes:
42-
label: Link
43-
description: Link to the existing documentation (if applicable)
44-
placeholder: ex. https://cookiecutter-robust-python.readthedocs.io/en/latest/...
47+
label: 🔗 Documentation Link
48+
description: Link to the problematic documentation (if applicable)
49+
placeholder: https://cookiecutter-robust-python.readthedocs.io/en/latest/...
4550
validations:
4651
required: false
4752

4853
- type: dropdown
4954
id: issue_type
5055
attributes:
51-
label: Issue type
56+
label: 🏷️ Issue Type
5257
options:
5358
- Missing documentation
5459
- Incorrect/outdated information
@@ -63,7 +68,9 @@ body:
6368
- type: textarea
6469
id: suggested_improvement
6570
attributes:
66-
label: Suggested improvement
67-
description: How should this documentation be improved?
71+
label: ✨ Suggested Improvement
72+
description: How can this documentation be improved? What would you like to see added or changed?
73+
placeholder: |
74+
Example: Add a section showing how to customize the nox configuration for different project types...
6875
validations:
6976
required: false

0 commit comments

Comments
 (0)