Commit Graph
4 Commits
Author SHA1 Message Date
lukaszraczylo 8b8c92fb3c ci: bump Go to 1.25.x + golangci-lint-action to v7
First CI run failed because:
- staticcheck v0.7.0, gosec, govulncheck (all @latest) require Go >= 1.25
- golangci-lint-action v6 does not support golangci-lint v2

Aligns Go version with the rest of the consumer projects (go-telegram,
mcp-filepuff, kportal, lolcathost all on 1.25.x).
2026-05-21 04:11:21 +01:00
lukaszraczylo 789324a3d4 ci: mirror go-telegram's release pipeline with auto-tagging
Replicates the standard CI + release process from go-telegram:
- vet, staticcheck, govulncheck, gosec, golangci-lint, race-tested test
  on every push and PR
- ci-success aggregator as the single required status check
- release job auto-fires on clean push to main: lukaszraczylo/semver-generator
  computes next version from commit history, tags v<X.Y.Z>, and
  `gh release create --generate-notes` publishes a GitHub release

oss-telemetry is library-only, so unlike go-telegram there is no
GoReleaser step and no binaries are attached — consumers continue to
go get github.com/lukaszraczylo/oss-telemetry@<tag>.

.semver.yaml mirrors the keyword set used in go-telegram (Conventional
Commits prefixes, BREAKING CHANGE for major).
2026-05-21 04:09:44 +01:00
lukaszraczylo 6dd2e0b5bc docs: rename disable section for stable anchor
Renames the README section from "How users disable telemetry" to
"Disabling telemetry" so consumer projects can link to a clean,
stable URL fragment (#disabling-telemetry) instead of duplicating the
opt-out table in each downstream README.
2026-05-21 04:03:19 +01:00
lukaszraczylo e02d51419c feat: initial fire-and-forget telemetry client
Anonymous OSS usage telemetry library with zero third-party deps.

- Send(project, version): fire-and-forget POST to oss.raczylo.com/v1/ping
- Disable() and Wait(timeout) helpers
- Disable via DO_NOT_TRACK, OSS_TELEMETRY_DISABLED, or per-project env
- Failproof: never blocks, never panics, never returns errors
- Hand-written JSON (no encoding/json) and byte-loop validators (no regexp)
- golangci-lint v2 clean, all tests pass with -race
2026-05-21 01:58:11 +01:00