From 783522e01380324d9d29dd3b32395863596cdebd Mon Sep 17 00:00:00 2001 From: Albumen Kevin Date: Wed, 6 Mar 2024 15:07:14 +0800 Subject: [PATCH] Add general template (#13848) --- .github/DISCUSSION_TEMPLATE/general.yml | 88 ++++++++++++++++++++++++ .github/DISCUSSION_TEMPLATE/question.yml | 10 +-- .github/ISSUE_TEMPLATE/1-bug.yml | 18 ++++- .github/ISSUE_TEMPLATE/2-feature.yml | 16 +++++ 4 files changed, 123 insertions(+), 9 deletions(-) create mode 100644 .github/DISCUSSION_TEMPLATE/general.yml diff --git a/.github/DISCUSSION_TEMPLATE/general.yml b/.github/DISCUSSION_TEMPLATE/general.yml new file mode 100644 index 0000000000..b61c1bf057 --- /dev/null +++ b/.github/DISCUSSION_TEMPLATE/general.yml @@ -0,0 +1,88 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +title: "[General][Java SDK (Component)] xxx" +body: +- type: markdown + attributes: + value: | + Dubbo logo + + Thank you for finding the time to share your idea! We really appreciate the community efforts to improve Dubbo. + + If you need to report a security issue, please visit [our security policy](https://github.com/apache/dubbo/security/policy). + + **Dubbo is open for world wide collaboration, please make sure that all the content you provide is in English.** + Remember that non-English idea is quite not friendly for everyone, and might unable to get the response! + +- type: checkboxes + attributes: + label: Pre-check + options: + - label: > + I am sure that all the content I provide is in English. + required: true + +- type: dropdown + attributes: + label: Apache Dubbo Component + description: | + What Apache Dubbo component are you using? Apache Dubbo has many subprojects, please make sure + to choose the component that you want to ask questions about. + multiple: false + options: + - "Java SDK (apache/dubbo)" + - "Java Samples (apache/dubbo-samples)" + - "Java Integration Cases (apache/dubbo-integration-cases)" + - "Java SPI Extensions (apache/dubbo-spi-extensions)" + - "Java Benchmark (apache/dubbo-benchmark)" + - "Go SDK (apache/dubbo-go)" + - "Go Samples (apache/dubbo-go-samples)" + - "Rust SDK (apache/dubbo-rust)" + - "Node.js SDK (apache/dubbo-js)" + - "Python SDK (apache/dubbo-python)" + - "Kubernetes Integration (apache/dubbo-kubernetes)" + - "Pixiu Gateway (apache/dubbo-go-pixiu)" + - "Pixiu Gateway Samples (apache/dubbo-go-pixiu-samples)" + - "Admin (apache/dubbo-admin)" + - "Website (apache/dubbo-website)" + - "Awesome (apache/dubbo-awesome)" + - "Initializer (apache/dubbo-intializer)" + - "Others (apache/dubbo-xxx)" + validations: + required: true + +- type: textarea + attributes: + label: Details + description: Anything you want to ask? + validations: + required: true + +- type: checkboxes + attributes: + label: Code of Conduct + description: The Code of Conduct helps create a safe space for everyone. We require that everyone agrees to it. + options: + - label: > + I agree to follow this project's + [Code of Conduct](https://www.apache.org/foundation/policies/conduct) + required: true + +- type: markdown + attributes: + value: "Thanks for completing our form!" diff --git a/.github/DISCUSSION_TEMPLATE/question.yml b/.github/DISCUSSION_TEMPLATE/question.yml index 7ffa771395..17aadb9ab9 100644 --- a/.github/DISCUSSION_TEMPLATE/question.yml +++ b/.github/DISCUSSION_TEMPLATE/question.yml @@ -22,12 +22,12 @@ body: value: | Dubbo logo - Thank you for finding the time to report the problem! We really appreciate the community efforts to improve Dubbo. + Thank you for finding the time to report the question! We really appreciate the community efforts to improve Dubbo. If you need to report a security issue, please visit [our security policy](https://github.com/apache/dubbo/security/policy). **Dubbo is open for world wide collaboration, please make sure that all the content you provide is in English.** - Remember that non-English issues is quite not friendly for everyone, and might unable to get the response! + Remember that non-English question is quite not friendly for everyone, and might unable to get the response! - type: checkboxes attributes: @@ -66,12 +66,6 @@ body: validations: required: true -- type: textarea - attributes: - label: Dubbo Version - description: "Which Dubbo version, JDK version and operating system did you use?" - placeholder: "Example: Dubbo Java 3.2.12, OpenJDK 1.8, Ubuntu 20.04" - - type: textarea attributes: label: Details diff --git a/.github/ISSUE_TEMPLATE/1-bug.yml b/.github/ISSUE_TEMPLATE/1-bug.yml index e7d06e48ec..5bff100dd8 100644 --- a/.github/ISSUE_TEMPLATE/1-bug.yml +++ b/.github/ISSUE_TEMPLATE/1-bug.yml @@ -58,7 +58,23 @@ body: issues. required: true -- type: input +- type: dropdown + attributes: + label: Apache Dubbo Component + description: | + What Apache Dubbo component are you using? Apache Dubbo has many subprojects, please make sure + to choose the component that you want to ask questions about. + multiple: false + options: + - "Java SDK (apache/dubbo)" + - "Java Samples (apache/dubbo-samples)" + - "Java Integration Cases (apache/dubbo-integration-cases)" + - "Java SPI Extensions (apache/dubbo-spi-extensions)" + - "Java Benchmark (apache/dubbo-benchmark)" + validations: + required: true + +- type: textarea attributes: label: Dubbo Version description: "Which Dubbo version, JDK version and operating system did you use?" diff --git a/.github/ISSUE_TEMPLATE/2-feature.yml b/.github/ISSUE_TEMPLATE/2-feature.yml index 501122efcd..d0d6bba7b5 100644 --- a/.github/ISSUE_TEMPLATE/2-feature.yml +++ b/.github/ISSUE_TEMPLATE/2-feature.yml @@ -53,6 +53,22 @@ body: feature requirement. required: true +- type: dropdown + attributes: + label: Apache Dubbo Component + description: | + What Apache Dubbo component are you using? Apache Dubbo has many subprojects, please make sure + to choose the component that you want to ask questions about. + multiple: false + options: + - "Java SDK (apache/dubbo)" + - "Java Samples (apache/dubbo-samples)" + - "Java Integration Cases (apache/dubbo-integration-cases)" + - "Java SPI Extensions (apache/dubbo-spi-extensions)" + - "Java Benchmark (apache/dubbo-benchmark)" + validations: + required: true + - type: textarea attributes: label: Descriptions