Skip to content

Commit 3dedf8c

Browse files
authored
Create an issue form (#5238)
This fixes #5229 (Issue templates no longer working): Seems that the templates need to be put into `.github/ISSUE_TEMPLATE/`, and that `.github/ISSUE_TEMPLATE.md` does not work anymore. We could use the opportunity to turn this into [an issue form](https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#creating-issue-templates) (which would make it much less likely to get those issues with all the placeholders left as-are, I'd hope).
2 parents e212079 + 0f09e10 commit 3dedf8c

File tree

3 files changed

+106
-64
lines changed

3 files changed

+106
-64
lines changed

.github/ISSUE_TEMPLATE.md

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

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
name: Bug report
2+
description: Use this template to report bugs.
3+
body:
4+
- type: checkboxes
5+
id: search
6+
attributes:
7+
label: Existing issues matching what you're seeing
8+
description: Please search for [open](https://github.com/git-for-windows/git/issues?q=is%3Aopen) or [closed](https://github.com/git-for-windows/git/issues?q=is%3Aclosed) issue matching what you're seeing before submitting a new issue.
9+
options:
10+
- label: I was not able to find an open or closed issue matching what I'm seeing
11+
- type: textarea
12+
id: git-for-windows-version
13+
attributes:
14+
label: Git for Windows version
15+
description: Which version of Git for Windows are you using?
16+
placeholder: Please insert the output of `git --version --build-options` here
17+
render: shell
18+
validations:
19+
required: true
20+
- type: dropdown
21+
id: windows-version
22+
attributes:
23+
label: Windows version
24+
description: Which version of Windows are you running?
25+
options:
26+
- Windows 8.1
27+
- Windows 10
28+
- Windows 11
29+
- Other
30+
default: 2
31+
validations:
32+
required: true
33+
- type: dropdown
34+
id: windows-arch
35+
attributes:
36+
label: Windows CPU architecture
37+
description: What CPU Archtitecture does your Windows target?
38+
options:
39+
- i686 (32-bit)
40+
- x86_64 (64-bit)
41+
- ARM64
42+
default: 1
43+
validations:
44+
required: true
45+
- type: textarea
46+
id: windows-version-cmd
47+
attributes:
48+
label: Additional Windows version information
49+
description: This provides us with further information about your Windows such as the build number
50+
placeholder: Please insert the output of `cmd.exe /c ver` here
51+
render: shell
52+
- type: textarea
53+
id: options
54+
attributes:
55+
label: Options set during installation
56+
description: What options did you set as part of the installation? Or did you choose the defaults?
57+
placeholder: |
58+
One of the following:
59+
> type "C:\Program Files\Git\etc\install-options.txt"
60+
> type "C:\Program Files (x86)\Git\etc\install-options.txt"
61+
> type "%USERPROFILE%\AppData\Local\Programs\Git\etc\install-options.txt"
62+
> type "$env:USERPROFILE\AppData\Local\Programs\Git\etc\install-options.txt"
63+
$ cat /etc/install-options.txt
64+
render: shell
65+
validations:
66+
required: true
67+
- type: textarea
68+
id: other-things
69+
attributes:
70+
label: Other interesting things
71+
description: Any other interesting things about your environment that might be related to the issue you're seeing?
72+
- type: input
73+
id: terminal
74+
attributes:
75+
label: Terminal/shell
76+
description: Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other
77+
validations:
78+
required: true
79+
- type: textarea
80+
id: commands
81+
attributes:
82+
label: Commands that trigger the issue
83+
description: What commands did you run to trigger this issue? If you can provide a [Minimal, Complete, and Verifiable example](http://stackoverflow.com/help/mcve) this will help us understand the issue.
84+
render: shell
85+
validations:
86+
required: true
87+
- type: textarea
88+
id: expected-behaviour
89+
attributes:
90+
label: Expected behaviour
91+
description: What did you expect to occur after running these commands?
92+
validations:
93+
required: true
94+
- type: textarea
95+
id: actual-behaviour
96+
attributes:
97+
label: Actual behaviour
98+
description: What actually happened instead?
99+
validations:
100+
required: true
101+
- type: textarea
102+
id: repository
103+
attributes:
104+
label: Repository
105+
description: If the problem was occurring with a specific repository, can you provide the URL to that repository to help us with testing?

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false

0 commit comments

Comments
 (0)