From bd776f33219dd9a9a4320133edfda3060786a328 Mon Sep 17 00:00:00 2001 From: Sebastian Funk Date: Mon, 19 Feb 2024 10:03:02 +0000 Subject: [PATCH] add Issue and PR templates (#554) --- .github/ISSUE_TEMPLATE/bug_report.md | 30 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/documentation.md | 23 +++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 20 +++++++++++++++ .github/ISSUE_TEMPLATE/other_issue.md | 10 ++++++++ .github/PULL_REQUEST_TEMPLATE.md | 31 +++++++++++++++++++++++ 5 files changed, 114 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/documentation.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/other_issue.md create mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 000000000..4fb5c22be --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,30 @@ +--- +name: Bug report +about: | + *Bugs* manifest in issue when using the package but may also include behaviour + that does not impact package functionality, but which seems as though it might + not be intended by the package developers. +title: '' +labels: '' +assignees: '' +--- + + + +Summary: +Please provide a short summary (no more than a sentence or two). + +Description: +Describe the issue as clearly as possible. + +Reproducible Steps: +Please report steps to reproduce the issue. If it's not possible to reproduce, please include a description of how you discovered the issue. + +If you can produce a [reproducible example](http://reprex.tidyverse.org/articles/reprex-dos-and-donts.html), please include it. + +EpiNow2 Version: +The version of EpiNow2 you are running (e.g., from `packageVersion("EpiNow2")`) + +--------- + diff --git a/.github/ISSUE_TEMPLATE/documentation.md b/.github/ISSUE_TEMPLATE/documentation.md new file mode 100644 index 000000000..26fb2acc9 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/documentation.md @@ -0,0 +1,23 @@ +--- +name: Documentation +about: | + Documentation issues could be typos, unclear descriptions, issues with + existing vignettes, or suggestions for a new vignette. +title: '' +labels: '' +assignees: '' +--- + + + +Type of issue: +State whether you are commenting on existing documentation / vignettes, or suggesting a new vignette. + +Detail: +Provide any detail that may be useful for discussion. + +--------- + + + diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 000000000..c9ae5ede2 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,20 @@ +--- +name: Feature suggestion +about: Suggest an idea for this project +title: '' +labels: '' +assignees: '' +--- + + + +Is your feature request related to a problem? Please describe: +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +Describe the solution you'd like: +A clear and concise description of what you want to happen. + +Additional context: +Add any other context or screenshots about the feature request here.ocument Title + diff --git a/.github/ISSUE_TEMPLATE/other_issue.md b/.github/ISSUE_TEMPLATE/other_issue.md new file mode 100644 index 000000000..1a1b4c3ac --- /dev/null +++ b/.github/ISSUE_TEMPLATE/other_issue.md @@ -0,0 +1,10 @@ +--- +name: Other issue +about: Any issue that doesn't fit the other categories +title: '' +labels: '' +assignees: '' +--- + +Please include a brief description of the issue and any proposed solutions you may have. + diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 000000000..e933ca158 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,31 @@ + + + + +## Description + +This PR closes #. + + + +## Initial submission checklist + + + +- [ ] My PR is based on a package issue and I have explicitly linked it. +- [ ] I have tested my changes locally (using `devtools::test()` and `devtools::check()`). +- [ ] I have added or updated unit tests where necessary. +- [ ] I have updated the documentation if required and rebuilt docs if yes (using `devtools::document()`). +- [ ] I have followed the established coding standards (and checked using `lintr::lint_package()`). +- [ ] I have added a news item linked to this PR. + +## After the initial Pull Request + +- [ ] I have reviewed Checks for this PR and addressed any issues as far as I am able. + + +