From 0511a4fb5ea5a9630a16799d156d0d6827bb43f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20A=C3=9Fhauer?= Date: Fri, 1 Nov 2024 11:16:19 +0100 Subject: [PATCH 1/3] fixup! Add an issue template MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move the template to .github/ISSUE_TEMPLATE/ in preparation for turning it into an issue form that also works on the mobile GitHub app. Since .github/ISSUE_TEMPLATE/ can contain multiple templates give it a unique name and the bare minimum of YAML front matter that GitHub requires for issue templates in that folder. Signed-off-by: Matthias Aßhauer --- .github/{ISSUE_TEMPLATE.md => ISSUE_TEMPLATE/bug-report.md} | 4 ++++ 1 file changed, 4 insertions(+) rename .github/{ISSUE_TEMPLATE.md => ISSUE_TEMPLATE/bug-report.md} (96%) diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE/bug-report.md similarity index 96% rename from .github/ISSUE_TEMPLATE.md rename to .github/ISSUE_TEMPLATE/bug-report.md index 4017ed82ca4341..e8d042d521c95f 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE/bug-report.md @@ -1,3 +1,7 @@ +--- +name: Bug report +about: Use this template to report bugs. +--- - [ ] I was not able to find an [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 I'm seeing ### Setup From b560c28ece09167a45221f60eb8b2127774e57c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20A=C3=9Fhauer?= Date: Fri, 1 Nov 2024 11:23:58 +0100 Subject: [PATCH 2/3] fixup! Add an issue template MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update the question about the Windows version to match the versions of Windows we currently support. Signed-off-by: Matthias Aßhauer --- .github/ISSUE_TEMPLATE/bug-report.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md index e8d042d521c95f..599cf59c443084 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.md +++ b/.github/ISSUE_TEMPLATE/bug-report.md @@ -14,7 +14,7 @@ $ git --version --build-options ** insert your machine's response here ** ``` - - Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit? + - Which version of Windows are you running? 8.1, 10, 11? Is it 32-bit or 64-bit? ``` $ cmd.exe /c ver From aa655e745f6b89e48bf2690ce415a66c36109153 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20A=C3=9Fhauer?= Date: Fri, 1 Nov 2024 12:16:57 +0100 Subject: [PATCH 3/3] fixup! Add an issue template MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .github/ISSUE_TEMPLATE/bug-report.md | 68 ----------------- .github/ISSUE_TEMPLATE/bug-report.yml | 104 ++++++++++++++++++++++++++ 2 files changed, 104 insertions(+), 68 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug-report.md create mode 100644 .github/ISSUE_TEMPLATE/bug-report.yml diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md deleted file mode 100644 index 599cf59c443084..00000000000000 --- a/.github/ISSUE_TEMPLATE/bug-report.md +++ /dev/null @@ -1,68 +0,0 @@ ---- -name: Bug report -about: Use this template to report bugs. ---- - - [ ] I was not able to find an [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 I'm seeing - -### Setup - - - Which version of Git for Windows are you using? Is it 32-bit or 64-bit? - -``` -$ git --version --build-options - -** insert your machine's response here ** -``` - - - Which version of Windows are you running? 8.1, 10, 11? Is it 32-bit or 64-bit? - -``` -$ cmd.exe /c ver - -** insert your machine's response here ** -``` - - - What options did you set as part of the installation? Or did you choose the - defaults? - -``` -# 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 - -** insert your machine's response here ** -``` - - - Any other interesting things about your environment that might be related - to the issue you're seeing? - -** insert your response here ** - -### Details - - - Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other - -** insert your response here ** - - - 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. - -``` -** insert your commands here ** -``` - - What did you expect to occur after running these commands? - -** insert here ** - - - What actually happened instead? - -** insert here ** - - - If the problem was occurring with a specific repository, can you provide the - URL to that repository to help us with testing? - -** insert URL here ** diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml new file mode 100644 index 00000000000000..6844a1a0a9bbdf --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -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? \ No newline at end of file