Thanks for your interest. This guide applies to Madstone Tech repositories that do not have their own CONTRIBUTING.md. If a repository has one, it takes precedence.
- Read the project's README and its documentation at docs.mdstn.dev, where available.
- Search existing issues before you open a new one.
- For anything larger than a small fix, open an issue first so we can agree on the approach before you write code.
- Security problems: do not open an issue. See SECURITY.md.
Use the issue templates. A good bug report has the version, your OS, the exact command or input, what you expected, and what happened.
- Fork the repository and create a branch from
main. - Keep each pull request to one change. Small pull requests get reviewed faster.
- Add or update tests for the behavior you change.
- Make sure the project builds and its tests and linters pass. For most of our Go projects:
go build ./... go test ./... go vet ./... - Update the documentation if you change behavior, flags or output.
- Write clear commit messages. We prefer Conventional Commits (
feat:,fix:,docs:, …).
Projects use different licenses (for example MIT or the Business Source License). By contributing, you agree that your contribution is licensed under the license of the repository you contribute to.