From a84c6c6d749d674008f18024defee286f1c1bd7c Mon Sep 17 00:00:00 2001 From: Drew Date: Sat, 20 Oct 2018 08:43:19 -0400 Subject: [PATCH] Add issue & pull request templates (#1163) --- .github/ISSUE_TEMPLATE/1_Bug_Report.md | 48 ++++++++++++++ .github/ISSUE_TEMPLATE/2_Feature_Request.md | 28 +++++++++ .github/ISSUE_TEMPLATE/3_Question.md | 25 ++++++++ .github/pull_request_template.md | 69 +++++++++++++++++++++ 4 files changed, 170 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/1_Bug_Report.md create mode 100644 .github/ISSUE_TEMPLATE/2_Feature_Request.md create mode 100644 .github/ISSUE_TEMPLATE/3_Question.md create mode 100644 .github/pull_request_template.md diff --git a/.github/ISSUE_TEMPLATE/1_Bug_Report.md b/.github/ISSUE_TEMPLATE/1_Bug_Report.md new file mode 100644 index 000000000..0442cafa4 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/1_Bug_Report.md @@ -0,0 +1,48 @@ +--- +name: Bug report +about: Report a bug in ARTIQ + +--- + + + +# Bug Report + + + +## One-Line Summary + +Short summary. + +## Issue Details + +### Steps to Reproduce + +1. Step 1. +2. Step 2. +3. Step 3. + +### Expected Behavior + +Behavior + +### Actual (undesired) Behavior + +* Text description +* Log message, tracebacks, screen shots where relevant + +### Your System + +* Operating System: +* Conda version: +* ARTIQ version: (package or git commit id, versions for bitstream, bootloader, runtime and host software). Run `conda list` +* Hardware involved: + + diff --git a/.github/ISSUE_TEMPLATE/2_Feature_Request.md b/.github/ISSUE_TEMPLATE/2_Feature_Request.md new file mode 100644 index 000000000..d0d02f1e0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/2_Feature_Request.md @@ -0,0 +1,28 @@ +--- +name: Feature request +about: Suggest an idea for ARTIQ + +--- + + + +# ARTIQ Feature Request + +## Problem this request addresses + +A clear and concise description of what the problem is. + +## Describe the solution you'd like + +A clear and concise description of what you want to happen. + +## Additional context + +Add any other context about the feature request here. \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/3_Question.md b/.github/ISSUE_TEMPLATE/3_Question.md new file mode 100644 index 000000000..8455c7966 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/3_Question.md @@ -0,0 +1,25 @@ +--- +name: Support question +about: Questions about ARTIQ that are not covered in the documentation (Latest: https://m-labs.hk/artiq/manual-master/ or Stable: https://m-labs.hk/artiq/manual/) + +--- + +# Question + + + +## Category: FILL_IN + + + +## Description + +Question text diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 000000000..22b5b9ba2 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,69 @@ + + +# ARTIQ Pull Request + +## Steps (Choose relevant, delete irrelevant before submitting) + +### All Pull Requests + +- [x] Use correct spelling and grammar. +- [ ] Update [RELEASE_NOTES.md](../RELEASE_NOTES.md) if there are noteworthy changes, especially if there are changes to existing APIs. +- [ ] Close/update issues. +- [ ] Check the copyright situation of your changes and sign off your patches (`git commit --signoff`, see [copyright](../CONTRIBUTING.rst#copyright-and-sign-off)). + +### Code Changes + +- [ ] Run `flake8` to check code style (follow PEP-8 style). `flake8` has issues with parsing Migen/gateware code, ignore as necessary. +- [ ] Test your changes or have someone test them. Mention what was tested and how. +- [ ] Add and check docstrings and comments +- [ ] Check, test, and update the conda recipes in [conda/](../doc/) +- [ ] Check, test, and update the [unittests in /artiq/test/](../artiq/test/) or [gateware simulations in /artiq/gateware/test](../artiq/gateware/test) + +### Documentation Changes + +- [ ] Check, test, and update the documentation in [doc/](../doc/). Build documentation (`cd doc; make html`) to ensure no errors. + +### Git Logistics + +- [ ] Split your contribution into logically separate changes (`git rebase --interactive`). Merge/squash/fixup commits that just fix or amend previous commits. Remove unintended changes & cleanup. See [tutorial](https://www.atlassian.com/git/tutorials/rewriting-history/git-rebase). +- [ ] Write short & meaningful commit messages. Review each commit for messages (`git show`). Format: + ``` + [topic]: description. < 50 characters total. + Longer description. < 70 characters per line + ``` +## Description of Changes + +### Related Issue + + + +## Type of Changes + + +| | Type | +| ------------- | ------------- | +| ✓ | :bug: Bug fix | +| ✓ | :sparkles: New feature | +| ✓ | :hammer: Refactoring | +| ✓ | :scroll: Docs | + + +### Licensing + +See [copyright & licensing for more info](https://github.com/m-labs/artiq/blob/master/CONTRIBUTING.rst#copyright-and-sign-off). +ARTIQ files that do not contain a license header are copyrighted by M-Labs Limited and are licensed under LGPLv3+.