From 1beae5428ed33e58638407da3d972bdfd16d798f Mon Sep 17 00:00:00 2001 From: Marek Siarkowicz Date: Mon, 24 Jan 2022 14:39:48 +0100 Subject: [PATCH] Add bug report issue template --- .github/ISSUE_TEMPLATE.md | 2 - .github/ISSUE_TEMPLATE/bug-report.yaml | 92 ++++++++++++++++++++++++++ 2 files changed, 92 insertions(+), 2 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/ISSUE_TEMPLATE/bug-report.yaml diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index 3a3c247b5..000000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,2 +0,0 @@ - -Please read https://etcd.io/docs/latest/reporting_bugs/ diff --git a/.github/ISSUE_TEMPLATE/bug-report.yaml b/.github/ISSUE_TEMPLATE/bug-report.yaml new file mode 100644 index 000000000..088ed4939 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.yaml @@ -0,0 +1,92 @@ +name: Bug Report +description: Report a bug encountered while operating Etcd +labels: +- area/bug +body: +- type: markdown + attributes: + value: | + Please read https://etcd.io/docs/latest/reporting_bugs/ + If this matter is security related, please disclose it privately via security@etcd.io. + Please fill the form below and provide as much information as possible. + Not doing so may result in your bug not being addressed in a timely manner. + +- type: textarea + id: problem + attributes: + label: What happened? + validations: + required: true + +- type: textarea + id: expected + attributes: + label: What did you expect to happen? + validations: + required: true + +- type: textarea + id: repro + attributes: + label: How can we reproduce it (as minimally and precisely as possible)? + validations: + required: true + +- type: textarea + id: additional + attributes: + label: Anything else we need to know? + +- type: textarea + id: etcdVersion + attributes: + label: Etcd version (please run commands below) + value: | +
+ + ```console + $ etcd --version + # paste output here + + $ etcdctl version + # paste output here + ``` + +
+ validations: + required: true + +- type: textarea + id: config + attributes: + label: Etcd configuration (command line flags or environment variables) + value: | +
+ + # paste your configuration here + +
+ +- type: textarea + id: etcdDebugInformation + attributes: + label: Etcd debug information (please run commands blow, feel free to obfuscate the IP address or FQDN in the output) + value: | +
+ + ```console + $ etcdctl member list -w table + # paste output here + + $ etcdctl --endpoints= endpoint status -w table + # paste output here + ``` + +
+ +- type: textarea + id: logs + attributes: + label: Relevant log output + description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. + render: shell