From a7ebbfb7b1f79b171f6b97f928645fba29008421 Mon Sep 17 00:00:00 2001 From: Stefan Ruzitschka <362487+icepuma@users.noreply.github.com> Date: Fri, 22 Jul 2022 17:24:29 +0200 Subject: [PATCH 1/2] [github] add pr template --- docs/pull_request_template.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 docs/pull_request_template.md diff --git a/docs/pull_request_template.md b/docs/pull_request_template.md new file mode 100644 index 00000000..ee122e14 --- /dev/null +++ b/docs/pull_request_template.md @@ -0,0 +1,17 @@ +## I'm submitting a + +- [ ] bug fix +- [ ] feature + +## What is the current behaviour? + +## If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem + +## What is the expected behavior? + +## What is the motivation / use case for changing the behavior? + +## Please tell us about your environment: + +Version (`comtrya --version`): +Operating system: From 882af08e6093395f1a1c2eaa96f46f9c7cd99e87 Mon Sep 17 00:00:00 2001 From: Stefan Ruzitschka <362487+icepuma@users.noreply.github.com> Date: Sat, 23 Jul 2022 01:13:47 +0200 Subject: [PATCH 2/2] [doc] add a CONTRIBUTING.md --- CONTRIBUTING.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 00000000..4f24ee24 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,27 @@ +# How to contribute + +Thanks for reading this document! + +## Prerequisites +- Rust (e.g. via `rustup install stable`) +- Cargo (with `fmt`, `clippy` and `nextest`): + - `rustup component add rustfmt` + - `rustup component add clippy` + - `cargo install nextest` + +## Code style +Before you create a PR, just run `check.sh`: +- This will format your code via `fmt` +- Runs the linter `clippy` +- Runs all tests via `nextest` + +## Good first issues +If you want to contribute, but don't feel ready for the big tasks, feel free to choose from one of our [good first issues](https://github.com/comtrya/comtrya/issues?q=is%3Aissue+is%3Aopen+label%3AMeta%3A%3AGoodFirstIssue) + +## Pull requests +We provide a [pull request template](https://github.com/comtrya/comtrya/docs/pull_request_template.md) to guide you through the progress. + +## Help +If you want to get in touch with us, join the [Rawkode Academy Discord](https://rawkode.chat/) server and jump into the `#comtrya` channel. + +> See You Space Cowboy...