Relay welcomes contributions! Read on if you're interested in getting involved with the project.
All interactions between Puppet employees, contributors, and community members on Relay-related projects are subject to Puppet Community Code of Conduct.
Make sure there's not some existing code or a discussion that covers the change you want to make by searching existing Github issues.
To make it easier to contribute while still staying in the good graces of our (super wonderful!) Legal department, we require a Developer Certificate of Origin sign-off on contributions. See this explanation from the Helm project to understand the rationale behind the DCO.As a practical matter, this means adding the -s | --signoff
flag to your commits.
- Clone the repository into your own namespace
- Create a topic branch from where you want to base your work.
- To quickly create a topic branch based on
main
, rungit checkout -b fix/my_fix origin/main
.
- To quickly create a topic branch based on
- Make commits of logical and atomic units.
- Check for unnecessary whitespace with
git diff --check
before committing. - Make sure your commit messages are in the proper format. We (try to!) follow Tim Pope's guidelines for writing good commit messages: format for short lines, use the imperative mood ("Add X to Y"), describe before and after state in the commit message body. Remember to add the
-s
flag to commits to DCO-sign them! - Make sure you have added the necessary tests for your changes.
- Submit a pull request per the usual github PR process.