From 3c0f503d7a66397523bc6e0d6b8f4afd28da03b9 Mon Sep 17 00:00:00 2001 From: LiZongbo Date: Tue, 25 Jun 2024 00:10:17 +0800 Subject: [PATCH] Convert ISSUE_TEMPLATE to YAML format --- .github/ISSUE_TEMPLATE/bug_report.yml | 83 +++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000000..6cb3d25330 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,83 @@ +name: Bug report +description: Create a report to help us improve +title: "[BUG] " +labels: ["bug", "triage"] +assignees: [] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + - type: input + id: dbtype + attributes: + label: Database Type + description: What database are you using? + placeholder: e.g., MySQL, Oracle... + validations: + required: true + - type: input + id: dbversion + attributes: + label: Database Version + description: What version of the database are you using? + placeholder: e.g., MySQL 5.7, Oracle 12c... + validations: + required: true + - type: input + id: druid-version + attributes: + label: Druid Version + description: What version of Druid are you using? + placeholder: e.g., 1.2.22 + validations: + required: true + - type: input + id: jdk-version + attributes: + label: JDK Version + description: What version of JDK are you using? + placeholder: e.g., OpenJDK 11 + validations: + required: true + - type: textarea + id: error-sql + attributes: + label: Error SQL + description: Please provide the SQL that caused the error. + placeholder: SELECT * FROM your_table + validations: + required: true + - type: textarea + id: testcase-code + attributes: + label: Testcase Code + description: Please provide the testcase code that reproduces the issue. + placeholder: | + ```java + // Your testcase code here + ``` + validations: + required: false + - type: textarea + id: stacktrace-info + attributes: + label: Stacktrace Info + description: Please provide the stacktrace information if applicable. + placeholder: | + ```java + // Your stacktrace here + ``` + validations: + required: false + - type: textarea + id: error-info + attributes: + label: Error Info + description: Please provide any additional error information or logs. + placeholder: | + ```log + // Your error info or logs here + ``` + validations: + required: false