From 54eacca28708d6742899633aa387dc7549884085 Mon Sep 17 00:00:00 2001 From: 1F616EMO~nya Date: Fri, 25 Aug 2023 23:00:05 +0800 Subject: [PATCH] Use issue templates for creating issues (#13222) --- .github/ISSUE_TEMPLATE/bug_report.md | 36 -------- .github/ISSUE_TEMPLATE/bug_report.yaml | 91 +++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 8 ++ .github/ISSUE_TEMPLATE/feature_request.md | 25 ------ .github/ISSUE_TEMPLATE/feature_request.yaml | 39 +++++++++ 5 files changed, 138 insertions(+), 61 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yaml create mode 100644 .github/ISSUE_TEMPLATE/config.yml delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yaml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 835d6f564..000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: Unconfirmed bug -assignees: '' ---- - -##### Minetest version - -``` - -``` - - -Active renderer: -Irrlicht device: - -##### OS / Hardware - -Operating system: -CPU: - - -GPU model: -OpenGL version: - -##### Summary - - -##### Steps to reproduce - diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml new file mode 100644 index 000000000..24cee5aae --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -0,0 +1,91 @@ +name: Bug report +description: Create a report to help us improve +labels: ["Unconfirmed bug"] +body: + - type: markdown + attributes: + value: | + Please note the following: + 1. **Please update your Minetest Engine to the latest stable or dev version** before submitting bug reports. Make sure the bug is still reproducible on the latest version. + 2. This page is for reporting the bugs of **the engine itself**. For bugs in a particular game, please [search for the game in the ContentDB](https://content.minetest.net/packages/?type=game) and submit a bug report in their issue trackers. + * For example, you can submit issues about the Minetest Game (the official game of Minetest) [in its own repository](https://github.com/minetest/minetest_game/issues). + 3. Please provide as many details as possible for us to spot the problem quicker. + - type: textarea + attributes: + label: Minetest version + description: | + Paste the Minetest version below. + If you are on a devel version, please add a git commit hash. + You can use `minetest --version` to find it. + You can also refer to the "About" tab of the menu. + placeholder: | + Example: + Minetest 5.7.0-dev-ca13c51 (Linux) + Using Irrlicht 1.9.0mt9 + Using LuaJIT 2.1.0-beta3 + BUILD_TYPE=Release + RUN_IN_PLACE=1 + USE_CURL=1 + USE_GETTEXT=1 + USE_SOUND=1 + STATIC_SHAREDIR="." + STATIC_LOCALEDIR="locale" + render: "true" + validations: + required: true + - type: input + attributes: + label: Active renderer + description: For graphical and input-related issues. You can find these in the About tab in the mainmenu. + placeholder: "Example: OpenGL 4.6.0" + validations: + required: false + - type: input + attributes: + label: Irrlicht device + description: + placeholder: "Example: X11" + validations: + required: false + - type: input + attributes: + label: Operating system and version + description: It is recommended to upgrade your operating system to see if the problem still exists. + placeholder: "Example: Ubuntu 22.04" + validations: + required: true + - type: input + attributes: + label: CPU model + description: Usually found in system settings. + placeholder: "Example: Intel i5-2410M (4) @ 2.900GHz" + validations: + required: false + - type: markdown + attributes: + value: The GPU model and OpenGL version can be omitted if the bug is not a graphical issue. + - type: input + attributes: + label: GPU model + description: Usually found in system settings. + placeholder: "Example: NVIDA GeForce RTX 4090" + validations: + required: false + - type: input + attributes: + label: OpenGL version + placeholder: "Example: 4.6" + validations: + required: false + - type: textarea + attributes: + label: Summary + description: Describe your problem here. + validations: + required: true + - type: textarea + attributes: + label: Steps to reproduce + description: Explain how the problem has happened, providing a minimal test (i.e. a code snippet reduced to the bone) where possible. + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..414391773 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: true +contact_links: + - name: Submit issues about Minetest Game + url: https://github.com/minetest/minetest_game/issues/new/choose + about: Only submit issues of the engine in this repository's issue tracker. Submit those of Minetest Game in its own issue tracker. + - name: Search for issue trackers of third-party games + url: https://content.minetest.net/packages/?type=game + about: For issues of third-party games, search for the game in the ContentDB and then submit an issue in their issue tracker. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index ebcfa98ee..000000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: '' -labels: Feature request -assignees: '' ---- - -## Problem - -A clear and concise description of what the problem is. -ie: Why is this needed? -Ex. I'm always frustrated when [...] - -## Solutions - -A clear and concise description of what you want to happen. - -## Alternatives - -A clear and concise description of any alternative solutions or features you've considered. - -## Additional context - -Add any other context or screenshots about the feature request here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml new file mode 100644 index 000000000..5a16b24fe --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yaml @@ -0,0 +1,39 @@ +name: Feature request +description: Suggest an idea for this project +labels: ["Feature request"] +body: + - type: markdown + attributes: + value: | + Please note the following: + 1. Only submit a feature request if the feature does not exist on the latest dev version. + 2. This page is for suggesting changes to **the engine itself**. To suggest changes to games, please [search for the game in the ContentDB](https://content.minetest.net/packages/?type=game) and submit a feature request in their issue trackers. + - type: textarea + attributes: + label: Problem + description: | + A clear and concise description of the problem, i.e. "Why is this needed?" + Example: I'm always frustrated when [...] + validations: + required: true + - type: textarea + attributes: + label: Solutions + description: | + A clear and concise description of what you want to happen. + validations: + required: true + - type: textarea + attributes: + label: Alternatives + description: | + A clear and concise description of any alternative solutions or features you've considered. + validations: + required: true + - type: textarea + attributes: + label: Additional context + description: | + Add any other context or screenshots about the feature request here. + validations: + required: false