From bfe2e3d562307eb8b6659d71d2c10bf3c1284e77 Mon Sep 17 00:00:00 2001 From: delvh Date: Mon, 21 Mar 2022 13:00:25 +0100 Subject: [PATCH] Reorder issue templates and automatically add labels (#18875) * Reorder bug-report.yaml * Add bug label on bug-report.yaml * Add feature label on feature-request.yaml * Reorder ui.bug-report.yaml * Apply suggestions Co-authored-by: Lunny Xiao Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: zeripath --- .github/ISSUE_TEMPLATE/bug-report.yaml | 71 +++++++++++---------- .github/ISSUE_TEMPLATE/feature-request.yaml | 1 + .github/ISSUE_TEMPLATE/ui.bug-report.yaml | 45 ++++++------- 3 files changed, 60 insertions(+), 57 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yaml b/.github/ISSUE_TEMPLATE/bug-report.yaml index 286bfec3e..9dacad0d5 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yaml +++ b/.github/ISSUE_TEMPLATE/bug-report.yaml @@ -1,5 +1,6 @@ name: Bug Report description: Found something you weren't expecting? Report it here! +labels: kind/bug body: - type: markdown attributes: @@ -19,6 +20,13 @@ body: 6. In particular it's really important to provide pertinent logs. You must give us DEBUG level logs. Please read https://docs.gitea.io/en-us/logging-configuration/#debugging-problems In addition, if your problem relates to git commands set `RUN_MODE=dev` at the top of app.ini +- type: textarea + id: description + attributes: + label: Description + description: | + Please provide a description of your issue here, with a URL if you were able to reproduce the issue (see below) + If you are using a proxy or a CDN (e.g. Cloudflare) in front of Gitea, please disable the proxy/CDN fully and access Gitea directly to confirm the issue still persists without those services. - type: input id: gitea-ver attributes: @@ -26,6 +34,34 @@ body: description: Gitea version (or commit reference) of your instance validations: required: true +- type: dropdown + id: can-reproduce + attributes: + label: Can you reproduce the bug on the Gitea demo site? + description: | + If so, please provide a URL in the Description field + URL of Gitea demo: https://try.gitea.io + options: + - "Yes" + - "No" + validations: + required: true +- type: markdown + attributes: + value: | + It's really important to provide pertinent logs + Please read https://docs.gitea.io/en-us/logging-configuration/#debugging-problems + In addition, if your problem relates to git commands set `RUN_MODE=dev` at the top of app.ini +- type: input + id: logs + attributes: + label: Log Gist + description: Please provide a gist URL of your logs, with any sensitive information (e.g. API keys) removed/hidden +- type: textarea + id: screenshots + attributes: + label: Screenshots + description: If this issue involves the Web Interface, please provide one or more screenshots - type: input id: git-ver attributes: @@ -56,38 +92,3 @@ body: - MySQL - MSSQL - SQLite -- type: dropdown - id: can-reproduce - attributes: - label: Can you reproduce the bug on the Gitea demo site? - description: | - If so, please provide a URL in the Description field - URL of Gitea demo: https://try.gitea.io - options: - - "Yes" - - "No" - validations: - required: true -- type: markdown - attributes: - value: | - It's really important to provide pertinent logs - Please read https://docs.gitea.io/en-us/logging-configuration/#debugging-problems - In addition, if your problem relates to git commands set `RUN_MODE=dev` at the top of app.ini -- type: input - id: logs - attributes: - label: Log Gist - description: Please provide a gist URL of your logs, with any sensitive information (e.g. API keys) removed/hidden -- type: textarea - id: description - attributes: - label: Description - description: | - Please provide a description of your issue here, with a URL if you were able to reproduce the issue (see above) - If you are using a proxy or a CDN (e.g. Cloudflare) in front of Gitea, please disable the proxy/CDN fully and access Gitea directly to confirm the issue still persists without those services. -- type: textarea - id: screenshots - attributes: - label: Screenshots - description: If this issue involves the Web Interface, please provide one or more screenshots diff --git a/.github/ISSUE_TEMPLATE/feature-request.yaml b/.github/ISSUE_TEMPLATE/feature-request.yaml index 69b338ddf..37f57c8f2 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yaml +++ b/.github/ISSUE_TEMPLATE/feature-request.yaml @@ -1,5 +1,6 @@ name: Feature Request description: Got an idea for a feature that Gitea doesn't have currently? Submit your idea here! +labels: ["kind/feature", "kind/proposal"] body: - type: markdown attributes: diff --git a/.github/ISSUE_TEMPLATE/ui.bug-report.yaml b/.github/ISSUE_TEMPLATE/ui.bug-report.yaml index 2c8edafaf..80db52d7f 100644 --- a/.github/ISSUE_TEMPLATE/ui.bug-report.yaml +++ b/.github/ISSUE_TEMPLATE/ui.bug-report.yaml @@ -1,5 +1,6 @@ name: Web Interface Bug Report description: Something doesn't look quite as it should? Report it here! +labels: ["kind/bug", "kind/ui"] body: - type: markdown attributes: @@ -18,23 +19,25 @@ body: 6. In particular it's really important to provide pertinent logs. If you are certain that this is a javascript error, show us the javascript console. If the error appears to relate to Gitea the server you must also give us DEBUG level logs. (See https://docs.gitea.io/en-us/logging-configuration/#debugging-problems) -- type: input - id: gitea-ver +- type: textarea + id: description attributes: - label: Gitea Version - description: Gitea version (or commit reference) your instance is running + label: Description + description: | + Please provide a description of your issue here, with a URL if you were able to reproduce the issue (see below) + If using a proxy or a CDN (e.g. CloudFlare) in front of gitea, please disable the proxy/CDN fully and connect to gitea directly to confirm the issue still persists without those services. +- type: textarea + id: screenshots + attributes: + label: Screenshots + description: Please provide at least 1 screenshot showing the issue. validations: required: true - type: input - id: os-ver - attributes: - label: Operating System - description: The operating system you are using to access Gitea -- type: input - id: browser-ver + id: gitea-ver attributes: - label: Browser Version - description: The browser and version that you are using to access Gitea + label: Gitea Version + description: Gitea version (or commit reference) your instance is running validations: required: true - type: dropdown @@ -49,17 +52,15 @@ body: - "No" validations: required: true -- type: textarea - id: description +- type: input + id: os-ver attributes: - label: Description - description: | - Please provide a description of your issue here, with a URL if you were able to reproduce the issue (see above) - If using a proxy or a CDN (e.g. CloudFlare) in front of gitea, please disable the proxy/CDN fully and connect to gitea directly to confirm the issue still persists without those services. -- type: textarea - id: screenshots + label: Operating System + description: The operating system you are using to access Gitea +- type: input + id: browser-ver attributes: - label: Screenshots - description: Please provide at least 1 screenshot showing the issue. + label: Browser Version + description: The browser and version that you are using to access Gitea validations: required: true