From 47ef37c5e7c3ca5eb01bf49195964965ddec95c6 Mon Sep 17 00:00:00 2001 From: zhengjw22 Date: Thu, 16 Jan 2025 14:58:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitee/ISSUE_TEMPLATE/config.yml | 7 ++ .gitee/ISSUE_TEMPLATE/enterprise_support.yml | 106 +++++++++++++++++++ .gitee/ISSUE_TEMPLATE/opensource_bug.yml | 83 +++++++++++++++ 3 files changed, 196 insertions(+) create mode 100644 .gitee/ISSUE_TEMPLATE/config.yml create mode 100644 .gitee/ISSUE_TEMPLATE/enterprise_support.yml create mode 100644 .gitee/ISSUE_TEMPLATE/opensource_bug.yml diff --git a/.gitee/ISSUE_TEMPLATE/config.yml b/.gitee/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..3894f6f --- /dev/null +++ b/.gitee/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,7 @@ +blank_issues_enabled: false + +contact_links: + - name: 📚使用文档 + url: https://smartboot.tech/smart-servlet/ + about: smart-servlet in Action,简单、高效、国产化 + diff --git a/.gitee/ISSUE_TEMPLATE/enterprise_support.yml b/.gitee/ISSUE_TEMPLATE/enterprise_support.yml new file mode 100644 index 0000000..36e3be0 --- /dev/null +++ b/.gitee/ISSUE_TEMPLATE/enterprise_support.yml @@ -0,0 +1,106 @@ +name: 企业技术支持 +description: 如果你是 smart-servlet 的合作企业或客户,使用过程中发现了一个 Bug,或者需要寻求技术支持,请使用此模板。 +title: +labels: ["support","bug"] +body: + - type: dropdown + id: version + attributes: + label: 版本号 + description: 请选择项目使用的 smart-servlet 版本? + options: + - v2.7 (最新) + - 其他 + validations: + required: true + - type: dropdown + id: jdk_version + attributes: + label: SDK Version + description: 请选择项目使用的 Java 版本? + options: + - JDK 1.8 + - JDK 11 + - JDK 17 + - JDK 18 + - JDK 19 + - JDK 20 + - JDK 21 + - JDK 22 + - JDK 23 + validations: + required: true + - type: checkboxes + attributes: + label: 信息确认 + options: + - label: 我已经向 smart-servlet 作者完成了案例反馈。 + required: true + - type: dropdown + id: os_type + attributes: + label: 操作系统 + description: 请选择操作系统类型? + options: + - Windows + - Linux + - MacOS + validations: + required: true + - type: dropdown + id: environment + attributes: + label: 运行环境 + description: 请选择代码运行环境? + options: + - 开发环境 (Development) + - 生产环境 (Production) + - 测试环境 (单元测试/集成测试) + validations: + required: true + - type: checkboxes + attributes: + label: 这个问题是否已经存在? + options: + - label: 我已经搜索过现有的问题 (https://gitee.com/smartboot/smart-servlet/issues) + required: true + - type: textarea + attributes: + label: 如何复现 + description: 请详细告诉我们如何复现你遇到的问题,如涉及代码,可提供一个最小代码示例,并使用反引号```附上它 + placeholder: | + 1. ... + 2. ... + 3. ... + validations: + required: true + - type: textarea + attributes: + label: 预期结果 + description: 请告诉我们你预期会发生什么。 + validations: + required: true + - type: textarea + attributes: + label: 实际结果 + description: 请告诉我们实际发生了什么。 + validations: + required: true + - type: textarea + attributes: + label: 异常信息 + description: 如果有异常请把详细异常堆栈粘贴上来。 + - type: textarea + attributes: + label: 截图或视频 + description: 如果可以的话,上传任何关于 bug 的截图。 + placeholder: | + 可在此处进行图片粘贴上传。 + validations: + required: true + - type: input + id: demo + attributes: + label: Demo 地址 | 未提供可能影响问题定位效率 + description: 请提供复现错误的 Demo 下载 + placeholder: https://gitee.com/your_id/your_test_project.git \ No newline at end of file diff --git a/.gitee/ISSUE_TEMPLATE/opensource_bug.yml b/.gitee/ISSUE_TEMPLATE/opensource_bug.yml new file mode 100644 index 0000000..2a0519a --- /dev/null +++ b/.gitee/ISSUE_TEMPLATE/opensource_bug.yml @@ -0,0 +1,83 @@ +name: 开源生态支持 +description: 如果你的开源项目承诺遵循 smart-servlet 开源规范,使用过程中发现了一个 Bug,或者需要寻求技术支持,请使用此模板。 +title: +labels: ["bug"] +body: + - type: dropdown + id: version + attributes: + label: 版本号 + description: 请选择项目使用的 smart-servlet 版本? + options: + - v2.7 (最新) + - 其他 + validations: + required: true + - type: dropdown + id: jdk_version + attributes: + label: SDK Version + description: 请选择项目使用的 Java 版本? + options: + - JDK 1.8 + - JDK 11 + - JDK 17 + - JDK 18 + - JDK 19 + - JDK 20 + - JDK 21 + - JDK 22 + - JDK 23 + validations: + required: true + - type: input + attributes: + label: 开源项目地址 + validations: + required: true + - type: checkboxes + attributes: + label: 这个问题是否已经存在? + options: + - label: 我已经搜索过现有的问题 (https://gitee.com/smartboot/smart-servlet/issues) + required: true + - type: textarea + attributes: + label: 如何复现 + description: 请详细告诉我们如何复现你遇到的问题,如涉及代码,可提供一个最小代码示例,并使用反引号```附上它 + placeholder: | + 1. ... + 2. ... + 3. ... + validations: + required: true + - type: textarea + attributes: + label: 预期结果 + description: 请告诉我们你预期会发生什么。 + validations: + required: true + - type: textarea + attributes: + label: 实际结果 + description: 请告诉我们实际发生了什么。 + validations: + required: true + - type: textarea + attributes: + label: 异常信息 + description: 如果有异常请把详细异常堆栈粘贴上来。 + - type: textarea + attributes: + label: 截图或视频 + description: 如果可以的话,上传任何关于 bug 的截图。 + placeholder: | + 可在此处进行图片粘贴上传。 + validations: + required: true + - type: input + id: demo + attributes: + label: Demo 地址 | 未提供可能影响问题定位效率 + description: 请提供复现错误的 Demo 下载 + placeholder: https://gitee.com/your_id/your_test_project.git