diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-28 09:16:39 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-28 09:16:39 -0500 |
| commit | 5c0c7a6f213609f5be8258f07b763201ad182876 (patch) | |
| tree | 9d7c0d54cde859607fb1910b57395f4408900906 /README.org | |
| parent | bdf755d33aa6a207a538c85f18e38cc03f14e529 (diff) | |
| download | rulesets-5c0c7a6f213609f5be8258f07b763201ad182876.tar.gz rulesets-5c0c7a6f213609f5be8258f07b763201ad182876.zip | |
fix(sync-check): ignore generated python and elisp artifacts
Pre-commit caught a false-positive on its first real-world run. The
.ai/scripts/__pycache__ directory created by make test (pytest writes
.pyc and .pytest_cache, emacs writes .elc) was flagged as drift
against the canonical's clean tree.
Added matching --exclude patterns to the diff -rq check and the --fix
rsync calls. Patterns: __pycache__, *.pyc, *.pyo, .pytest_cache, *.elc.
The --fix excludes prevent rsync's --delete from wiping the mirror's
__pycache__ when the canonical has none.
Four new bats tests cover the exclusions. All 12 pass.
Diffstat (limited to 'README.org')
0 files changed, 0 insertions, 0 deletions
