Memory entry prompts Mac session to run scripts/install-hooks.sh before any GuruRMM work. Syncs via Gitea on next pull. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1.2 KiB
1.2 KiB
name, description, type
| name | description | type |
|---|---|---|
| Mac gururmm hook setup pending | Mikes-MacBook-Air needs install-hooks.sh run in gururmm repo — one-time setup to prevent sqlx migration drift | project |
The gururmm repo on this Mac needs a one-time setup step that was applied to all other machines on 2026-04-19.
Action required (do this now, before any gururmm work):
cd /Users/azcomputerguru/ClaudeTools/projects/msp-tools/guru-rmm
git pull
bash scripts/install-hooks.sh
What this does:
- Sets
core.hooksPath = scripts/hooks/so the pre-commit CRLF check is active - Sets
core.autocrlf=falseandcore.eol=lflocally and globally - Prevents sqlx migration checksum drift (root cause: CRLF vs LF sha384 mismatch)
Why: The gururmm build server refused to start after a rebuild because migration file hashes differed between what was stored in _sqlx_migrations and the current files. Root cause was CRLF line endings from Windows commits. Fixed with .gitattributes + per-machine git config. This command applies the git config side.
macOS defaults to LF, so this is low-risk — mainly sets the hooksPath so the pre-commit guard is active.
After running: Delete this memory file or mark it resolved.