Skip to content

Commit 3d4d21f

Browse files
tas50claude
andcommitted
Convert ISSUES.md into a GitHub issue form
Replace the static ISSUES.md instructions with a structured GitHub issue form so bug reports collect the needed details consistently. While converting, fix the stale `chefspec/chefspec` repo link, replace the deprecated `knife -v` with `chef --version`, drop the privacy-risky "paste everything from env" field, and add a missing ChefSpec version field. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: Tim Smith <tsmith84@proton.me>
1 parent 3272113 commit 3d4d21f

2 files changed

Lines changed: 94 additions & 41 deletions

File tree

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
name: Bug Report
2+
description: Report a problem with ChefSpec
3+
labels: ["bug"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for taking the time to report an issue with ChefSpec! Filling out
9+
the fields below helps us reproduce and resolve your issue quickly.
10+
11+
Before opening a new issue, please search the
12+
[existing issues](https://github.com/chef/chefspec/issues) to see if it
13+
has already been reported.
14+
- type: textarea
15+
id: summary
16+
attributes:
17+
label: What are you trying to accomplish?
18+
description: Describe what you were doing and what went wrong.
19+
validations:
20+
required: true
21+
- type: textarea
22+
id: reproduction
23+
attributes:
24+
label: Steps to reproduce
25+
description: >-
26+
A minimal, self-contained example that reproduces the problem (see
27+
[SSCCE](http://sscce.org/)). Include the spec and any relevant recipe or
28+
cookbook code.
29+
render: ruby
30+
validations:
31+
required: true
32+
- type: input
33+
id: command
34+
attributes:
35+
label: Command run
36+
placeholder: bundle exec rspec spec/unit/recipes/default_spec.rb
37+
validations:
38+
required: false
39+
- type: textarea
40+
id: expected
41+
attributes:
42+
label: Expected behavior
43+
description: What did you expect to happen?
44+
validations:
45+
required: true
46+
- type: textarea
47+
id: actual
48+
attributes:
49+
label: Actual behavior
50+
description: What actually happened?
51+
validations:
52+
required: true
53+
- type: textarea
54+
id: backtrace
55+
attributes:
56+
label: Exception and backtrace
57+
description: Paste the full error message and backtrace, if any.
58+
render: text
59+
validations:
60+
required: false
61+
- type: input
62+
id: os
63+
attributes:
64+
label: Operating system and version
65+
validations:
66+
required: true
67+
- type: input
68+
id: chefspec-version
69+
attributes:
70+
label: ChefSpec version
71+
description: The version of the `chefspec` gem you are using.
72+
validations:
73+
required: true
74+
- type: input
75+
id: chef-version
76+
attributes:
77+
label: Chef version
78+
description: Output of `chef --version`.
79+
validations:
80+
required: true
81+
- type: input
82+
id: ruby-version
83+
attributes:
84+
label: Ruby version
85+
description: Output of `ruby -v`.
86+
validations:
87+
required: true
88+
- type: input
89+
id: rubygems-version
90+
attributes:
91+
label: RubyGems version
92+
description: Output of `gem -v`.
93+
validations:
94+
required: false

ISSUES.md

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

0 commit comments

Comments
 (0)