Skip to content

Latest commit

 

History

History
68 lines (51 loc) · 2.12 KB

CONTRIBUTING.md

File metadata and controls

68 lines (51 loc) · 2.12 KB

Table of Contents generated with DocToc

Contributing

If you'd like to add new utility functions, please open an issue describing your proposal problem; discussing API changes ahead of time makes pull request review much smoother. In your issue, pull request, and any other communications, please remember to treat your fellow contributors with respect! We take our code of conduct seriously.

Setup

Fork, then clone the repository:

git clone https://github.com/rookie-ninja/rk-common.git
cd rk-common
git remote add upstream https://github.com/rookie-ninja/rk-common.git
git fetch upstream

Install rk-common's dependencies:

go mod tidy

Making Changes

Start by creating a new branch for your changes:

git checkout master
git fetch upstream
git rebase upstream/master
git checkout -b cool_new_feature

Make your changes, then ensure that make all still pass. If you're satisfied with your changes, push them to your fork.

git push origin cool_new_feature

Then use the GitHub UI to open a pull request.

At this point, you're waiting on us to review your changes. We try to respond to issues and pull requests within a few business days, and we may suggest some improvements or alternatives. Once your changes are approved, one of the project maintainers will merge them.

We're much more likely to approve your changes if you:

  • Add tests for new functionality.
  • Write a good commit message.
  • Maintain backward compatibility.