Skip to content

Latest commit

 

History

History
80 lines (53 loc) · 2.04 KB

CONTRIBUTING.md

File metadata and controls

80 lines (53 loc) · 2.04 KB

Contributing Guidelines

watermill-opentelemetry project is Apache licensed and accepts contributions via GitHub pull requests. This document outlines some of the conventions on development workflow, commit message formatting, contact points, and other resources to make it easier to get your contribution accepted.

Support Channels

The official support channels, for both users and contributors, are:

How to Contribute

Pull Requests (PRs) are the main and exclusive way to contribute to the official watermill-opentelemetry project.

Setup

Fork, then clone the repository:

git clone git@github.com:your_github_username/watermill-opentelemetry.git
cd watermill-opentelemetry
git remote add upstream https://github.com/voi-oss/watermill-opentelemetry.git
git fetch upstream

Install dependencies:

make deps

Make sure the tests and linters pass:

make lint
make tests

Making Changes

Start by creating a new branch for your changes:

git checkout master
git fetch upstream
git rebase upstream/master
git checkout -b new-feature

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

git push origin 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.