chore: add scripts/dev-setup.sh and a CLAUDE.md for working in this repository #12

Merged
Defame1297 merged 1 commits from chore/dev-setup-and-claude-md into main 2026-10-25 16:40:27 +00:00
1 Commits
Author SHA1 Message Date
Defame1297andClaude Sonnet 5.5 44470c3bc3 chore: add scripts/dev-setup.sh and a CLAUDE.md for working in this repository
Lint / lint (pull_request) Successful in 6s
Build / build (pull_request) Successful in 8s
dev-setup.sh creates the virtualenv with the pinned tools and installs the git
hooks with the virtualenv first on PATH inside the hook scripts. Without that,
the language: system hooks (REUSE, changelog lint, ansible-lint) fail with
"No such file or directory: 'reuse'" on a plain `git commit`; found while testing
the hooks in a fresh clone.

CLAUDE.md records the rules of the repository for Claude Code: commit with git
so the hooks run (the Gitea API skips them, which let four lint failures reach
CI), feature branches and protected main/tags, the workflow rules, how the
images are versioned and pinned, and the 100 MB layer limit. It is written for
a repository that will be public: no addresses, no host names beyond the
public Gitea.

CONTRIBUTING.md points at the script.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-10-25 16:36:37 +00:00