First off, thank you for considering contributing to simple-grpc-router. It's people like you that make simple-grpc-router such a great tool.
If you've noticed a bug or have a feature request, make a new issue! It's generally best if you get confirmation of your bug or approval for your feature request this way before starting to code.
If this is something you think you can fix, then fork and create a branch with a descriptive name.
git checkout -b my-feature-branch
Make sure you're using a recent node version and run:
npm install
npm test
At this point, you're ready to make your changes! Feel free to ask for help; everyone is a beginner at first.
At this point, you should switch back to your master branch and make sure it's up to date with simple-grpc-router's master branch:
git remote add upstream [email protected]:pubg/simple-grpc-router.git
git checkout master
git pull upstream master
Then update your feature branch from your local copy of master, and push it!
git checkout my-feature-branch
git rebase master
git push --set-upstream origin my-feature-branch
Finally, go to GitHub and make a Pull Request :D
A PR can only be merged into master by a maintainer if:
- It is passing CI.
- It has been approved by at least two maintainers. If it was a maintainer who opened the PR, only one extra approval is needed.
- It has no requested changes.
- It is up to date with current master.
Any maintainer is allowed to merge a PR if all of these conditions are met.
- Make sure all PRs are in and CI is green.
- Update the version in package.json (we follow semver).
- Update CHANGELOG.md.
- Commit and push.
- Create a git tag for the version:
git tag v1.0.0
. - Push the tag to GitHub:
git push origin v1.0.0
. - Create a GitHub release and include highlights for the version.
- Celebrate!
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
Please refer to the Code of Conduct for more information.
Don't be shy to ask questions. Everyone is a beginner at first and we'd rather help you than see you struggle.