Skip to content

Commit

Permalink
fixup! Add an issue template
Browse files Browse the repository at this point in the history
Turn the issue template into an issue form to reduce the number of
issues that are just the blank template with no information.

Signed-off-by: Matthias Aßhauer <[email protected]>
  • Loading branch information
rimrul committed Nov 1, 2024
1 parent b560c28 commit aa655e7
Show file tree
Hide file tree
Showing 2 changed files with 104 additions and 68 deletions.
68 changes: 0 additions & 68 deletions .github/ISSUE_TEMPLATE/bug-report.md

This file was deleted.

104 changes: 104 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
name: Bug report
description: Use this template to report bugs.
body:
- type: checkboxes
id: search
attributes:
label: Existing issues matching what you're seeing
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.
options:
- label: I was not able to find an open or closed issue matching what I'm seeing
- type: textarea
id: git-for-windows-version
attributes:
label: Git for Windows version
description: Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
placeholder: Please insert the output of `git --version --build-options` here
render: shell
validations:
required: true
- type: dropdown
id: windows-version
attributes:
label: Windows version
description: Which version of Windows are you running?
options:
- Windows 8.1
- Windows 10
- Windows 11
- Other
default: 2
validations:
required: true
- type: dropdown
id: windows-arch
attributes:
label: Windows CPU architecture
description: Is your Windows 32-bit or 64-bit?
options:
- 32-bit
- 64-bit
default: 1
validations:
required: true
- type: textarea
id: windows-version-cmd
attributes:
label: Additional Windows version information
description: This provides us with further information about your Windows such as the build number
placeholder: Please insert the output of `cmd.exe /c ver` here
render: shell
- type: textarea
id: options
attributes:
label: Options set during installation
description: What options did you set as part of the installation? Or did you choose the defaults?
placeholder: |
One of the following:
> type "C:\Program Files\Git\etc\install-options.txt"
> type "C:\Program Files (x86)\Git\etc\install-options.txt"
> type "%USERPROFILE%\AppData\Local\Programs\Git\etc\install-options.txt"
> type "$env:USERPROFILE\AppData\Local\Programs\Git\etc\install-options.txt"
$ cat /etc/install-options.txt
render: shell
validations:
required: true
- type: textarea
id: other-things
attributes:
label: Other interesting things
description: Any other interesting things about your environment that might be related to the issue you're seeing?
- type: input
id: terminal
attributes:
label: Terminal/shell
description: Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other
validations:
required: true
- type: textarea
id: commands
attributes:
label: Commands that trigger the issue
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.
render: shell
validations:
required: true
- type: textarea
id: expected-behaviour
attributes:
label: Expected behaviour
description: What did you expect to occur after running these commands?
validations:
required: true
- type: textarea
id: actual-behaviour
attributes:
label: Actual behaviour
description: What actually happened instead?
validations:
required: true
- type: textarea
id: repository
attributes:
label: Repository
description: If the problem was occurring with a specific repository, can you provide the URL to that repository to help us with testing?

0 comments on commit aa655e7

Please sign in to comment.