From bb9d29b5cfddb997ece800b22e57b7de45de24fa Mon Sep 17 00:00:00 2001 From: Chris Bednarski Date: Wed, 24 Feb 2016 17:41:57 -0800 Subject: [PATCH] Added github issue and PR templates --- .github/ISSUE_TEMPLATE.md | 14 ++++++++++++++ .github/PULL_REQUEST_TEMPLATE.md | 19 +++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 000000000..ea0ff29d6 --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,14 @@ +FOR FEATURES: + +Describe the feature you want and your use case. + +FOR BUGS: + +Describe the problem and include the following information: + +- Packer Version +- Host platform +- Debug log output from `PACKER_LOG=1 packer builde template.json`. + Please paste this in a gist https://gist.github.com +- The simplest example template and scripts needed to reproduce the bug. + Include these in your gist https://gist.github.com diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 000000000..8617fa90c --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,19 @@ +Describe your change. + +Use the following checklist to see when you're ready to merge (for docs-only changes you can skip this). + +- [ ] For bugs, your first commit should be a test that reproduces the bug. + This test should fail. +- [ ] Implement the change +- [ ] Add unit tests as appropriate + Example: builder/virtualbox/common/ssh_config_test.go:19 +- [ ] Add an acceptance test with a template example using your feature + Example: post-processor/compress/post-processor_test.go:153 +- [ ] Verify that tests pass +- [ ] For features, update / add documentation under `website/` +- [ ] Format your code with `go fmt` +- [ ] Rebase onto master +- [ ] If your PR resolves other open issues, indicate them below + +Closes #xxx +Closes #xxx