From 13ca3e81d130561886ed1b2a05f62c79f6d7f0fa Mon Sep 17 00:00:00 2001 From: Damon Lu <59256766+WhatDamon@users.noreply.github.com> Date: Sat, 16 Nov 2024 18:05:38 +0800 Subject: [PATCH] feat: update issue templates to YAML form --- .github/ISSUE_TEMPLATE/bug_report.md | 32 -------- .github/ISSUE_TEMPLATE/bug_report.yml | 101 ++++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 8 ++ 3 files changed, 109 insertions(+), 32 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 7b0a050..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -name: "[请按照此模板填写] 报告 Bug" -about: "创建一个 Bug 报告,不按照模板的 Issue 会被直接关闭,不予回复。" -title: "[Bug] 总结你的 Bug 报告" -labels: bug -assignees: taurusxin ---- - -**Bug 描述** - -清晰地描述一下 Bug 的大致问题,例如无法转换,或者其他问题。 - -**复现方法** - -复现此 Bug 的方法 - -1. 使用本项目处理文件 '...' -2. 发生报错 - -**屏幕截图** - -如果可以,屏幕截图可以更好地阐述你的问题。 - -**环境** - -- 操作系统: Windows / macOS / Linux -- 网易云版本(重要): [e.g. 3.0.1] -- 所选择的音质: 极高、无损等 - -**附加内容** - -如果遇到无法转换的问题,请将样本附加到这里,便于分析。 diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..cfb0da0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,101 @@ +name: 报告 Bug +description: 创建一个 Bug 报告。 +title: "[Bug]: " +labels: "bug" +assignees: + - taurusxin +body: + - type: markdown + attributes: + value: | + # taurusxin/ncmdump Bug 反馈须知 + 请__严格遵守该模板进行 Bug 反馈__,否则维护者有权直接关闭本 Issue 不予回复! + 为了保证 Bug 追踪的顺利,请__务必提供详细信息,并接受来自维护者的提问__! + + - type: checkboxes + attributes: + label: 该 Bug 是否针对 `libncmdump`? + description: 如果是命令行工具 `ncmdump` 请不要勾选。 + options: + - label: 是的,此 Bug 是针对动态库 `libncmdump` 而不是命令行工具 `ncmdump`! + + - type: dropdown + attributes: + label: 类型 + options: + - 无法转换文件 + - 转换成功但音频文件无法播放 + - 功能失效 + - 程序崩溃 + - 其他 + validations: + required: true + + - type: textarea + attributes: + label: Bug 描述 + description: 清晰地描述一下 Bug 的大致问题及表现,对上面的类型进行补充说明。 + validations: + required: true + + - type: textarea + attributes: + label: 复现方法 + description: 复现此 Bug 的方法。 + placeholder: | + 1. 使用本项目处理文件 '...' + 2. 发生报错 + validations: + required: true + + - type: textarea + attributes: + label: 屏幕截图或视频 + description: 如果可以,屏幕截图可以更好地阐述你的问题。 + placeholder: 将截图或视频文件拖入此处 + validations: + required: false + + - type: input + attributes: + label: 操作系统 + description: 请提供您当前正在使用的操作系统,如果可以,请提供更多关于操作系统的版本信息,Linux 请提供发行版名称。 + placeholder: 如:Windows / macOS / Debian + validations: + required: true + + - type: input + attributes: + label: ncmdump 版本 + description: 请提供您正在使用的 ncmdump 版本,如果是来自 Github Actions 的构建,请提供 commit 信息。 + placeholder: 如:1.5.0 + validations: + required: true + + - type: input + attributes: + label: 网易云版本(重要) + description: 请提供您下载 ncm 文件的网易云客户端及版本,请写明客户端平台与版本号。 + placeholder: 如:Windows 版 3.0.1 + validations: + required: true + + - type: dropdown + attributes: + label: 所下载的音质 + options: + - 标准 + - 极高 + - 无损 + - 高清臻音 + - 超清母带 + - 沉浸环绕声 + validations: + required: true + + - type: textarea + attributes: + label: 附加内容 + placeholder: 如果遇到无法转换的问题,请将样本附加到这里,便于分析。 + validations: + required: false \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..75bef7e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: false +contact_links: + - name: 寻求帮助 + url: https://github.com/taurusxin/ncmdump/discussions/categories/q-a + about: 有疑问?请转移到讨论的 Q&A 分区! + - name: 意见与新功能请求 + url: https://github.com/taurusxin/ncmdump/discussions/categories/ideas + about: 需要什么新功能?请到讨论的 Ideas 分区!