From 9be1d08722d37e2499138216789fd1c22b4a96a3 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/5] 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 d71920cae6d7e62891d861a9a2d5628ade2e812a 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/5] 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 42fdd21000fab38a365753e87cd04bc7c58e7400 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/5] 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..867aab1a5e057c --- /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 From 0a80b4ce91bfde2ce9afae17d3f6d0e707aa3de2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20A=C3=9Fhauer?= Date: Tue, 10 Jun 2025 11:10:20 +0200 Subject: [PATCH 4/5] fixup! Add an issue template MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We support ARM64 now, so users should be able to report issues on ARM64. Signed-off-by: Matthias Aßhauer --- .github/ISSUE_TEMPLATE/bug-report.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 867aab1a5e057c..b49593339932b2 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -12,7 +12,7 @@ body: 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? + description: Which version of Git for Windows are you using? placeholder: Please insert the output of `git --version --build-options` here render: shell validations: @@ -34,10 +34,11 @@ body: id: windows-arch attributes: label: Windows CPU architecture - description: Is your Windows 32-bit or 64-bit? + description: What CPU Archtitecture does your Windows target? options: - - 32-bit - - 64-bit + - i686 (32-bit) + - x86_64 (64-bit) + - ARM64 default: 1 validations: required: true From 0f09e105f088c2af570372e3f07e501a0adfa539 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20A=C3=9Fhauer?= Date: Tue, 10 Jun 2025 11:15:12 +0200 Subject: [PATCH 5/5] fixup! Add an issue template MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Prevent users from opening blank issues that circumvent our issue form. Signed-off-by: Matthias Aßhauer --- .github/ISSUE_TEMPLATE/config.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000000000..ec4bb386bcf8a4 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: false \ No newline at end of file