Skip to content

chore: cleanup git hooks and remove runtime artifacts#1

Open
angualberto wants to merge 8 commits into
mainfrom
chore/cleanup-git-hooks
Open

chore: cleanup git hooks and remove runtime artifacts#1
angualberto wants to merge 8 commits into
mainfrom
chore/cleanup-git-hooks

Conversation

@angualberto

@angualberto angualberto commented Oct 12, 2025

Copy link
Copy Markdown
Owner

This PR removes runtime artifacts (logs, pid, anon_env) from the repo, adds a .githooks/pre-commit warning hook and an installer script scripts/install-git-hooks.sh.

Usage:

  • make hooks-install # installs hooks locally into .git/hooks
  • pre-commit shows warnings by default; set GIT_HOOKS_STRICT=1 to block commits.

Rationale: avoid accidental commits of generated/binary/runtime files and provide an easy local setup for hooks.

Files changed:

  • .githooks/pre-commit (warning mode by default)
  • scripts/install-git-hooks.sh
  • Makefile (hooks-install target)
  • .gitignore expanded
  • removed tracked: logs/server.log, run/anon_env, run/sus_api.pid

@angualberto angualberto changed the title chore/cleanup git hooks chore: cleanup git hooks and remove runtime artifacts Oct 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant