From a5a5eb0c071b410e2c3914027ec2357436d01724 Mon Sep 17 00:00:00 2001 From: Manuel Alejandro de Brito Fontes Date: Wed, 8 Jan 2020 11:44:14 -0300 Subject: [PATCH] Improve issue and pull request template (#4866) --- .github/ISSUE_TEMPLATE.md | 49 ----------- .github/ISSUE_TEMPLATE/bug_report.md | 98 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 30 +++++++ .github/ISSUE_TEMPLATE/support-question.md | 37 ++++++++ .github/PULL_REQUEST_TEMPLATE.md | 37 ++++++-- 5 files changed, 195 insertions(+), 56 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/support-question.md diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index 485c19068..000000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,49 +0,0 @@ - - -**Is this a request for help?** (If yes, you should use our troubleshooting guide and community support channels, see https://kubernetes.io/docs/tasks/debug-application-cluster/troubleshooting/.): - -**What keywords did you search in NGINX Ingress controller issues before filing this one?** (If you have found any duplicates, you should instead reply there.): - ---- - -**Is this a BUG REPORT or FEATURE REQUEST?** (choose one): - - - -**NGINX Ingress controller version**: - - -**Kubernetes version** (use `kubectl version`): - - -**Environment**: - -- **Cloud provider or hardware configuration**: -- **OS** (e.g. from /etc/os-release): -- **Kernel** (e.g. `uname -a`): -- **Install tools**: -- **Others**: - - -**What happened**: - - -**What you expected to happen**: - - -**How to reproduce it** (as minimally and precisely as possible): - - -**Anything else we need to know**: diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 000000000..8def64ec2 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,98 @@ +--- +name: Bug report +about: Problems and issues with code or docs +title: '' +assignees: '' + +--- + + + + + +**NGINX Ingress controller version**: + +**Kubernetes version** (use `kubectl version`): + +**Environment**: + +- **Cloud provider or hardware configuration**: +- **OS** (e.g. from /etc/os-release): +- **Kernel** (e.g. `uname -a`): +- **Install tools**: +- **Others**: + +**What happened**: + + + +**What you expected to happen**: + + + +**How to reproduce it**: + + +**Anything else we need to know**: + + + +/kind bug diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 000000000..771804b54 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,30 @@ +--- +name: Feature request +about: Suggest an idea for this project or its docs +title: '' +labels: kind/feature +assignees: '' + +--- + + + + + + + + + + + +/kind feature diff --git a/.github/ISSUE_TEMPLATE/support-question.md b/.github/ISSUE_TEMPLATE/support-question.md new file mode 100644 index 000000000..85b0b6fb4 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/support-question.md @@ -0,0 +1,37 @@ +--- +name: Question +about: Any questions you might have. +title: '' +labels: triage/support +assignees: '' + +--- + + + + + +/triage support diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 312ffddf4..8b499fe8d 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,10 +1,33 @@ - + + +## What this PR does / why we need it: + + + +## Types of changes + +- [ ] Bug fix (non-breaking change which fixes an issue) +- [ ] New feature (non-breaking change which adds functionality) +- [ ] Breaking change (fix or feature that would cause existing functionality to change) + +## Which issue/s this PR fixes + -**What this PR does / why we need it**: +## How Has This Been Tested? + + + -**Which issue this PR fixes** *(optional, in `fixes #(, fixes #, ...)` format, will close that issue when PR gets merged)*: fixes # - -**Special notes for your reviewer**: +## Checklist: + + +- [ ] My change requires a change to the documentation. +- [ ] I have updated the documentation accordingly. +- [ ] I've read the [CONTRIBUTION](https://github.com/kubernetes/ingress-nginx/blob/master/CONTRIBUTING.md) guide +- [ ] I have added tests to cover my changes. +- [ ] All new and existing tests passed.