From 2af684986eac56d7f82fb9f9ef6481c6a96be933 Mon Sep 17 00:00:00 2001 From: Solly Ross Date: Mon, 30 Sep 2019 16:25:00 -0700 Subject: [PATCH] Fixup PR/issue templates The PR/issue templates that got merged didn't quite match what we wanted, so this attempts to fix them up. --- .github/ISSUE_TEMPLATE/bug_report.md | 44 +++++++++++----------- .github/ISSUE_TEMPLATE/feature_request.md | 26 ++++++++++--- .github/ISSUE_TEMPLATE/support-question.md | 33 +++++++++++++++- .github/PULL_REQUEST_TEMPLATE.md | 23 ++++++----- 4 files changed, 87 insertions(+), 39 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 000f48e096e..69fed3860f2 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,8 +1,7 @@ --- name: Bug report -about: Problems and issues +about: Problems and issues with code or docs title: '' -labels: kind/bug assignees: '' --- @@ -15,32 +14,35 @@ assignees: '' --> -/kind bug - -**What did you do?** -A clear and concise description of the steps you took (or insert a code snippet). + + + -**What did you expect to see?** -A clear and concise description of what you expected to happen (or insert a code snippet). + -**What did you see instead? Under which circumstances?** -A clear and concise description of what you expected to happen (or insert a code snippet). + +* go version +* kubebuilder version (`kubebuilder version`) and scaffolding version (check your `PROJECT` file) +* controller-runtime version (check your `go.mod` file) +* controller-tools version +* Kubernetes & kubectl versions (just run `kubectl version` against your API server) -* Kubernetes version information: - +--> -**Possible Solution** - + -**Additional context** -Add any other context about the problem here. \ No newline at end of file +/kind bug diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 4b631ec0606..277f660ff20 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -1,6 +1,6 @@ --- name: Feature request -about: Suggest an idea for this project +about: Suggest an idea for this project or its docs title: '' labels: kind/feature assignees: '' @@ -15,10 +15,24 @@ assignees: '' --> -/kind feature + -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Example: "I have an issue when (...)" + -**Describe the solution you'd like** -A clear and concise description of what you want to happen. Add any considered drawbacks. \ No newline at end of file + + + + + + +/kind feature diff --git a/.github/ISSUE_TEMPLATE/support-question.md b/.github/ISSUE_TEMPLATE/support-question.md index 214adf3ebc8..23e282c2fb0 100644 --- a/.github/ISSUE_TEMPLATE/support-question.md +++ b/.github/ISSUE_TEMPLATE/support-question.md @@ -2,7 +2,7 @@ name: Question about: Any questions you might have. title: '' -labels: kind/question +labels: triage/support assignees: '' --- @@ -15,4 +15,33 @@ assignees: '' --> -kind question \ No newline at end of file + + + + +/triage support diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index ee20701bd5e..5faf3f6b3b4 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,17 +1,20 @@ - -**Description of the change:** +* a description of the change +* the movtivation for the change +* what issue it fixes, if any, in GitHub syntax (e.g. Fixes #XYZ) +Both the description and motivation may reference other issues and PRs, +but should be mostly understandable without following the links (e.g. when +reading the git commit log). -**Motivation for the change:** +Please don't @-mention people in PR or commit messages (do so in an +additional comment). - \ No newline at end of file +-->