hackutd/harp.
Getting started
Commit and PR conventions
Harp’s releases are generated automatically from commit history, so commit messages follow Conventional Commits:- PR titles must be Conventional Commits too. A CI check validates them, and they become the changelog entries when the release PR merges.
feat:drives a minor version bump,fix:a patch, and a!orBREAKING CHANGE:footer a major.- We prefer rebasing over merge commits: keep your branch rebased on
mainso history stays linear.
The git hooks
task setup-hooks points git at the repo’s hooks, which keep your commits clean before they reach CI:
pre-commitrunsgofmton staged Go files and re-stages any fixes automatically. It never blocks a commit; it just keeps the CI format gate green.commit-msgrejects commit messages that aren’t Conventional Commits, with a help text listing the valid types.
What CI checks
Every PR runs two parallel jobs:- Backend:
gofmt,go vet,staticcheck, build, andgo test -race - Portal: Prettier check, ESLint, TypeScript build, and dependency audit