# PHP (Laravel) Ignores
#/laravel_app/vendor/
#/laravel_app/.env
.idea/

# Python Ignores
/python_app/__pycache__/
/python_app/*.pyc
__pycache__/
*.pyc
*.pyo
*.py[cod]
*.py[cod]
myenv/myenv/
pip-wheel-metadata/
dist/
*.egg-info/
*.egg/*.egg/
.ipynb_checkpoints

# R Output Files
*.Rout
*.Rhistory
*.RData
*.Rdata
.Rproj.user
.Rprofile
Rplots.pdf
*.pdf

# R Data Files
*.rds
!renv.lock

# Data Files (Excel, CSV, Text)
*.xlsx
*.csv
*.txt
!python_app/requirements*.txt
!PACKAGE_MANAGEMENT.md
!README.md
!LICENSE.txt

# Spatial Data
*.tif
*.geojson
!r_app/experiments/pivot.geojson

# Generated Reports and Word Documents
r_app/output/
r_app/*.docx
!r_app/word-styles-reference-var1.docx
output/
reports/
*.docx

# Experiment Outputs (temporary plots, analysis artifacts)
python_app/harvest_detection_experiments/*/plots/
python_app/harvest_detection_experiments/*/*.ipynb_checkpoints/
CI_report_dashboard_planet_files/

# Cache Files
rosm.cache/
renv/cache/

# Logs
*.log
package_manager.log

# Temporary Files
*.tmp
*.save
*.bak
*.swp
*.swo
package_manager.log
experiments_and_old_code_python_r/

# Laravel Storage (contains user data and outputs)
laravel_app/storage/app/*/Data/
laravel_app/storage/app/*/reports/
/laravel_app/public/*
!/laravel_app/public/.htaccess
!/laravel_app/public/index.php
!/laravel_app/public/robots.txt

# R Environment (renv)
renv/library/
!renv/library/.gitkeep
renv/local/
renv/python/
renv/staging/
# Keep only these renv files
!renv.lock
!renv/activate.R
!renv/settings.json
!renv/.gitignore

# IDE and OS
.DS_Store
.Rproj.user
.idea/
.vscode/

# API Specific files
.env
tokens.json
api/images