mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-17 09:37:02 +00:00
1.3 KiB
1.3 KiB
How to Contribute
Inbucket encourages third-party patches. It's valuable to know how other developers are using the product.
Getting Started
If you anticipate your issue requiring a large patch, please first submit a GitHub issue describing the problem or feature. You are also encouraged to outline the process you would like to use to resolve the issue. I will attempt to provide validation and/or guidance on your suggested approach.
Making Changes
Inbucket uses git-flow with default options. If you have git-flow installed,
you can run git flow feature start <topic branch name>.
Without git-flow, create a topic branch from where you want to base your work:
- This is usually the
developbranch, example command:git checkout origin/develop -b <topic branch name> - Only target the
masterbranch if the issue is already resolved indevelop.
Once you are on your topic branch:
- Make commits of logical units.
- Add unit tests to exercise your changes.
- Run the updated code through
go fmtandgo vet. - Ensure the code builds and tests with the following commands:
go clean ./...go build ./...go test ./...
Thanks
Thank you for contributing to Inbucket!