From 4fafa3f88d5a5cd9780dcefe44cc864e376f829a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=82=A0=E9=9D=99=E8=90=9D=E8=8E=89?= Date: Sat, 30 Oct 2021 16:06:56 +0800 Subject: [PATCH] Update Issue Template (#395) For ahdg6 suggest --- .github/ISSUE_TEMPLATE/bug-report-cn.md | 78 -------------- .github/ISSUE_TEMPLATE/bug-report-cn.yml | 127 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/bug-report-en.md | 66 ------------ .github/ISSUE_TEMPLATE/bug-report-en.yml | 117 +++++++++++++++++++++ .github/workflows/issuebot.yml | 12 --- 5 files changed, 244 insertions(+), 156 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug-report-cn.md create mode 100644 .github/ISSUE_TEMPLATE/bug-report-cn.yml delete mode 100644 .github/ISSUE_TEMPLATE/bug-report-en.md create mode 100644 .github/ISSUE_TEMPLATE/bug-report-en.yml delete mode 100644 .github/workflows/issuebot.yml diff --git a/.github/ISSUE_TEMPLATE/bug-report-cn.md b/.github/ISSUE_TEMPLATE/bug-report-cn.md deleted file mode 100644 index 99bb20db..00000000 --- a/.github/ISSUE_TEMPLATE/bug-report-cn.md +++ /dev/null @@ -1,78 +0,0 @@ ---- -name: Bug Report CN -about: 错误报告中文模板 -title: '' -labels: 'Triage' -assignees: '' - ---- - - - - - - -### 我正在运行 - -* **Arclight** [版本] - -* **你确认这是最新版吗** [是/否,因为___] - - -* **你确认所有Mod都安装了依赖** [是/否] - -* **你确认所有插件都已更新至对应版本** [是/否] - - -* **Java** [版本] - -* **操作系统** [名称+版本] - - - -* **插件列表** - -* **Mod 列表** - - -### 错误描述 - - - -叙述这个为什么是一个错误,是哪一方面的,以及其他可能需要的信息 - -### 重现步骤 - -1. 安装 xxx - -2. 进入服务器后 xxxx - -3. .... - - - - - -**可在 Forge 复现** [是/否] - - -**可在 Spigot 复现** [是/否] - -### 报错信息 - -[错误日志] - - - - - \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/bug-report-cn.yml b/.github/ISSUE_TEMPLATE/bug-report-cn.yml new file mode 100644 index 00000000..f55caf7f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report-cn.yml @@ -0,0 +1,127 @@ +name: 🐞 错误报告表格 +description: 通过填写表格来报告错误 +title: "[错误报告]:" +labels: ["Triage"] + +body: + - type: markdown + attributes: + value: >- + 在进行错误报告之前,请确保没有类似的现有的报告。 +
内容要求语句通顺,描述清晰。 +
务必注意!请完整填写以下内容,如果缺少或不够详细可能会让该报告处理优先级降低甚至不处理! +
最后,感谢您耐心地向我们报告错误。 + - type: input + id: version + attributes: + label: Arclight 版本 + description: 在 Arclight 启动时会打印版本,示例 arclight-1.15.2-1.0.3-SNAPSHOT-9455d03 + validations: + required: true + + - type: input + id: confirm + attributes: + label: 你确认您在跑最新版吗? + description: >- + 最新的构建版本可以在以下地方获取 +
https://jenkins.mikuhl.cn/job/Arclight/ (国内) +
https://github.com/IzzelAliz/Arclight/actions +
你所汇报的问题很可能已经修复 +
如果你确实用不了最新版,请简述为什么 + placeholder: "示例:是|否,理由" + validations: + required: true + + - type: checkboxes + id: check + attributes: + label: 请确认您已完成以下几件事 + description: 市面上大多数整合包,特别是较老版本(1.12.2)的整合包,其自带的插件都无法在高版本环境下运行 + options: + - label: 我确认已为所有 Mod 安装依赖 + required: true + - label: 我确认已为所有插件更新至最新版. + required: true + + - type: input + id: environment + attributes: + label: Java 版本 | 操作系统 + description: 在命令行中键入 `java -version` 后可以获取版本 + placeholder: "示例:Java-Openjdk_11(Hotspot) | Windows Server 2019" + validations: + required: true + + - type: textarea + id: related + attributes: + label: 相关 Mod/插件 的名称及版本 + description: 输入 `/plugins` 和 `/forge mods` 命令可获取相关信息 + value: >- + Mods: + Plugins: + validations: + required: true + + - type: input + id: package + attributes: + label: 复现用压缩包下载链接(可选) + description: 如果可以请打包(压缩包)所有Mod/插件并上传到OneDrive上供开发者下载测试,如果提供了该选项。会让该报告于24小时内处理 + validations: + required: false + + - type: textarea + id: description + attributes: + label: 错误描述 + description: >- + 请尽可能详细。对于描述,请假设开发者不知道 Mod 是干什么的。 +
如果可以的话,在安装尽可能少的 mod 的情况下复现它。 +
越清楚的描述会让该报告处理优先级提高 + placeholder: "描述这个为什么是一个错误,是哪一方面的,以及其他可能需要的信息" + validations: + required: true + + - type: textarea + id: step + attributes: + label: 复现步骤 + value: >- + 1. 安装 xxx + 2. 进入服务器后 xxxx + 3. .... + + - type: dropdown + attributes: + label: 能否在 Forge 复现 + options: + - "是" + - "否" + validations: + required: true + + - type: dropdown + attributes: + label: 能否在 Spigot 复现 + options: + - "是" + - "否" + validations: + required: true + + - type: textarea + id: logs + attributes: + label: 报错信息 + description: >- + 日志位于服务器文件夹的 /logs 目录下,名称为 latest.log +
服务器关闭后,将该文件中内容全部复制,上传至 https://paste.ubuntu.com/ 或 https://pastebin.mozilla.org/ 网站,提交后将链接附在下方即可 +
如果上面的网站打不开,可以在下方指定位置复制日志内容 + value: >- + 日志链接: + 如果没有就用日志替换下边的 [日志] 文本 +
+        [日志]
+        
\ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/bug-report-en.md b/.github/ISSUE_TEMPLATE/bug-report-en.md deleted file mode 100644 index 87f30b47..00000000 --- a/.github/ISSUE_TEMPLATE/bug-report-en.md +++ /dev/null @@ -1,66 +0,0 @@ ---- -name: Bug Report EN -about: English template for bug reporting -title: '' -labels: 'Triage' -assignees: '' - ---- - - - -### I am running - -* **Arclight** [VERSION] - -* **This is the latest development version** [Y/N, because ___] - - -* **Java** [VERSION] - -* **Operating System** [NAME & VERSION] - - - -* **Plugins** - -* **Mods** - - -### Description - - - -### Step to reproduce - -1. Install something -2. .... -3. .... - - - - -**Reproducible in Forge** [Y/N] - - -**Reproducible in Spigot** [Y/N] - -### Logs - -[ERROR LOG] - - - - - \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/bug-report-en.yml b/.github/ISSUE_TEMPLATE/bug-report-en.yml new file mode 100644 index 00000000..6ef9e583 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report-en.yml @@ -0,0 +1,117 @@ +name: 🐞 Bug Report Form +description: Fill a Form for bug reporting +title: "[Bug Report]: " +labels: ["Triage"] + +body: + - type: markdown + attributes: + value: >- + Before reporting an error, please ensure that there is no similar existing one report that +
Please fill in the following content completely. +
At Last, Thank you for your reporting. + - type: input + id: version + attributes: + label: Arclight Version + description: Versions are printed when Arclight is starting, for example arclight-1.15.2-1.0.3-SNAPSHOT-9455d03 + validations: + required: true + + - type: input + id: confirm + attributes: + label: Are you running the latest development version? + description: >- + Latest development build can be found at https://github.com/IzzelAliz/Arclight/actions +
The issue you are reporting may be fixed +
If you are not running latest dev version, explain why + placeholder: "Example: Yes|No, Reason Here" + validations: + required: true + + - type: input + id: environment + attributes: + label: Java Version | Operating System + description: Type `java -version` in your console + placeholder: "Example:Java-Openjdk_11(Hotspot) | Windows Server 2019" + validations: + required: true + + - type: textarea + id: related + attributes: + label: The Name and Version of Related Mod/Plugins + description: Run `/plugins` and `/forge mods` in your server to get it. + value: >- + Mods: + Plugins: + validations: + required: true + + - type: input + id: package + attributes: + label: Server pack link(Optional) + description: If you have too much mods/plugins included and you are not able to minimize the reproducible list, you can upload your server pack to GoogleDrive/Mega maybe. + validations: + required: false + + - type: textarea + id: description + attributes: + label: Description + description: >- + Please include as much information as possible. +
For the description, assume we have no idea how mods work, + be as detailed as possible and include a step by step reproduction. +
It is recommended you try to reproduce the issue you are having yourself with as few mods as possible. +
The clearer the description, the higher the report processing priority + + placeholder: "What Happens" + validations: + required: true + + - type: textarea + id: step + attributes: + label: Step to reproduce + value: >- + 1. Install something + 2. ... + 3. .... + + - type: dropdown + attributes: + label: Reproducible in Forge + options: + - "Yes" + - "No" + validations: + required: true + + - type: dropdown + attributes: + label: Reproducible in Spigot + options: + - "Yes" + - "No" + validations: + required: true + + - type: textarea + id: logs + attributes: + label: Logs + description: >- + Logs can be found in /logs/latest.log + After server is stopped, paste it to https://paste.ubuntu.com/ + + If you have trouble using a pastebin, paste these codes to {ERROR LOG] and fill it + value: >- + Logs link: + If you can not use any Paste Service, replace [Logs] with your paste. +
+        [Logs]
+        
\ No newline at end of file diff --git a/.github/workflows/issuebot.yml b/.github/workflows/issuebot.yml deleted file mode 100644 index b6d0faea..00000000 --- a/.github/workflows/issuebot.yml +++ /dev/null @@ -1,12 +0,0 @@ -name: Issuebot - -on: - issues: - types: [opened, edited] - -jobs: - new_issue: - name: Run Issuebot on new Issue - runs-on: ubuntu-latest - steps: - - uses: timi137137/actions-arclight-issue-prefilter@main \ No newline at end of file