From ee470bb46ba64defa01110277debc695c8057454 Mon Sep 17 00:00:00 2001 From: latercomer Date: Fri, 31 May 2024 15:49:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0issue=E6=A8=A1=E6=9D=BF?= =?UTF-8?q?=EF=BC=8C=E9=87=87=E7=94=A8=E8=AE=AE=E9=A2=98=E8=A1=A8=E5=8D=95?= =?UTF-8?q?=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/ISSUE_TEMPLATE/ISSUE_TEMPLATE.md | 3 ++ .../PULL_REQUEST_TEMPLATE.md | 0 .github/ISSUE_TEMPLATE/bug_report.yml | 49 +++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 8 +++ .github/ISSUE_TEMPLATE/feature_request.yml | 31 ++++++++++++ 5 files changed, 91 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/ISSUE_TEMPLATE.md rename .github/{ => ISSUE_TEMPLATE}/PULL_REQUEST_TEMPLATE.md (100%) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE/ISSUE_TEMPLATE.md new file mode 100644 index 00000000000..5b85dc2d0f2 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/ISSUE_TEMPLATE.md @@ -0,0 +1,3 @@ + + + diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/ISSUE_TEMPLATE/PULL_REQUEST_TEMPLATE.md similarity index 100% rename from .github/PULL_REQUEST_TEMPLATE.md rename to .github/ISSUE_TEMPLATE/PULL_REQUEST_TEMPLATE.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000000..e703f0ca663 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,49 @@ +name: 🐛 Bug Report +description: Create a report to help us improve +title: "[Bug] " +labels: ["bug-report"] +body: + - type: input + attributes: + label: RT-Thread Version + description: | + Which version/branch/git-hash of RT-Thread are you using? + validations: + required: true + + - type: input + attributes: + label: Hardware Type/Architectures + description: Specify your Hardware/BSP model. + validations: + required: true + + - type: dropdown + attributes: + label: Develop Toolchain + description: which toolchain are you using? + options: + - Other + - RT-Thread Studio + - Microsoft VScode + - MDK Keil + - IAR + - GCC + validations: + required: true + + - type: textarea + attributes: + label: Describe the bug + description: A clear and concise description of the bug. + placeholder: | + 1. Steps to reproduce the behavior + 2. Expected behavior + 3. Add screenshot / media if you have them + validations: + required: true + + - type: textarea + attributes: + label: Other additional context + description: Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000000..5a1a2c93cf8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: false +contact_links: + - name: Document Center + url: https://www.rt-thread.org/document/site + about: How to use or develop RT-Thread for beginner, please visit Document Center + - name: Community Forum + url: https://club.rt-thread.org + about: For questions about RT-Thread or related components, it is recommended to visit the RT-Thread Forum first diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 00000000000..a3745933072 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,31 @@ +name: 🚀 Feature Request +description: Suggest an idea for this project +title: "[Feature] " +labels: ["feature-request"] +body: + - type: markdown + attributes: + value: | + ## Please note that feature requests are not 'fire and forget' + It is a lot more likely that the feature you would like to have will be implemented if you keep watching your feature request, and provide more details to developers looking into implementing your feature, and help them with testing. + + - type: textarea + attributes: + label: Describe problem solved by the proposed feature + description: A clear and concise description of the problem, if any, this feature will solve. E.g. I'm always frustrated when ... + validations: + required: true + + - type: textarea + attributes: + label: Describe your preferred solution + description: A clear and concise description of what you want to happen. + validations: + required: false + + - type: textarea + attributes: + label: Describe possible alternatives + description: A clear and concise description of any alternative solutions or features you've considered. + validations: + required: false