From: Martin Tournoij Date: Tue, 13 Jun 2023 15:29:48 +0000 (+0200) Subject: Update issue templates X-Git-Tag: v1.7.2~5 X-Git-Url: https://go.fuhry.dev/?a=commitdiff_plain;h=5c5bcffd18a6917383f280fa41161e184a488d67;p=fsnotify.git Update issue templates --- diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 0000000..88d4f93 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -0,0 +1,41 @@ +--- +name: 'Bug report' +description: 'Create a bug report' +labels: ['bug'] + +body: + - type: 'textarea' + validations: {"required": true} + attributes: + label: 'Describe the bug' + placeholder: 'A clear and concise description of what the bug is: expected behaviour, observed behaviour, etc.' + + - type: 'textarea' + validations: {"required": true} + attributes: + label: 'To Reproduce' + placeholder: 'Please provide the FULL code to reproduce the problem (something that can be copy/pasted and run without having to write additional code) and any additional steps that are needed.' + + - type: 'textarea' + validations: {"required": true} + attributes: + label: 'Which operating system and version are you using?' + description: | + ``` + Linux: lsb_release -a + macOS: sw_vers + Windows: systeminfo | findstr /B /C:OS + BSD: uname -a + ``` + + - type: 'input' + validations: {"required": true} + attributes: + label: 'Which fsnotify version are you using?' + + - type: 'dropdown' + validations: {"required": true} + attributes: + label: 'Did you try the latest main branch?' + description: 'Please try the latest main branch as well, with e.g.:
`go get github.com/fsnotify/fsnotify@main`' + options: ['No', 'Yes'] diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 82a6a1c..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: '' -assignees: '' - ---- - -Before reporting an issue, please ensure you are using the latest release of `fsnotify`, and please -search for existing issue to avoid duplicates. - -**Describe the bug** -A clear and concise description of what the bug is. - -**To Reproduce** -Steps to reproduce the behavior: -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Which operating system and version are you using?** - -Linux: lsb_release -a -macOS: sw_vers -Windows: systeminfo | findstr /B /C:OS - -**Additional context** -If applicable, add screenshots or a code sample to help explain your problem. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index bbcbbe7..0000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: '' -labels: '' -assignees: '' - ---- - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] - -**Describe the solution you'd like** -A clear and concise description of what you want to happen. - -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. - -**Additional context** -Add any other context or screenshots about the feature request here. diff --git a/.github/ISSUE_TEMPLATE/other.md b/.github/ISSUE_TEMPLATE/other.md new file mode 100644 index 0000000..a94d73c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/other.md @@ -0,0 +1,9 @@ +--- +name: 'Other' +about: "Anything that's not a bug such as feature requests, questions, etc." +title: '' +labels: '' +assignees: '' + +--- +