mirror of
https://github.com/MeshCore-Beacon/beacon-server.git
synced 2026-09-01 16:48:19 +00:00
1.2 KiB
1.2 KiB
Contributing to Beacon
Branches
main— stable releases only, protecteddev— active development, all PRs target this branch
Workflow
- Fork or create a branch from
dev - Make your changes
- Open a pull request against
dev - One commit per PR (squash before opening or use squash merge)
Commit messages
Use the conventional commits format:
feat: add route search endpointfix: correct lat/lon divisor for advert payloadschore: update airports.csvdocs: update README project layout
Code style
- Run
gofmt -w .before committing - Run
go vet ./...— no warnings - Run
go build ./...— must compile
Tests
- Add tests for any new pure functions
- Run
go test ./...before opening a PR - Integration tests are not yet required but welcome
Dependencies
When adding a new dependency please add it to SHOULDERS.md with a brief description of what it does.
Pull requests
- Target
devnotmain - One logical change per PR
- Include a brief description of what changed and why
- Reference any related issues
Releases
Merges from dev to main are done by maintainers and represent a versioned
release.