Thank you for your interest in contributing.
- Bug reports and feature requests: Open an issue and use the template that fits best.
- Code changes: Open a pull request from a branch (for example
fix/descriptionorfeat/short-name). - Branch policy: Use
developas integration branch andmainfor stable releases. - PR base branch: Open normal feature/fix PRs against
develop. - Scope: Keep PRs focused and small when possible.
- Format Go code with
gofmt -s. - Run checks locally before submitting:
make lint(includescheck-x-net-pinforgolang.org/x/net v0.57.0)make testmake cover(statement coverage ≥ 80%; SPEC §6.1)make security
- After
go mod tidyor Dependabot dependency PRs, re-pin if needed:go get golang.org/x/net@v0.57.0, thenmake check-x-net-pin. - For release-related changes, run:
make release-check(includes cover; do not tag below 80%)
- Native OS packaging (
.deb,.rpm, FreeBSD/OpenBSD): optional maintainer gate —make test-platforms-ping/make test-platformswith inventory undertesting/platforms/(see testing/platforms/README.md).
- Docker / Helm manifests: validated in gghstats-selfhosted, not in this repo.
- Version is read from
VERSION(semantic version withoutv, for example0.1.2). - Release tag format is
v<version>(for examplev0.1.2). - Release PR flow: merge
developintomain, then tag and release frommain. - Useful commands:
make snapshotmake test-releasemake release
If you are unsure, open an issue and describe your proposal before implementing large changes.