# ============================================================================
# Hakalab Framework - Git Ignore Configuration
# ============================================================================

# ============================================================================
# Python
# ============================================================================

.haka-ai-studio
desktop_images/audacity/
docker/

# Byte-compiled / optimized / DLL files
.idea
.idea/
.env
*.env

__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
PIPFILE.lock

# PyInstaller
*.manifest
*.spec

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
.pybuilder/
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# pipenv
Pipfile.lock

# poetry
poetry.lock

# pdm
.pdm.toml

# PEP 582
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env.local
.env.*.local
.venv
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# Cython debug symbols
cython_debug/

# ============================================================================
# Hakalab Framework Specific
# ============================================================================

# Test execution results
screenshots/
!screenshots/.gitkeep
html-reports/
!html-reports/.gitkeep
allure-results/
!allure-results/.gitkeep
allure-report/
videos/
!videos/.gitkeep
downloads/
!downloads/.gitkeep
reports/*
!reports/.gitkeep
!reports/html-reports/
!reports/html-reports/.gitkeep
reports/html-reports/*
!reports/html-reports/.gitkeep
!reports/screenshots/
!reports/screenshots/.gitkeep
reports/screenshots/*.png
!reports/screenshots/.gitkeep
!reports/videos/
!reports/videos/.gitkeep
json-reports/

# Temporary test files
test_database.db
advanced_test.db
*.db
backup_*.sql
temp_*.txt
output/

# Logs
*.log
logs/
behave.log

# Playwright browsers (optional - uncomment if you want to ignore)
# .ms-playwright/

# ============================================================================
# IDEs and Editors
# ============================================================================

# Visual Studio Code
.vscode/
*.code-workspace

# PyCharm / IntelliJ IDEA
# NOTE: .idea folder is INCLUDED in this project as requested
# Uncomment the following lines if you want to ignore .idea in the future
# .idea/
# *.iml
# *.iws
# *.ipr

# Sublime Text
*.sublime-project
*.sublime-workspace

# Vim
[._]*.s[a-v][a-z]
[._]*.sw[a-p]
[._]s[a-rt-v][a-z]
[._]ss[a-gi-z]
[._]sw[a-p]
*.swp
*.swo
*~

# Emacs
*~
\#*\#
/.emacs.desktop
/.emacs.desktop.lock
*.elc
auto-save-list
tramp
.\#*

# ============================================================================
# Operating System Files
# ============================================================================

# macOS
.DS_Store
.AppleDouble
.LSOverride
Icon
._*
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

# Windows
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db
*.stackdump
[Dd]esktop.ini
$RECYCLE.BIN/
*.cab
*.msi
*.msix
*.msm
*.msp
*.lnk

# Linux
*~
.fuse_hidden*
.directory
.Trash-*
.nfs*

# ============================================================================
# Project Specific
# ============================================================================

# Sensitive data (keep .env.example but ignore actual .env)
!.env.example
.env.production
.env.staging
.env.testing
.env.docker

# Backup files
*.bak
*.backup
*.old
*.orig

# Temporary files
tmp/
temp/
*.tmp

# Node modules (if using any JS tools)
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Docker
.dockerignore
docker-compose.override.yml

# ============================================================================
# Keep Important Directories
# ============================================================================

# Ensure these directories are tracked even if empty
!.kiro/
!.kiro/**
!features/
!features/steps/
!json_poms/
!test_files/

# Keep .gitkeep files
!.gitkeep

# ============================================================================
# Security
# ============================================================================

# API keys and tokens
*.pem
*.key
*.cert
secrets.yml
credentials.json

# SSH keys
id_rsa
id_rsa.pub
id_dsa
id_dsa.pub
id_ecdsa
id_ecdsa.pub
id_ed25519
id_ed25519.pub

# ============================================================================
# Build and Distribution
# ============================================================================

# Compiled files
*.com
*.class
*.dll
*.exe
*.o
*.so

# Packages
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip

# ============================================================================
# Miscellaneous
# ============================================================================

# Archives
*.tar.gz
*.tgz
*.zip
*.rar

# Large files
*.mp4
*.avi
*.mov
*.wmv
*.flv

# Database dumps
*.sql
*.sqlite

# ============================================================================
# End of .gitignore
# ============================================================================

# ============================================================================
# Credenciales de sesión y llaves privadas
# ============================================================================
# haka-login guarda aquí el estado del navegador: cookies y tokens de sesión,
# equivalentes a una contraseña. Nunca al repositorio.
logins/
*.session.json

# Llave privada de la autenticación JWT de Salesforce. El certificado (.crt) es
# público y puede versionarse; la llave no.
sf_key/*
!sf_key/.gitkeep
!sf_key/*.crt
*.pem
