From 32be1e743d8a44a12c29152d257d5bbaa04a851e Mon Sep 17 00:00:00 2001 From: helloway Date: Mon, 30 Mar 2020 21:00:49 +0800 Subject: [PATCH] Add issue and PR templates for gitee and github --- .gitee/PULL_REQUEST_TEMPLATE.md | 26 +++++++++++++++ .github/ISSUE_TEMPLATE/RFC.md | 19 +++++++++++ .github/ISSUE_TEMPLATE/bug-report.md | 43 +++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/task-tracking.md | 19 +++++++++++ .github/PULL_REQUEST_TEMPLATE.md | 24 ++++++++++++++ 5 files changed, 131 insertions(+) create mode 100644 .gitee/PULL_REQUEST_TEMPLATE.md create mode 100644 .github/ISSUE_TEMPLATE/RFC.md create mode 100644 .github/ISSUE_TEMPLATE/bug-report.md create mode 100644 .github/ISSUE_TEMPLATE/task-tracking.md create mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.gitee/PULL_REQUEST_TEMPLATE.md b/.gitee/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..b58f1ab --- /dev/null +++ b/.gitee/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,26 @@ + + +**What type of PR is this?** +> Uncomment only one ` /kind <>` line, hit enter to put that in a new line, and remove leading whitespaces from that line: +> +> /kind bug +> /kind task +> /kind feature + + +**What does this PR do / why do we need it**: + + +**Which issue(s) this PR fixes**: + +Fixes # + +**Special notes for your reviewers**: + + diff --git a/.github/ISSUE_TEMPLATE/RFC.md b/.github/ISSUE_TEMPLATE/RFC.md new file mode 100644 index 0000000..7dd17f5 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/RFC.md @@ -0,0 +1,19 @@ +--- +name: RFC +about: Use this template for the new feature or enhancement +labels: kind/feature or kind/enhancement + +--- + +## Background +- Describe the status of the problem you wish to solve +- Attach the relevant issue if have + +## Introduction +- Describe the general solution, design and/or pseudo-code + +## Trail +| No. | Task Description | Related Issue(URL) | +| --- | ---------------- | ------------------ | +| 1 | | | +| 2 | | | diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md new file mode 100644 index 0000000..2c0260a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.md @@ -0,0 +1,43 @@ +--- +name: Bug Report +about: Use this template for reporting a bug +labels: kind/bug + +--- + + + +## Environment +### Hardware Environment(`Ascend`/`GPU`/`CPU`): +> Uncomment only one ` /device <>` line, hit enter to put that in a new line, and remove leading whitespaces from that line: +> +> `/device ascend`
+> `/device gpu`
+> `/device cpu`
+ +### Software Environment: +- **MindSpore version (source or binary)**: +- **Python version (e.g., Python 3.7.5)**: +- **OS platform and distribution (e.g., Linux Ubuntu 16.04)**: +- **GCC/Compiler version (if compiled from source)**: + +## Describe the current behavior + + +## Describe the expected behavior + + +## Steps to reproduce the issue +1. +2. +3. + +## Related log / screenshot + + +## Special notes for this issue + + diff --git a/.github/ISSUE_TEMPLATE/task-tracking.md b/.github/ISSUE_TEMPLATE/task-tracking.md new file mode 100644 index 0000000..f2d3d23 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/task-tracking.md @@ -0,0 +1,19 @@ +--- +name: Task +about: Use this template for task tracking +labels: kind/task + +--- + +## Task Description + + +## Task Goal + + +## Sub Task +| No. | Task Description | Issue ID | +| --- | ---------------- | -------- | +| 1 | | | +| 2 | | | + diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..96800b5 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,24 @@ + + +**What type of PR is this?** +> Uncomment only one ` /kind <>` line, hit enter to put that in a new line, and remove leading whitespaces from that line: +> +> `/kind bug`
+> `/kind task`
+> `/kind feature`
+ +**What does this PR do / why do we need it**: + + +**Which issue(s) this PR fixes**: + +Fixes # + +**Special notes for your reviewers**: + -- GitLab