From 3a306cbf3ff2d9b4f30149aea6aca204c7e382db Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Sat, 18 Dec 2021 16:11:44 +0100 Subject: [PATCH 1/2] Add CONTRIBUTING.md file --- .github/CONTRIBUTING.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/CONTRIBUTING.md diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md new file mode 100644 index 00000000..0398cd52 --- /dev/null +++ b/.github/CONTRIBUTING.md @@ -0,0 +1,17 @@ +# Contributing to ComputeSharp + +Thank you for your interest in contributing to **ComputeSharp**! Below you'll find some info on how to get started with the project. + +> **NOTE:** it is highly recommended to carfully read the [README](/README.md) first to get a general understanding of the library. + +## 🙋 Questions, bug reports, feature proposals + +If you have a questions, want to report a bug, feel free to just open an issue selecting the right template. Make sure to fill in all requested sections and to include as many details as possible, as this will greatly speed up triage and make things easier for maintainers. + +## 🚀 Opening a PR + +PRs can be divided into two distinct categories: +- "Trivial PRs", such as PRs just fixing very small things (eg. typos, or one-line bugs), can just be opened directly. +- Larger PRs with bug fixes or new features **should first have a linked issue opened**, so that the change can be discussed beforehand. + +In either case, make sure to follow the PR template and to describe the proposed changes in detail when opening a PR. From e6c3a36b434d17b35af1c98cc999f8465d05a825 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Sun, 19 Dec 2021 14:40:19 +0100 Subject: [PATCH 2/2] Add pull request templates --- .github/PULL_REQUEST_TEMPLATE/bug_fix.md | 19 +++++++++++++++++++ .github/PULL_REQUEST_TEMPLATE/new_feature.md | 19 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 .github/PULL_REQUEST_TEMPLATE/bug_fix.md create mode 100644 .github/PULL_REQUEST_TEMPLATE/new_feature.md diff --git a/.github/PULL_REQUEST_TEMPLATE/bug_fix.md b/.github/PULL_REQUEST_TEMPLATE/bug_fix.md new file mode 100644 index 00000000..c9dd64dc --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE/bug_fix.md @@ -0,0 +1,19 @@ +--- +name: Bug fix +about: A pull request fixing an issue +title: '' +labels: 'bug fix :white_check_mark:' +assignees: '' + +--- + +### Closes # + +### Description (optional) + +This section should contain an expanded description +of the pull request, if the title is not sufficient. + +### Additional context (optional) + +Any additional info that might be useful to resolve the issue. diff --git a/.github/PULL_REQUEST_TEMPLATE/new_feature.md b/.github/PULL_REQUEST_TEMPLATE/new_feature.md new file mode 100644 index 00000000..47c159fa --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE/new_feature.md @@ -0,0 +1,19 @@ +--- +name: New feature +about: A new feature being added to the library +title: '' +labels: 'feature 🎉' +assignees: '' + +--- + +### Closes # + +### Description (optional) + +This section should contain an expanded description +of the pull request, if the title is not sufficient. + +### Additional context (optional) + +Any additional info that might be useful to resolve the issue.