From 586205420c5097e3ce04d18a4479af03d51d2a47 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Tue, 6 Jul 2021 11:08:24 +0100 Subject: [PATCH 01/15] Create issue template using new format This issue template has been based off of the current issue creation workflow defined in the ISSUE_TEMPLATE.md file This commit allows for that issue template (which is a legacy method of creating an issue) to be deleted --- .github/ISSUE_TEMPLATE/issue.yaml | 104 ++++++++++++++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/issue.yaml diff --git a/.github/ISSUE_TEMPLATE/issue.yaml b/.github/ISSUE_TEMPLATE/issue.yaml new file mode 100644 index 0000000000000..b260db0795adb --- /dev/null +++ b/.github/ISSUE_TEMPLATE/issue.yaml @@ -0,0 +1,104 @@ +name: New Issue +description: Create a new issue +body: +- type: markdown + attributes: + value: | + NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue. +- type: markdown + attributes: + value: | + 1. Please speak English, this is the language all maintainers can speak and write. + 2. Please ask questions or configuration/deploy problems on our Discord + server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). + 3. Please take a moment to check that your issue doesn't already exist. + 4. Make sure it's not mentioned in the FAQ (https://docs.gitea.io/en-us/faq) + 5. Please give all relevant information below for bug reports, because + incomplete details will be handled as an invalid report. +- type: input + id: gitea-ver + attributes: + label: Gitea Version + description: Gitea version (or commit reference) your instance is running + placeholder: v1.14.3 + validations: + required: true +- type: input + id: git-ver + attributes: + label: Git Version + description: The version of git running on the server's systemm + validations: + required: true +- type: input + id: os-ver + attributes: + label: Operating System + description: The operating system you are using to run Gitea + validations: + required: true +- type: textarea + id: run-info + attributes: + label: How are you running Gitea? + description: | + Please include information on whether you built gitea yourself, used one of our downloads or are using some other package + Please also tell us how you are running gitea, e.g. if it is being run from docker, a command-line, systemd etc. + If you are using a package or systemd tell us what distribution you are using + validations: + required: true +- type: dropdown + id: database + attributes: + label: Database + description: What database system are you running? + options: + - PostgreSQL + - MySQL + - MSSQL + - SQLite + 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 really is 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 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: If this issue involves the Web Interface, please upload a screenshot to Imgur or another image service and provide the URL here +- type: checkboxes + id: terms + attributes: + label: Code of Conduct + description: By submitting this issue, you agree to follow our [Code of Conduct](https://example.com) + options: + - label: I agree to follow this project's Code of Conduct + required: true From 35864dd82037bc8db89c7637204e160b98137555 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Tue, 6 Jul 2021 11:09:50 +0100 Subject: [PATCH 02/15] Delete old issue template file This commit deletes the old issue template file, as it is both legacy and replaced by ISSUE_TEMPLATE/issue.yaml --- .github/issue_template.md | 42 --------------------------------------- 1 file changed, 42 deletions(-) delete mode 100644 .github/issue_template.md diff --git a/.github/issue_template.md b/.github/issue_template.md deleted file mode 100644 index 95b97e4de5a62..0000000000000 --- a/.github/issue_template.md +++ /dev/null @@ -1,42 +0,0 @@ - - - - -- Gitea version (or commit ref): -- Git version: -- Operating system: - - - -- Database (use `[x]`): - - [ ] PostgreSQL - - [ ] MySQL - - [ ] MSSQL - - [ ] SQLite -- Can you reproduce the bug at https://try.gitea.io: - - [ ] Yes (provide example URL) - - [ ] No -- Log gist: - - - - -## Description - - -... - - -## Screenshots - - From ef0253a836a08c7572c75532c895e82a76cd3a09 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Tue, 6 Jul 2021 11:16:08 +0100 Subject: [PATCH 03/15] Adjust file upload and remove code of conduct checkbox --- .github/ISSUE_TEMPLATE/issue.yaml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/issue.yaml b/.github/ISSUE_TEMPLATE/issue.yaml index b260db0795adb..afe01e09eead4 100644 --- a/.github/ISSUE_TEMPLATE/issue.yaml +++ b/.github/ISSUE_TEMPLATE/issue.yaml @@ -93,12 +93,4 @@ body: id: screenshots attributes: label: Screenshots - description: If this issue involves the Web Interface, please upload a screenshot to Imgur or another image service and provide the URL here -- type: checkboxes - id: terms - attributes: - label: Code of Conduct - description: By submitting this issue, you agree to follow our [Code of Conduct](https://example.com) - options: - - label: I agree to follow this project's Code of Conduct - required: true + description: If this issue involves the Web Interface, please provide a screenshot or multiple screenshots From 79a5b8e7dfb956023ed3547d6962f5e80e4126c0 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Tue, 6 Jul 2021 11:21:14 +0100 Subject: [PATCH 04/15] Block blank issue creation --- .github/ISSUE_TEMPLATE/config.yaml | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/ISSUE_TEMPLATE/config.yaml diff --git a/.github/ISSUE_TEMPLATE/config.yaml b/.github/ISSUE_TEMPLATE/config.yaml new file mode 100644 index 0000000000000..3ba13e0cec6cb --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yaml @@ -0,0 +1 @@ +blank_issues_enabled: false From fa9bba4ab90decfc624f2fbfaf9b9e1ececdfbdc Mon Sep 17 00:00:00 2001 From: Gabriel Date: Tue, 6 Jul 2021 12:34:17 +0100 Subject: [PATCH 05/15] Update feedback Removed most requirements Updated prompt to include instruction to state whether using try.gitea.io Added default value to Gitea version --- .github/ISSUE_TEMPLATE/issue.yaml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/issue.yaml b/.github/ISSUE_TEMPLATE/issue.yaml index afe01e09eead4..b4c542dc49b2d 100644 --- a/.github/ISSUE_TEMPLATE/issue.yaml +++ b/.github/ISSUE_TEMPLATE/issue.yaml @@ -21,6 +21,7 @@ body: label: Gitea Version description: Gitea version (or commit reference) your instance is running placeholder: v1.14.3 + value: v1.14.3 validations: required: true - type: input @@ -28,21 +29,17 @@ body: attributes: label: Git Version description: The version of git running on the server's systemm - validations: - required: true - type: input id: os-ver attributes: label: Operating System description: The operating system you are using to run Gitea - validations: - required: true - type: textarea id: run-info attributes: label: How are you running Gitea? description: | - Please include information on whether you built gitea yourself, used one of our downloads or are using some other package + Please include information on whether you built gitea yourself, used one of our downloads, are using https://try.gitea.io or are using some other package Please also tell us how you are running gitea, e.g. if it is being run from docker, a command-line, systemd etc. If you are using a package or systemd tell us what distribution you are using validations: @@ -57,8 +54,6 @@ body: - MySQL - MSSQL - SQLite - validations: - required: true - type: dropdown id: can-reproduce attributes: From 5bebf2b960097ff11ad55882dfc279b3c5bc4e70 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Tue, 6 Jul 2021 13:53:51 +0100 Subject: [PATCH 06/15] Create Feature Request issue form --- .github/ISSUE_TEMPLATE/feature-request.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/feature-request.yaml diff --git a/.github/ISSUE_TEMPLATE/feature-request.yaml b/.github/ISSUE_TEMPLATE/feature-request.yaml new file mode 100644 index 0000000000000..6e5d6abc14c3c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request.yaml @@ -0,0 +1,16 @@ +name: Feature Request +description: Got an idea for a feature that Gitea doesn't have currently? Submit your idea here! +body: +- type: textarea + id: description + attributes: + label: Feature Description + placeholder: | + I think it would be great if Gitea had... + validations: + required: true +- type: textarea + id: screenshots + attributes: + label: Screenshots + description: If you can, provide screenshots of an implementation on another site e.g. GitHub From 15edbd9117e17d7740fa6bf351e6060e21dbfc78 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Tue, 6 Jul 2021 14:03:22 +0100 Subject: [PATCH 07/15] Update and rename issue.yaml to bug-report.yaml --- .github/ISSUE_TEMPLATE/{issue.yaml => bug-report.yaml} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename .github/ISSUE_TEMPLATE/{issue.yaml => bug-report.yaml} (97%) diff --git a/.github/ISSUE_TEMPLATE/issue.yaml b/.github/ISSUE_TEMPLATE/bug-report.yaml similarity index 97% rename from .github/ISSUE_TEMPLATE/issue.yaml rename to .github/ISSUE_TEMPLATE/bug-report.yaml index b4c542dc49b2d..e79bbdde9a963 100644 --- a/.github/ISSUE_TEMPLATE/issue.yaml +++ b/.github/ISSUE_TEMPLATE/bug-report.yaml @@ -1,5 +1,5 @@ -name: New Issue -description: Create a new issue +name: Bug Report +description: Found something you weren't expecting? Report it here! body: - type: markdown attributes: From e1685c4eeb17f751edc79ae8207f8884e1348bb2 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Tue, 6 Jul 2021 14:36:08 +0100 Subject: [PATCH 08/15] Enable blank issue creation Co-authored-by: a1012112796 <1012112796@qq.com> --- .github/ISSUE_TEMPLATE/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/config.yaml b/.github/ISSUE_TEMPLATE/config.yaml index 3ba13e0cec6cb..0086358db1eb9 100644 --- a/.github/ISSUE_TEMPLATE/config.yaml +++ b/.github/ISSUE_TEMPLATE/config.yaml @@ -1 +1 @@ -blank_issues_enabled: false +blank_issues_enabled: true From 361c97289acd804ec6459191b44df61d466f4fa9 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Wed, 7 Jul 2021 10:41:40 +0100 Subject: [PATCH 09/15] Update config.yaml --- .github/ISSUE_TEMPLATE/config.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/config.yaml b/.github/ISSUE_TEMPLATE/config.yaml index 0086358db1eb9..e79cc9d4328d5 100644 --- a/.github/ISSUE_TEMPLATE/config.yaml +++ b/.github/ISSUE_TEMPLATE/config.yaml @@ -1 +1,17 @@ blank_issues_enabled: true +contact_links: + - name: Security Concern + url: https://tinyurl.com/security-gitea + about: For security concerns, please send a mail to security@gitea.io instead of opening a public issue. + - name: Discord Server + url: https://discord.gg/gitea + about: Please ask questions and discuss configuration or deployment problems here. + - name: Discourse Forum + url: https://discourse.gitea.io + about: Questions and configuration or deployment problems can also be discussed on our forum. + - name: Frequently Asked Questions + url: https://docs.gitea.io/en-us/faq + about: Please check if your question isn't mentioned here. + - name: Crowdin Translations + url: https://crowdin.com/project/gitea + about: Translations are managed here. From aef009779fc868e71ee3bb89a565ba4562ca65ab Mon Sep 17 00:00:00 2001 From: Gabriel Date: Wed, 7 Jul 2021 10:42:07 +0100 Subject: [PATCH 10/15] Remove default & placeholder from Gitea version --- .github/ISSUE_TEMPLATE/bug-report.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yaml b/.github/ISSUE_TEMPLATE/bug-report.yaml index e79bbdde9a963..b0f88a98a601d 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yaml +++ b/.github/ISSUE_TEMPLATE/bug-report.yaml @@ -20,8 +20,6 @@ body: attributes: label: Gitea Version description: Gitea version (or commit reference) your instance is running - placeholder: v1.14.3 - value: v1.14.3 validations: required: true - type: input From 1adf8853b3f583bf57f80e11183ec7944085a322 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Fri, 9 Jul 2021 17:28:39 +0100 Subject: [PATCH 11/15] Create issue template in .gitea directory --- .gitea/issue_template.md | 42 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .gitea/issue_template.md diff --git a/.gitea/issue_template.md b/.gitea/issue_template.md new file mode 100644 index 0000000000000..95b97e4de5a62 --- /dev/null +++ b/.gitea/issue_template.md @@ -0,0 +1,42 @@ + + + + +- Gitea version (or commit ref): +- Git version: +- Operating system: + + + +- Database (use `[x]`): + - [ ] PostgreSQL + - [ ] MySQL + - [ ] MSSQL + - [ ] SQLite +- Can you reproduce the bug at https://try.gitea.io: + - [ ] Yes (provide example URL) + - [ ] No +- Log gist: + + + + +## Description + + +... + + +## Screenshots + + From 4657980b06ae0c8adb357d865b3870bb6b54c34f Mon Sep 17 00:00:00 2001 From: Gabriel Date: Fri, 9 Jul 2021 17:30:57 +0100 Subject: [PATCH 12/15] Add relevant bug report message to feature request --- .github/ISSUE_TEMPLATE/feature-request.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/feature-request.yaml b/.github/ISSUE_TEMPLATE/feature-request.yaml index 6e5d6abc14c3c..69b338ddf8d02 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yaml +++ b/.github/ISSUE_TEMPLATE/feature-request.yaml @@ -1,6 +1,13 @@ name: Feature Request description: Got an idea for a feature that Gitea doesn't have currently? Submit your idea here! body: +- type: markdown + attributes: + value: | + 1. Please speak English, this is the language all maintainers can speak and write. + 2. Please ask questions or configuration/deploy problems on our Discord + server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). + 3. Please take a moment to check that your feature hasn't already been suggested. - type: textarea id: description attributes: From 7f75fc6b8b6e8a2eae62dd7e8454f234d1f9758b Mon Sep 17 00:00:00 2001 From: Gabriel Date: Fri, 9 Jul 2021 17:32:01 +0100 Subject: [PATCH 13/15] Adjust name to remove banner There is a banner that tells you to create a config.yml when you already have a config.yaml Renaming the file stops this from occurring. --- .github/ISSUE_TEMPLATE/{config.yaml => config.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/ISSUE_TEMPLATE/{config.yaml => config.yml} (100%) diff --git a/.github/ISSUE_TEMPLATE/config.yaml b/.github/ISSUE_TEMPLATE/config.yml similarity index 100% rename from .github/ISSUE_TEMPLATE/config.yaml rename to .github/ISSUE_TEMPLATE/config.yml From 4b76397bd2e9b863520324b6c3f4449d28664b0e Mon Sep 17 00:00:00 2001 From: Gabriel Date: Mon, 19 Jul 2021 11:12:16 +0100 Subject: [PATCH 14/15] Add UI bug report form --- .github/ISSUE_TEMPLATE/ui.bug-report.yaml | 70 +++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/ui.bug-report.yaml diff --git a/.github/ISSUE_TEMPLATE/ui.bug-report.yaml b/.github/ISSUE_TEMPLATE/ui.bug-report.yaml new file mode 100644 index 0000000000000..06ddf6a2b806e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/ui.bug-report.yaml @@ -0,0 +1,70 @@ +name: Web Interface Bug Report +description: Something doesn't look quite as it should? Report it here! +body: +- type: markdown + attributes: + value: | + NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue. +- type: markdown + attributes: + value: | + 1. Please speak English, this is the language all maintainers can speak and write. + 2. Please ask questions or configuration/deploy problems on our Discord + server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). + 3. Please take a moment to check that your issue doesn't already exist. + 4. Make sure it's not mentioned in the FAQ (https://docs.gitea.io/en-us/faq) + 5. Please give all relevant information below for bug reports, because + incomplete details will be handled as an invalid report. +- type: input + id: gitea-ver + attributes: + label: Gitea Version + description: Gitea version (or commit reference) your instance is running + 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 + attributes: + label: Browser Version + description: The browser and version that you are using to access Gitea +- type: textarea + id: run-info + attributes: + label: How are you running Gitea? + description: | + Please include information on whether you built gitea yourself, used one of our downloads, are using https://try.gitea.io or are using some other package + Please also tell us how you are running gitea, e.g. if it is being run from docker, a command-line, systemd etc. + If you are using a package or systemd tell us what distribution you are using + 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: 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 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 From a6d409cd87d5df2bf3740734e99539a18ab4bf42 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Mon, 19 Jul 2021 11:15:11 +0100 Subject: [PATCH 15/15] Remove unnecessary question --- .github/ISSUE_TEMPLATE/ui.bug-report.yaml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/ui.bug-report.yaml b/.github/ISSUE_TEMPLATE/ui.bug-report.yaml index 06ddf6a2b806e..deae94052e67a 100644 --- a/.github/ISSUE_TEMPLATE/ui.bug-report.yaml +++ b/.github/ISSUE_TEMPLATE/ui.bug-report.yaml @@ -32,14 +32,6 @@ body: attributes: label: Browser Version description: The browser and version that you are using to access Gitea -- type: textarea - id: run-info - attributes: - label: How are you running Gitea? - description: | - Please include information on whether you built gitea yourself, used one of our downloads, are using https://try.gitea.io or are using some other package - Please also tell us how you are running gitea, e.g. if it is being run from docker, a command-line, systemd etc. - If you are using a package or systemd tell us what distribution you are using validations: required: true - type: dropdown