We'd love you to contribute to our source code and to make our project even better than it is today! Here are the guidelines we'd like you to follow:
Questions can be asked in form of issues. Also feel free asking questions to the maintainers
If you find a bug in the source code, you can help us by submitting an issue to our repository. Even better, you can submit a Pull Request with a fix.
Please see the Working with the code below.
When contributing to this repository, please first discuss the change you wish to make via an issue with the owners of this repository before making a change. Once owners agree with your proposal, you can follow instructions from the next section to create a Pull Request. Also first of all search GitHub for an open or closed Pull Request that relates to your submission. We don't want you to waste time.
If you want to fix, to add enhancement, or to improve documentation, you need to learn how to work with GitHub, grpc-timeouts code base and contributing rules.
You will need clone the repository to work on the code.
git clone https://github.com/Byndyusoft/grpc-timeouts.git
This creates the directory grpc-timeouts. Depending on your version of git it might be necessary to explicitly tell Git to download the contents of the repository submodules:
git submodule update --init --recursive
Branch master
is protected. To make your change, create a new branch from it. You must pull the master
branch.
git checkout master
git pull origin master
For create new branch, you can do :
git branch feature/new_feature
git checkout feature/new_feature
or :
git checkout -b feature/new_feature
For better understanding why branch is created, branch must respect the naming convention:
- for a feature : feature/#<issue_number>_short_name_of_feature
- for a bug fix : fix/#<issue_number>_short_name_of_bug
Now, you can write code. For help you, you can read README or ask questions. Don't forget to add #<issue_number> to your commit messages for automatically link it with the issue.
After coding, you can't merge your code to master
because this branch is protected. To do this, you must create a Pull Request from your branch to master
.
For accepting, each Pull Request must satisfy the following conditions:
- The merge to
master
should not have conflict. You can executegit rebase origin/master
- Tests are enriched and tests are executed with success
- Documentation are enriched