testsAndMisc/.copilotignore
Krzysztof kuhy Rudnicki 16c6b207e6 Add defense-in-depth binary file protection system
Layer 1: Pre-commit hook (scripts/check_no_binaries.sh) blocks 60+
binary/image extensions with .binary-allowlist for build-essential exceptions.

Layer 2: Comprehensive .gitignore binary patterns with ! overrides
for allowlisted files (app icons).

Layer 3: Agent exclusions - .copilotignore, files.exclude, and
search.exclude all mirror the same patterns to prevent Copilot
from hitting the 20-image URL limit.
2026-03-25 21:09:03 +01:00

113 lines
1.8 KiB
Plaintext

# ===========================================================================
# Binary / image files (** prefix for recursive matching)
# Mirrors .gitignore binary block — defense-in-depth for Copilot context
# ===========================================================================
# Images
**/*.png
**/*.jpg
**/*.jpeg
**/*.gif
**/*.webp
**/*.svg
**/*.ico
**/*.bmp
**/*.tiff
**/*.tif
**/*.psd
# Audio / Video
**/*.mp3
**/*.mp4
**/*.wav
**/*.avi
**/*.mkv
**/*.flac
**/*.ogg
**/*.wma
**/*.aac
**/*.m4a
**/*.mov
# Archives
**/*.zip
**/*.tar.gz
**/*.tgz
**/*.bz2
**/*.xz
**/*.7z
**/*.rar
# Documents
**/*.pdf
**/*.doc
**/*.docx
**/*.xls
**/*.xlsx
**/*.ppt
**/*.pptx
# Fonts
**/*.ttf
**/*.woff
**/*.woff2
**/*.eot
**/*.otf
# Compiled / binary
**/*.o
**/*.a
**/*.so
**/*.exe
**/*.dll
**/*.dylib
**/*.pyc
**/*.pyo
**/*.class
# Data
**/*.apkg
**/*.bin
**/*.flat
**/*.db
**/*.sqlite
**/*.sqlite3
# ===========================================================================
# Large directories
# ===========================================================================
# Virtual environments
.venv/
**/.venv/
# Node modules
node_modules/
**/node_modules/
# Caches
.ruff_cache/
.mypy_cache/
__pycache__/
**/__pycache__/
# Build outputs
pomodoro_app/build/
sonic_pi/build/
CPP/mini_browser/build/
# Generated / preview images
**/generated_images_*/
**/preview_images/
# Anki decks
python_pkg/anki_decks/
# Image-heavy directories (moved to ../testsAndMisc_binaries/)
python_pkg/praca_magisterska_video/images/
python_pkg/praca_magisterska_video/
python_pkg/articles/uploads/
python_pkg/download_cats/http_cat_cache/
C/misc/randomJPG/
# Files with many embedded image references
python_pkg/cinema_planner/pasted_content.txt
# C build artifacts
**/*.out
**/random_engine
**/fps_demo
**/1dvelocitysimulator