shithub: furgit

Download patch

ref: 27ef9a7e1f2589d1a0eeee4cd6d36d1926989cf2
parent: 1fbcefb949a852fd16ca12ed07faf7c5090dc57a
author: Runxi Yu <me@runxiyu.org>
date: Mon Mar 9 19:57:49 EDT 2026

forgejo, github: Update issue templates

--- /dev/null
+++ b/.forgejo/ISSUE_TEMPLATE/bug.yaml
@@ -1,0 +1,73 @@
+name: Bug
+about: Report incorrect or unexpected behavior
+title: "Bug: "
+labels:
+  - bug
+
+body:
+  - type: textarea
+    id: description
+    attributes:
+      label: Description
+      description: What is the bug? Provide a concise summary.
+      placeholder: Describe the unexpected behavior.
+    validations:
+      required: true
+
+  - type: textarea
+    id: reproduction
+    attributes:
+      label: Reproduction recipe (Go program)
+      description: |
+        Provide a minimal Go program that:
+        - creates an empty repository;
+        - executes the Furgit and/or Git commands needed;
+        - demonstrates the faulty behavior.
+      placeholder: |
+        package main
+
+        import "codeberg.org/lindenii/furgit"
+
+        func main() {
+        	// do something
+        }
+      render: go
+    validations:
+      required: false
+
+  - type: textarea
+    id: regression-test-help
+    attributes:
+      label: Help needed writing a regression test?
+      description: |
+        If you are unsure how to turn your reproduction into an automated test,
+        explain what you want help with. We expect to create a regression test
+        before fixing the issue.
+      placeholder: Describe where you got stuck or what guidance you need.
+    validations:
+      required: false
+
+  - type: textarea
+    id: alternative-reproduction
+    attributes:
+      label: Alternative reproduction
+      description: |
+        If writing an automated reproduction truly isn’t possible, explain *in
+        very clear, step-by-step detail* how to reproduce the problem manually.
+        Include command output where relevant.
+      placeholder: |
+        1. Run command X
+        2. Run command Y
+        3. Observe unexpected behavior
+    validations:
+      required: false
+
+  - type: checkboxes
+    id: checklist
+    attributes:
+      label: Checklist
+      options:
+        - label: I read the project's guidance on regression tests.
+          required: true
+        - label: I attempted to write a reproduction Go program, or provided clear manual reproduction steps if automation was not possible.
+          required: true
--- a/.forgejo/issue_template/bug.yaml
+++ /dev/null
@@ -1,73 +1,0 @@
-name: Bug
-about: Report incorrect or unexpected behavior
-title: "Bug: "
-labels:
-  - bug
-
-body:
-  - type: textarea
-    id: description
-    attributes:
-      label: Description
-      description: What is the bug? Provide a concise summary.
-      placeholder: Describe the unexpected behavior.
-    validations:
-      required: true
-
-  - type: textarea
-    id: reproduction
-    attributes:
-      label: Reproduction recipe (Go program)
-      description: |
-        Provide a minimal Go program that:
-        - creates an empty repository;
-        - executes the Furgit and/or Git commands needed;
-        - demonstrates the faulty behavior.
-      placeholder: |
-        package main
-
-        import "codeberg.org/lindenii/furgit"
-
-        func main() {
-        	// do something
-        }
-      render: go
-    validations:
-      required: false
-
-  - type: textarea
-    id: regression-test-help
-    attributes:
-      label: Help needed writing a regression test?
-      description: |
-        If you are unsure how to turn your reproduction into an automated test,
-        explain what you want help with. We expect to create a regression test
-        before fixing the issue.
-      placeholder: Describe where you got stuck or what guidance you need.
-    validations:
-      required: false
-
-  - type: textarea
-    id: alternative-reproduction
-    attributes:
-      label: Alternative reproduction
-      description: |
-        If writing an automated reproduction truly isn’t possible, explain *in
-        very clear, step-by-step detail* how to reproduce the problem manually.
-        Include command output where relevant.
-      placeholder: |
-        1. Run command X
-        2. Run command Y
-        3. Observe unexpected behavior
-    validations:
-      required: false
-
-  - type: checkboxes
-    id: checklist
-    attributes:
-      label: Checklist
-      options:
-        - label: I read the project's guidance on regression tests.
-          required: true
-        - label: I attempted to write a reproduction Go program, or provided clear manual reproduction steps if automation was not possible.
-          required: true
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug.yaml
@@ -1,0 +1,75 @@
+name: Bug
+description: Report incorrect or unexpected behavior
+title: "Bug: "
+labels:
+  - bug
+assignees:
+  - runxiyu
+
+body:
+  - type: textarea
+    id: description
+    attributes:
+      label: Description
+      description: What is the bug? Provide a concise summary.
+      placeholder: Describe the unexpected behavior.
+    validations:
+      required: true
+
+  - type: textarea
+    id: reproduction
+    attributes:
+      label: Reproduction recipe (Go program)
+      description: |
+        Provide a minimal Go program that:
+        - creates an empty repository;
+        - executes the Furgit and/or Git commands needed;
+        - demonstrates the faulty behavior.
+      placeholder: |
+        package main
+
+        import "codeberg.org/lindenii/furgit"
+
+        func main() {
+        	// do something
+        }
+      render: go
+    validations:
+      required: false
+
+  - type: textarea
+    id: regression-test-help
+    attributes:
+      label: Help needed writing a regression test?
+      description: |
+        If you are unsure how to turn your reproduction into an automated test,
+        explain what you want help with. We expect to create a regression test
+        before fixing the issue.
+      placeholder: Describe where you got stuck or what guidance you need.
+    validations:
+      required: false
+
+  - type: textarea
+    id: alternative-reproduction
+    attributes:
+      label: Alternative reproduction
+      description: |
+        If writing an automated reproduction truly isn’t possible, explain *in
+        very clear, step-by-step detail* how to reproduce the problem manually.
+        Include command output where relevant.
+      placeholder: |
+        1. Run command X
+        2. Run command Y
+        3. Observe unexpected behavior
+    validations:
+      required: false
+
+  - type: checkboxes
+    id: checklist
+    attributes:
+      label: Checklist
+      options:
+        - label: I read the project's guidance on regression tests.
+          required: true
+        - label: I attempted to write a reproduction Go program, or provided clear manual reproduction steps if automation was not possible.
+          required: true
--