From: Joel Rosdahl Date: Tue, 27 Jan 2026 18:17:48 +0000 (+0100) Subject: chore: Improve GitHub issue templates X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07d52470e3be6041a1afee59a800bc5183c43d9a;p=thirdparty%2Fccache.git chore: Improve GitHub issue templates --- diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 5d6c81061..000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -name: 🐞 Bug report -about: Create a report to help us improve -title: '' -labels: bug -assignees: '' - ---- -### How to reproduce ### - - -1. -2. -3. - -### Actual behavior ### - - - - -### Expected behavior ### - - - - -### Environment ### - - -ccache version X.Y.Z - - - diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index e587130fe..ba7d46632 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -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 diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index b89d2965f..50a703572 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -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: '' --- diff --git a/.github/ISSUE_TEMPLATE/improvement.md b/.github/ISSUE_TEMPLATE/improvement.md index 542ec0e38..dd609fa63 100644 --- a/.github/ISSUE_TEMPLATE/improvement.md +++ b/.github/ISSUE_TEMPLATE/improvement.md @@ -1,11 +1,10 @@ --- -name: 📈 Improvement -about: Suggest an improvement that is neither a bug fix nor a new feature +name: 🛠️ Improvement +about: Suggest an improvement of an existing feature title: '' -labels: improvement +labels: ["issue: improvement"] assignees: '' --- -### Description ### diff --git a/.github/ISSUE_TEMPLATE/problem_report.yml b/.github/ISSUE_TEMPLATE/problem_report.yml new file mode 100644 index 000000000..cf157fffa --- /dev/null +++ b/.github/ISSUE_TEMPLATE/problem_report.yml @@ -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