Files
delphi-database/.gitattributes
2025-08-08 15:55:15 -05:00

125 lines
2.0 KiB
Plaintext

# Delphi Consulting Group Database System - .gitattributes
# Auto detect text files and perform LF normalization
* text=auto
# ===== SECURITY SENSITIVE FILES =====
# Ensure environment files are treated as text (for proper diff)
.env* text
*.env text
# ===== SOURCE CODE =====
# Python files
*.py text diff=python
*.pyx text diff=python
*.pyi text diff=python
# Configuration files
*.cfg text
*.conf text
*.config text
*.ini text
*.json text
*.toml text
*.yaml text
*.yml text
# Web files
*.html text diff=html
*.css text diff=css
*.js text
*.jsx text
*.ts text
*.tsx text
# Templates
*.j2 text
*.jinja text
*.jinja2 text
# ===== DOCUMENTATION =====
*.md text diff=markdown
*.rst text
*.txt text
LICENSE text
README* text
# ===== SHELL SCRIPTS =====
*.sh text eol=lf
*.bash text eol=lf
*.fish text eol=lf
*.zsh text eol=lf
# Batch files (Windows)
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf
# ===== DOCKER & DEPLOYMENT =====
Dockerfile* text
docker-compose*.yml text
*.dockerfile text
# ===== DATABASE & DATA =====
# Treat as binary to prevent corruption
*.db binary
*.sqlite binary
*.sqlite3 binary
# SQL files as text
*.sql text
# CSV files as text (but may contain sensitive data - see .gitignore)
*.csv text
# ===== LEGACY PASCAL FILES =====
# Treat legacy files as binary to preserve original format
*.SC binary
*.SC2 binary
*.LIB binary
# ===== CERTIFICATES & KEYS =====
# Always treat as binary for security
*.pem binary
*.key binary
*.crt binary
*.cert binary
*.p12 binary
*.pfx binary
# ===== IMAGES =====
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.svg text
*.webp binary
# ===== FONTS =====
*.woff binary
*.woff2 binary
*.eot binary
*.ttf binary
*.otf binary
# ===== ARCHIVES =====
*.zip binary
*.tar binary
*.gz binary
*.rar binary
*.7z binary
# ===== JUPYTER NOTEBOOKS =====
# Merge conflicts in notebooks are problematic
*.ipynb text
# ===== GITHUB SPECIFIC =====
# Treat GitHub files as text
.gitignore text
.gitattributes text
.github/** text
# ===== LOG FILES =====
*.log text