From c70d4a4cf6246bbbab21b87924870618766e7e65 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Fri, 15 Feb 2019 10:35:51 -0700 Subject: [PATCH] Update pull request and issue templates --- .github/ISSUE_TEMPLATE.md | 32 ------- .github/ISSUE_TEMPLATE/bug_report.md | 83 +++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 35 ++++++++ .github/PULL_REQUEST_TEMPLATE.md | 19 ----- .github/PULL_REQUEST_TEMPLATE/pull_request.md | 40 +++++++++ 5 files changed, 158 insertions(+), 51 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 delete mode 100644 .github/PULL_REQUEST_TEMPLATE.md create mode 100644 .github/PULL_REQUEST_TEMPLATE/pull_request.md diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index a7963b20c..000000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,32 +0,0 @@ - - -### 1. What version of Caddy are you using (`caddy -version`)? - - -### 2. What are you trying to do? - - -### 3. What is your entire Caddyfile? -```text -(paste Caddyfile here) -``` - -### 4. How did you run Caddy (give the full command and describe the execution environment)? - - -### 5. Please paste any relevant HTTP request(s) here. - - - - -### 6. What did you expect to see? - - -### 7. What did you see instead (give full error messages and/or log)? - - -### 8. How can someone who is starting from scratch reproduce the bug as minimally as possible? - - diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 000000000..4815805d8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,83 @@ +--- +name: Bug report +about: For behaviors which violate documentation or cause incorrect results +title: '' +labels: '' +assignees: '' +--- + + + +## 1. Which version of Caddy are you using (`caddy -version`)? + + + + + +## 2. What are you trying to do? + + + + + +## 3. What is your Caddyfile? +```text +paste entire Caddyfile here - DO NOT REDACT ANYTHING (except credentials) +``` + + + + + + +## 4. How did you run Caddy (give the full command and describe the execution environment)? + + + + + +## 5. Please paste any relevant HTTP request(s) here. + + + + + +## 6. What did you expect to see? + + + + + +## 7. What did you see instead (give full error messages and/or log)? + + + + + +## 8. Why is this a bug, and how do you think this should be fixed? + + + + + +## 9. What are you doing to work around the problem in the meantime? + + + + + +## 10. Please link to any related issues, pull requests, and/or discussion. + + + + + +## Bonus: What do you use Caddy for? Why did you choose Caddy? + diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 000000000..3f7578a99 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,35 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '' +labels: feature request +assignees: '' +--- + + + + +## 1. What would you like to have changed? + + + + + +## 2. Why is this feature a useful, necessary, and/or important addition to this project? + + + + + +## 3. What alternatives are there, or what are you doing in the meantime to work around the lack of this feature? + + + + + +## 4. Please link to any relevant issues, pull requests, or other discussions. + diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index 3d0eba238..000000000 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,19 +0,0 @@ - - -### 1. What does this change do, exactly? - - -### 2. Please link to the relevant issues. - - -### 3. Which documentation changes (if any) need to be made because of this PR? - - -### 4. Checklist - -- [ ] I have written tests and verified that they fail without my change -- [ ] I have squashed any insignificant commits -- [ ] This change has comments for package types, values, functions, and non-obvious lines of code -- [ ] I am willing to help maintain this change if there are issues with it later diff --git a/.github/PULL_REQUEST_TEMPLATE/pull_request.md b/.github/PULL_REQUEST_TEMPLATE/pull_request.md new file mode 100644 index 000000000..b6d81cd7b --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE/pull_request.md @@ -0,0 +1,40 @@ +--- +name: Pull request +about: Propose changes to the code +title: '' +labels: '' +assignees: '' +--- + + + +## 1. What does this change do, exactly? + + + + + +## 2. Please link to the relevant issues. + + + + + +## 3. Which documentation changes (if any) need to be made because of this PR? + + + + + +## 4. Checklist + +- [ ] I have written tests and verified that they fail without my change +- [ ] I have squashed any insignificant commits +- [ ] This change has comments explaining package types, values, functions, and non-obvious lines of code +- [ ] I am willing to help maintain this change if there are issues with it later