Kévin Dunglas 1 год назад
Родитель
Сommit
62d53253d1

+ 0 - 44
.github/ISSUE_TEMPLATE.md

@@ -1,44 +0,0 @@
-<!-- Your issue may already be reported! Please search for open/closed issues before reporting and use GitHub Discussions for general support questions. -->
-
-## Use case
-
-<!--
-Describe what you are doing here to give us some context.
--->
-
-## Expected Behavior
-
-<!--
-Descibe what you expected to happen
--->
-
-## Actual Behavior
-
-<!--
-Describe what actually happens. Include any relevant logs wrapped in ```three backticks```
--->
-
-## Steps to reproduce
-
-Build Type:
-
-- [ ] custom standalone build
-- [ ] native build
-- [ ] docker (alpine)
-- [ ] docker (bookworm)
-
-Run Type:
-
-- [ ] worker mode
-- [ ] cgi mode
-
-CPU architecture:
-
-- [ ] Arm (non-Apple)
-- [ ] Arm (Apple)
-- [ ] x64 (intel/amd)
-- [ ] other: <!-- fill in -->
-
-<!--
-Provide us with some step-by-step instructions to produce the issue
--->

+ 78 - 0
.github/ISSUE_TEMPLATE/bug_report.yaml

@@ -0,0 +1,78 @@
+---
+name: Bug Report
+description: File a bug report
+labels: [bug]
+body:
+  - type: markdown
+    attributes:
+      value: |
+        Thanks for taking the time to fill out this bug report!
+  - type: textarea
+    id: what-happened
+    attributes:
+      label: What happened?
+      description: |
+        Tell us what you do, what you get and what you expected.
+        Provide us with some step-by-step instructions to reproduce the issue.
+    validations:
+      required: true
+  - type: dropdown
+    id: build
+    attributes:
+      label: Build Type
+      description: What build of FrankenPHP do you use?
+      options:
+        - Docker (Debian Bookworm)
+        - Docker (Alpine)
+        - Official static build
+        - Standalone binary
+        - Custom (tell us more in the description)
+      default: 0
+    validations:
+      required: true
+  - type: dropdown
+    id: worker
+    attributes:
+      label: Worker Mode
+      description: Does the problem happen only when using the worker mode?
+      options:
+        - "Yes"
+        - "No"
+      default: 0
+    validations:
+      required: true
+  - type: dropdown
+    id: os
+    attributes:
+      label: Operating System
+      description: What operating system are you executing FrankenPHP with?
+      options:
+        - GNU/Linux
+        - macOS
+        - Other (tell us more in the description)
+      default: 0
+    validations:
+      required: true
+  - type: dropdown
+    id: arch
+    attributes:
+      label: CPU Architecture
+      description: What CPU architecture are you using?
+      options:
+        - x86_64
+        - Apple Silicon
+        - x86
+        - aarch64
+        - Other (tell us more in the description)
+      default: 0
+    validations:
+      required: true
+  - type: textarea
+    id: logs
+    attributes:
+      label: Relevant log output
+      description: |
+        Please copy and paste any relevant log output.
+        This will be automatically formatted into code,
+        so no need for backticks.
+      render: shell

+ 20 - 0
.github/ISSUE_TEMPLATE/feature_request.yaml

@@ -0,0 +1,20 @@
+---
+name: Feature Request
+description: Suggest an idea for this project
+labels: [enhancement]
+body:
+  - type: textarea
+    id: description
+    attributes:
+      label: Describe you feature request
+      value: |
+        **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.