From d0f9fefb128415ed4e8d692aa779eebea3e0fcca Mon Sep 17 00:00:00 2001 From: SuperManito <68613938+SuperManito@users.noreply.github.com> Date: Wed, 31 Jan 2024 23:33:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=AE=AE=E9=A2=98=E6=A8=A1?= =?UTF-8?q?=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitee/issue_template.md | 1 + .github/ISSUE_TEMPLATE/bug.yml | 68 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/bug_report.md | 71 ----------------------- .github/ISSUE_TEMPLATE/feature.yml | 10 ++++ .github/ISSUE_TEMPLATE/feature_request.md | 10 ---- 5 files changed, 79 insertions(+), 81 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/bug.yml delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/feature.yml delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md diff --git a/.gitee/issue_template.md b/.gitee/issue_template.md index 61af9ba..16dc681 100644 --- a/.gitee/issue_template.md +++ b/.gitee/issue_template.md @@ -30,6 +30,7 @@ - [ ] `openEuler` - [ ] `openSUSE` - [ ] `Arch Linux` +- [ ] `Alpine Linux` ## 2. 处理器架构 diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 0000000..c59879c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -0,0 +1,68 @@ +name: 🐞 上报错误 +description: Report bug +labels: ["bug"] +body: + - type: dropdown + id: os + attributes: + label: 操作系统 + options: + - Debian + - Ubuntu + - Kali Linux + - Deepin + - Red Hat Enterprise Linux + - Fedora + - CentOS / CentOS Stream + - Rocky Linux + - AlmaLinux + - OpenCloudOS + - openEuler + - openSUSE + - Arch Linux + - Alpine Linux + validations: + required: true + + - type: dropdown + id: architecture + attributes: + label: 处理器架构 + options: + - x86_64 / x86_32 + - arm64 / arm/v8 / arm/v7 / arm/v6 + - ppc64le / s390x + - 其它 + validations: + required: true + + - type: textarea + id: release + attributes: + label: 系统详细信息 + description: '请将命令 "cat /etc/os-release" 的输出结果粘贴在下方' + validations: + required: false + + - type: input + id: uname + attributes: + label: 环境信息 + description: '请将命令 "uname -a" 的输出结果粘贴在下方' + validations: + required: false + + - type: textarea + id: what-happened + attributes: + label: 描述您的问题 + validations: + required: true + + - type: textarea + id: logs + attributes: + label: 详细的执行日志 + placeholder: 日志内容或截图 + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 7b93650..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,71 +0,0 @@ ---- -name: Bug report -about: 错误提交 -title: '' -labels: '' -assignees: '' - ---- - - - - - -## 1. 操作系统 - -- [ ] `Debian` -- [ ] `Ubuntu` -- [ ] `Kali Linux` -- [ ] `Deepin` -- [ ] `Red Hat Enterprise Linux` -- [ ] `Fedora` -- [ ] `CentOS / CentOS Stream` -- [ ] `Rocky Linux` -- [ ] `AlmaLinux` -- [ ] `OpenCloudOS` -- [ ] `openEuler` -- [ ] `openSUSE` -- [ ] `Arch Linux` - -## 2. 处理器架构 - -- [ ] `x86_64` `x86_32` -- [ ] `arm64` `arm/v8` `arm/v7` `arm/v6` -- [ ] `ppc64le` `s390x` -- [ ] `Other` - -## 3. 系统详细信息 - -``` - -``` - -## 4. 环境信息 - -``` - -``` - -## 5. 详细叙述你的问题 -### (1) 具体问题 -A: - - -### (2) 详细的执行日志 - -``` - -``` diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml new file mode 100644 index 0000000..914a806 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -0,0 +1,10 @@ +name: 💡 功能请求与建议 +description: Feature request +labels: ["enhancement"] +body: + - type: textarea + id: content + attributes: + label: '请在下方描述您的功能请求或建议' + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index a090227..0000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -name: Feature request -about: 意见与建议 -title: '' -labels: '' -assignees: '' - ---- - -