From d7e7be9924dc5dfb661b2c399525da4dfaf27200 Mon Sep 17 00:00:00 2001 From: Ahmet Cetin Date: Tue, 2 Oct 2018 18:46:51 +0200 Subject: [PATCH] Create CONTRIBUTING.md --- CONTRIBUTING.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..c3b7024 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,30 @@ +# Contributing to gravity +Contributing to gravity isn't limited to just filing bugs, users are more than welcomed to make suggestions, report any issue they may find, and make pull requests to help make gravity better. + +## Working on gravity +### Prerequisites +* [Git](https://git-scm.com/) + +### Getting gravity +1. Fork a copy of our repo +2. Open up Git in an environment of your choice +3. Run the following + +``` +$ git clone https://github.com/YOUR-GITHUB-PROFILE-NAME/gravity.git +$ cd gravity +``` + +### Please pay attention to +1. open an issue describing the feature/bug you wish to contribute first to start a discussion, explain why, what and how +2. write tests covering 100% of the library code you produce +3. one PR per feature/fix unless you follow [standard-version](https://github.com/conventional-changelog/standard-version) commit guidelines + +### Using branches +When working on any issue on Github, it's a good practice to make branches that are specific to the issue you're currently working on. For instance, if you're working on an issue with a name like "NAME OF ISSUE #1234", from the master branch run the following code: `git checkout -b Issue#1234`. In doing so, you'll be making a branch that specifically identifies the issue at hand, and moves you right into it with the `checkout` flag. This keeps your main (master) repository clean and your personal workflow cruft out of sight when making a pull request. + +### Finding issues to fix +After you've forked and cloned our repo, you can find issues to work on by heading over to our [issues list](https://github.com/nveenjain/gravity/issues). We advise looking at the issues with the labels [help wanted](https://github.com/nveenjain/gravitya/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22) or [good first issue](https://github.com/nveenjain/gravity/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22), as they will help you get familiar with the gravity code. + +### Rules of the discussions +Remember to be very clear and transparent when discussing any issue in the discussions boards. We ask that you keep the language to English and keep on track with the issue at hand. Lastly, please be respectful of our fellow contributors and keep an exemplary level of professionalism at all times.