]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
chore: Improve GitHub issue templates
authorJoel Rosdahl <joel@rosdahl.net>
Tue, 27 Jan 2026 18:17:48 +0000 (19:17 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Tue, 27 Jan 2026 18:20:27 +0000 (19:20 +0100)
.github/ISSUE_TEMPLATE/bug_report.md [deleted file]
.github/ISSUE_TEMPLATE/config.yml
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/improvement.md
.github/ISSUE_TEMPLATE/problem_report.yml [new file with mode: 0644]

diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
deleted file mode 100644 (file)
index 5d6c810..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
----
-name: 🐞 Bug report
-about: Create a report to help us improve
-title: ''
-labels: bug
-assignees: ''
-
----
-### How to reproduce ###
-<!-- Steps to reproduce the behavior: -->
-
-1. 
-2. 
-3. 
-
-### Actual behavior ###
-<!-- What happened? -->
-
-
-
-### Expected behavior ###
-<!-- What did you expect to happen? -->
-
-
-
-### Environment ###
-<!-- Which ccache version did you use? -->
-
-ccache version X.Y.Z
-
-<!-- If applicable, add more info such as compiler, OS and file system below: -->
-
index e587130fe826f1dcf3ee68b4edab3edbcb92ca08..ba7d46632bf078b210598943f17427b5e1a0359f 100644 (file)
@@ -1,4 +1,4 @@
 contact_links:
-  - name: 🤔 Question or discussion
+  - name: 🤔 Question, support or discussion
     url: https://github.com/ccache/ccache/discussions
-    about: Please go to https://github.com/ccache/ccache/discussions
+    about: Ask questions and discuss ccache
index b89d2965f0ca2e5bfdb495adaa0399c9d7ddb7cd..50a703572dc83c6e26929a447ea8b7e02d590fcb 100644 (file)
@@ -1,8 +1,8 @@
 ---
 name: ✨ Feature request
-about: Suggest a new feature for this project
+about: Suggest a new feature
 title: ''
-labels: feature
+labels: ["issue: feature"]
 assignees: ''
 
 ---
index 542ec0e38ef1d7bdac00493b9f71f356334620e3..dd609fa635774373b93707ebd9f9c7c1f61b665c 100644 (file)
@@ -1,11 +1,10 @@
 ---
-name: ð\9f\93\88 Improvement
-about: Suggest an improvement that is neither a bug fix nor a new feature
+name: ð\9f\9b ï¸\8f Improvement
+about: Suggest an improvement of an existing feature
 title: ''
-labels: improvement
+labels: ["issue: improvement"]
 assignees: ''
 
 ---
-### Description ###
 <!-- Please describe your improvement suggestion below: -->
 
diff --git a/.github/ISSUE_TEMPLATE/problem_report.yml b/.github/ISSUE_TEMPLATE/problem_report.yml
new file mode 100644 (file)
index 0000000..cf157ff
--- /dev/null
@@ -0,0 +1,82 @@
+name: ⚠️ Problem report
+description: Report a problem (e.g. bug or incompatibility) with existing behavior
+body:
+  - type: markdown
+    attributes:
+      value: |
+        Thanks for wanting to improve ccache! If you are unsure if what you're experiencing is a real problem, consider using the [discussion forum](https://github.com/ccache/ccache/discussions/categories/support) for support questions.
+
+  - type: textarea
+    id: description
+    attributes:
+      label: Problem description
+      description: A concise description of what the problem is.
+    validations:
+      required: true
+
+  - type: textarea
+    id: reproduce-behavior
+    attributes:
+      label: How to reproduce the problem
+      description: Steps to reproduce the existing behavior.
+      placeholder: |
+        1. Do this...
+        2. Do that...
+        3. ...
+    validations:
+      required: true
+
+  - type: textarea
+    id: actual-behavior
+    attributes:
+      label: Actual behavior
+      description: What happened after the reproduction steps.
+    validations:
+      required: true
+
+  - type: textarea
+    id: expected-behavior
+    attributes:
+      label: Expected behavior
+      description: What you expected to happen after the reproduction steps.
+    validations:
+      required: true
+
+  - type: input
+    id: ccache-version
+    attributes:
+      label: Ccache version
+      description: Which ccache version did you use?
+      placeholder: 1.2.3
+    validations:
+      required: true
+
+  - type: dropdown
+    id: os
+    attributes:
+      label: Operating system
+      description: Which operating system did you use?
+      options:
+        - Linux
+        - Windows
+        - macOS
+        - Other (please specify in Environment below)
+    validations:
+      required: true
+
+  - type: textarea
+    id: environment
+    attributes:
+      label: Environment
+      description: If applicable, details about the environment (compiler, OS, file system, etc).
+    validations:
+      required: false
+
+  - type: textarea
+    id: logs
+    attributes:
+      label: Logs
+      description: If applicable, add logs from ccache's [log mode](https://ccache.dev/manual/latest.html#config_log_file) or [debug mode](https://ccache.dev/manual/latest.html#config_debug).
+      render: shell
+    validations:
+      required: false