]> go.fuhry.dev Git - fsnotify.git/commitdiff
Update issue templates
authorMartin Tournoij <martin@arp242.net>
Tue, 13 Jun 2023 15:29:48 +0000 (17:29 +0200)
committerMartin Tournoij <martin@arp242.net>
Tue, 13 Jun 2023 15:29:48 +0000 (17:29 +0200)
.github/ISSUE_TEMPLATE/bug.yml [new file with mode: 0644]
.github/ISSUE_TEMPLATE/bug_report.md [deleted file]
.github/ISSUE_TEMPLATE/feature_request.md [deleted file]
.github/ISSUE_TEMPLATE/other.md [new file with mode: 0644]

diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml
new file mode 100644 (file)
index 0000000..88d4f93
--- /dev/null
@@ -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.:<br>`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 (file)
index 82a6a1c..0000000
+++ /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 (file)
index bbcbbe7..0000000
+++ /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 (file)
index 0000000..a94d73c
--- /dev/null
@@ -0,0 +1,9 @@
+---
+name: 'Other'
+about: "Anything that's not a bug such as feature requests, questions, etc."
+title: ''
+labels: ''
+assignees: ''
+
+---
+