Thanks for your interest in contributing to DewDrops!
- Fork and clone the repository
- Make sure you have Go 1.25+ installed
- Run the tests to confirm everything works:
make test
The codebase is a single main.go file in package main. There are no sub-packages.
make buildmake testOr directly with Go:
go test -v -count=1 ./...Tests create temporary Git repositories as fixtures, so git must be available on your system.
All code must be gofmt-formatted:
make formatCI will reject unformatted code (make format-check).
- Write tests. New features should include tests. Test fixtures should use real temp Git repos (see
setupFixtureRepoinmain_test.gofor the pattern). - Don't break existing behavior. The default
dewdrops .command must continue to produce the same output format. RunTestDefaultBehaviorUnchangedto verify.
- Create a feature branch from
master - Make your changes
- Ensure all tests pass:
make test - Ensure code is formatted:
make format-check - Open a pull request against
master
Open an issue on GitHub with:
- What you expected to happen
- What actually happened
- Steps to reproduce
- Your Go version and OS
By contributing, you agree that your contributions will be licensed under the MIT License.