ci(bf-58sdn): extend .gitignore to prevent debris tracking

Added comprehensive, well-organized rules to prevent tracking of:
- Compiled binaries and build artifacts (*.rlib, debug_*, test_*, gen_*)
- Scratch and temporary output files (*.ppm, mod, out.pdf, scratch/)
- Backup and editor temporary files (*.bak*, *.bak.*, *~, *.swp, *.tmp)
- Generated fixture source files (gen_*.rs in tests/, excluding xtask/)

Rules are categorized by type for maintainability and specificity to avoid
ignoring legitimate source files.
This commit is contained in:
jedarden 2026-07-05 17:11:57 -04:00
parent c7a2d47dcc
commit 1631cedcf3
2 changed files with 55 additions and 13 deletions

66
.gitignore vendored
View file

@ -11,26 +11,68 @@ memory-report.json
# Proptest regressions are committed (minimal counterexamples)
# but the .gitkeep keeps the directory in git
# ============================================================================
# Compiled binaries and build artifacts
# ============================================================================
# Compiled libraries
*.rlib
# Compiled binaries in repo root
debug_*
test_*
gen_fixtures
gen_ocr_fixtures
# Compiled libraries
*.rlib
# Scratch output files
0
--1.ppm
mod
out.pdf
# Backup files
*.bak
# Compiled binaries in tests/fixtures/
tests/fixtures/gen_fixtures
tests/fixtures/gen_ocr_fixtures
tests/fixtures/gen_suspects*
tests/fixtures/gen_unmapped*
# Temporary fixture generators in test directories
tests/*/gen_*.py
tests/*/gen_*.rs
tests/*/*/gen_*.py
tests/*/*/gen_*.rs
# ============================================================================
# Scratch and temporary output files
# ============================================================================
# Scratch output files in repo root
0
--1.ppm
mod
out.pdf
# Common scratch output patterns
*.ppm
scratch/*.txt
scratch/*.pdf
scratch/*.bin
# ============================================================================
# Backup and editor temporary files
# ============================================================================
# Backup files (any extension)
*.bak
*.bak*
*.bak.*
*~
# Editor temp files
.*.swp
*.swp
*.swo
*.tmp
.*.tmp*
# ============================================================================
# Generated source files (temporary generators)
# ============================================================================
# Generated fixture source files (keep generators, ignore generated sources)
gen_*.rs
!xtask/src/bin/gen_*.rs # Keep xtask generators

View file

@ -1 +1 @@
16d93b0feb47c2411ef6b924bb7c504eeb97a497
c7a2d47dccc929958f4f860a52817269400a72df