Mirrors pdf_processor.py — public process_excel_file() reads any HP
Source Messaging Excel, extracts cells via openpyxl (skipping empty
rows, capped at 50K chars), and summarises into structured Markdown
via Gemini 2.5 Pro. Output saved as brand_guidelines/files/{file_id}_summary.md.
On Gemini failure the processor writes a degraded summary containing
the raw extraction so the reference asset stays usable. Test fixtures
(real HP Excels) live under backend/tests/fixtures/hp/ and are gitignored.
91 lines
1.7 KiB
Text
91 lines
1.7 KiB
Text
# Thes are some examples of commonly ignored file patterns.
|
|
# You should customize this list as applicable to your project.
|
|
# Learn more about .gitignore:
|
|
# https://www.atlassian.com/git/tutorials/saving-changes/gitignore
|
|
|
|
# Node artifact files
|
|
node_modules/
|
|
dist/
|
|
|
|
# python virtual environment
|
|
venv/
|
|
|
|
# Compiled Java class files
|
|
*.class
|
|
|
|
# Compiled Python bytecode
|
|
*.py[cod]
|
|
|
|
# Log files
|
|
*.log
|
|
|
|
# Package files
|
|
*.jar
|
|
|
|
# Maven
|
|
target/
|
|
dist/
|
|
|
|
# JetBrains IDE
|
|
.idea/
|
|
|
|
# Unit test reports
|
|
TEST*.xml
|
|
|
|
# Generated by MacOS
|
|
.DS_Store
|
|
|
|
# Generated by Windows
|
|
Thumbs.db
|
|
|
|
# Applications
|
|
*.app
|
|
*.exe
|
|
*.war
|
|
|
|
# Large media files
|
|
*.mp4
|
|
*.tiff
|
|
*.avi
|
|
*.flv
|
|
*.mov
|
|
*.wmv
|
|
|
|
# Upload and output folders (development and production)
|
|
# These contain user uploads and generated reports - should not be in version control
|
|
uploads/
|
|
uploads-dev/
|
|
output/
|
|
output-dev/
|
|
|
|
# Server-specific deployment scripts (contain server details)
|
|
fix_apache_proxy.sh
|
|
diagnose_auth_issue.sh
|
|
|
|
|
|
# Local working docs and runtime state
|
|
CAPABILITY_LIST.md
|
|
COMPLIANCE_DOCUMENTATION.md
|
|
IMPLEMENTATION_TEST_RESULTS.md
|
|
LOREAL_STATIC_GENERAL_IMPLEMENTATION.md
|
|
OCR_CALIBRATION_TODO.md
|
|
backend/debug_mode.txt
|
|
backend/media_plans/
|
|
backend/usage_logs/
|
|
backend/user_access.json
|
|
backend/box_tokens.json
|
|
backend/client_defaults.json
|
|
backend/config/development.env
|
|
backend/config/production.env
|
|
backend/config/box_jwt_config.json
|
|
|
|
# Legacy env paths (pre-config/ refactor) still in use on older deploys.
|
|
# Untracked 2026-05-17 — git reset --hard during deploys was overwriting
|
|
# rotated secrets with the historical (compromised) values.
|
|
config.env
|
|
backend/config.env
|
|
config/development.env
|
|
config/production.env
|
|
|
|
# Local test fixtures (real HP Source Messaging files; not for commit)
|
|
backend/tests/fixtures/
|