- Configure workspace Git repository with comprehensive .gitignore - Add Odoo as submodule for ERP reference code - Include documentation: SETUP.md, GIT-STRUCTURE.md - Add gitignore templates for projects (backend, frontend, database) - Structure supports independent repos per project/subproject level Workspace includes: - core/ - Reusable patterns, modules, orchestration system - projects/ - Active projects (erp-suite, gamilit, trading-platform, etc.) - knowledge-base/ - Reference code and patterns (includes Odoo submodule) - devtools/ - Development tools and templates - customers/ - Client implementations template 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
408 lines
8.3 KiB
Plaintext
408 lines
8.3 KiB
Plaintext
# =============================================================================
|
|
# WORKSPACE MASTER .gitignore
|
|
# =============================================================================
|
|
# Este archivo define las exclusiones globales para el repositorio del workspace.
|
|
# Cada proyecto puede tener su propio .gitignore para exclusiones específicas.
|
|
# =============================================================================
|
|
|
|
# =============================================================================
|
|
# NODE.JS / JAVASCRIPT / TYPESCRIPT
|
|
# =============================================================================
|
|
|
|
# Dependencias - Excluir a TODOS los niveles
|
|
**/node_modules/
|
|
**/.npm/
|
|
**/.yarn/cache/
|
|
**/.yarn/unplugged/
|
|
**/.yarn/install-state.gz
|
|
**/.pnp.*
|
|
**/bower_components/
|
|
|
|
# Build outputs
|
|
**/dist/
|
|
**/build/
|
|
**/out/
|
|
**/.next/
|
|
**/.nuxt/
|
|
**/.output/
|
|
**/.turbo/
|
|
**/.parcel-cache/
|
|
**/.cache/
|
|
**/.temp/
|
|
**/.tmp/
|
|
**/tsconfig.tsbuildinfo
|
|
**/*.tsbuildinfo
|
|
|
|
# Testing
|
|
**/coverage/
|
|
**/.nyc_output/
|
|
**/junit.xml
|
|
**/test-results/
|
|
**/*.lcov
|
|
|
|
# =============================================================================
|
|
# PYTHON
|
|
# =============================================================================
|
|
|
|
# Bytecode
|
|
**/__pycache__/
|
|
**/*.py[cod]
|
|
**/*$py.class
|
|
**/*.pyo
|
|
**/*.pyd
|
|
|
|
# Virtual environments
|
|
**/.venv/
|
|
**/venv/
|
|
**/ENV/
|
|
**/env/
|
|
**/.env.local/
|
|
**/virtualenv/
|
|
|
|
# Distribution / Packaging
|
|
**/*.egg
|
|
**/*.egg-info/
|
|
**/eggs/
|
|
**/.eggs/
|
|
**/wheels/
|
|
**/*.whl
|
|
**/.installed.cfg
|
|
|
|
# Testing
|
|
**/.pytest_cache/
|
|
**/.coverage
|
|
**/.coverage.*
|
|
**/htmlcov/
|
|
**/.tox/
|
|
**/.nox/
|
|
|
|
# Jupyter
|
|
**/.ipynb_checkpoints/
|
|
**/*.ipynb_checkpoints/
|
|
|
|
# ML/Data Science
|
|
**/.keras/
|
|
**/*.h5
|
|
**/*.pkl
|
|
**/*.pickle
|
|
**/mlruns/
|
|
**/.mlflow/
|
|
|
|
# =============================================================================
|
|
# DATABASES
|
|
# =============================================================================
|
|
|
|
# PostgreSQL
|
|
**/*.dump
|
|
**/*.sql.gz
|
|
**/*.pgdata
|
|
**/pgdata/
|
|
**/.pgpass
|
|
|
|
# SQLite
|
|
**/*.sqlite
|
|
**/*.sqlite3
|
|
**/*.db
|
|
|
|
# MongoDB
|
|
**/mongodb-data/
|
|
**/.mongodb/
|
|
|
|
# Redis
|
|
**/dump.rdb
|
|
**/appendonly.aof
|
|
|
|
# Generic backups
|
|
**/*.backup
|
|
**/*.bak
|
|
**/backups/
|
|
|
|
# =============================================================================
|
|
# SECRETS & CREDENTIALS
|
|
# =============================================================================
|
|
|
|
# Environment files
|
|
**/.env
|
|
**/.env.local
|
|
**/.env.development.local
|
|
**/.env.test.local
|
|
**/.env.production.local
|
|
**/.env.staging
|
|
**/.env.production
|
|
**/.env.*.local
|
|
**/.env.vault
|
|
**/.env.dev
|
|
**/.env.database
|
|
**/.env.ports
|
|
**/.env.feature-flags
|
|
!**/.env.example
|
|
!**/.env.template
|
|
!**/.env.sample
|
|
!**/.env.*.template
|
|
|
|
# Credentials
|
|
**/credentials.json
|
|
**/secrets.json
|
|
**/*.secret
|
|
**/service-account*.json
|
|
**/firebase-admin*.json
|
|
|
|
# API Keys
|
|
**/.api-keys
|
|
**/api-keys.json
|
|
**/*.apikey
|
|
|
|
# SSL/TLS Certificates
|
|
**/*.pem
|
|
**/*.key
|
|
**/*.crt
|
|
**/*.p12
|
|
**/*.pfx
|
|
!**/certs/example.*
|
|
!**/*.example.pem
|
|
|
|
# SSH Keys
|
|
**/id_rsa
|
|
**/id_rsa.pub
|
|
**/id_ed25519
|
|
**/id_ed25519.pub
|
|
**/id_dsa
|
|
**/*.ppk
|
|
|
|
# OAuth / Tokens
|
|
**/.tokens/
|
|
**/tokens.json
|
|
**/*.token
|
|
|
|
# AWS
|
|
**/.aws/
|
|
**/aws-credentials
|
|
|
|
# GCP
|
|
**/.gcp/
|
|
**/gcp-credentials.json
|
|
|
|
# Azure
|
|
**/.azure/
|
|
|
|
# =============================================================================
|
|
# DOCKER
|
|
# =============================================================================
|
|
|
|
# Docker volumes data
|
|
**/docker-data/
|
|
**/data-volumes/
|
|
|
|
# Docker Compose overrides (excepto templates)
|
|
**/docker-compose.override.yml
|
|
**/docker-compose.local.yml
|
|
**/docker-compose.dev.yml
|
|
!**/docker-compose.override.example.yml
|
|
|
|
# =============================================================================
|
|
# KUBERNETES / HELM
|
|
# =============================================================================
|
|
|
|
# Helm
|
|
**/.helm/
|
|
**/charts/*.tgz
|
|
|
|
# Secrets de K8s (valores locales)
|
|
**/k8s/**/secrets.yaml
|
|
**/k8s/**/*-secret.yaml
|
|
!**/k8s/**/*-secret.example.yaml
|
|
|
|
# Valores de ambiente específicos
|
|
**/values.local.yaml
|
|
**/values.*.local.yaml
|
|
|
|
# =============================================================================
|
|
# LOGS & MONITORING
|
|
# =============================================================================
|
|
|
|
# Logs
|
|
**/logs/
|
|
**/*.log
|
|
**/npm-debug.log*
|
|
**/yarn-debug.log*
|
|
**/yarn-error.log*
|
|
**/lerna-debug.log*
|
|
**/pnpm-debug.log*
|
|
**/debug.log
|
|
**/error.log
|
|
|
|
# PM2
|
|
**/.pm2/
|
|
|
|
# =============================================================================
|
|
# IDEs & EDITORS
|
|
# =============================================================================
|
|
|
|
# VSCode (mantener configuraciones compartidas)
|
|
**/.vscode/*
|
|
!**/.vscode/settings.json
|
|
!**/.vscode/tasks.json
|
|
!**/.vscode/launch.json
|
|
!**/.vscode/extensions.json
|
|
!**/.vscode/*.code-snippets
|
|
|
|
# JetBrains (IntelliJ, WebStorm, PyCharm, etc.)
|
|
**/.idea/
|
|
**/*.iml
|
|
**/*.ipr
|
|
**/*.iws
|
|
|
|
# Sublime Text
|
|
**/*.sublime-workspace
|
|
**/*.sublime-project
|
|
|
|
# Vim
|
|
**/*.swp
|
|
**/*.swo
|
|
**/*.swn
|
|
**/*~
|
|
**/Session.vim
|
|
**/.netrwhist
|
|
|
|
# Emacs
|
|
**/*~
|
|
**/#*#
|
|
**/.#*
|
|
**/*.elc
|
|
|
|
# =============================================================================
|
|
# OPERATING SYSTEMS
|
|
# =============================================================================
|
|
|
|
# macOS
|
|
**/.DS_Store
|
|
**/.AppleDouble
|
|
**/.LSOverride
|
|
**/._*
|
|
**/.Spotlight-V100
|
|
**/.Trashes
|
|
|
|
# Windows
|
|
**/Thumbs.db
|
|
**/Thumbs.db:encryptable
|
|
**/ehthumbs.db
|
|
**/ehthumbs_vista.db
|
|
**/Desktop.ini
|
|
**/$RECYCLE.BIN/
|
|
**/*.lnk
|
|
|
|
# Linux
|
|
**/.fuse_hidden*
|
|
**/.directory
|
|
**/.Trash-*
|
|
**/*.nfs.*
|
|
|
|
# =============================================================================
|
|
# TEMPORARY & MISC
|
|
# =============================================================================
|
|
|
|
# Temporary files
|
|
**/tmp/
|
|
**/temp/
|
|
**/*.tmp
|
|
**/*.temp
|
|
**/.temporary/
|
|
|
|
# Archives (no versionar archivos comprimidos grandes)
|
|
# Descomentar si se desea excluir
|
|
# **/*.zip
|
|
# **/*.tar
|
|
# **/*.tar.gz
|
|
# **/*.rar
|
|
# **/*.7z
|
|
|
|
# Lock files (opcional - algunos equipos los versionan)
|
|
# **/package-lock.json
|
|
# **/yarn.lock
|
|
# **/pnpm-lock.yaml
|
|
# **/composer.lock
|
|
|
|
# =============================================================================
|
|
# WORKSPACES EFÍMEROS
|
|
# =============================================================================
|
|
|
|
# Workspaces temporales de tareas
|
|
/workspaces/*
|
|
!/workspaces/.gitkeep
|
|
|
|
# =============================================================================
|
|
# PROYECTOS ARCHIVADOS
|
|
# =============================================================================
|
|
|
|
# Proyectos archivados (mantener estructura pero excluir contenido pesado)
|
|
/archived-projects/**/node_modules/
|
|
/archived-projects/**/dist/
|
|
/archived-projects/**/.env
|
|
|
|
# =============================================================================
|
|
# KNOWLEDGE BASE - Exclusiones específicas
|
|
# =============================================================================
|
|
|
|
# Archivos legacy grandes
|
|
/knowledge-base/reference/**/node_modules/
|
|
/knowledge-base/reference/**/dist/
|
|
/knowledge-base/reference/**/.venv/
|
|
|
|
# =============================================================================
|
|
# ODOO REFERENCE - Incluir código, excluir archivos pesados
|
|
# =============================================================================
|
|
|
|
# Traducciones (i18n) - 730MB+ de archivos .po/.pot
|
|
# Solo necesarios para producción, no para referencia de código
|
|
**/i18n/*.po
|
|
**/i18n/*.pot
|
|
|
|
# Assets estáticos pesados (compilados, fuentes, imágenes grandes)
|
|
# El código JS/CSS fuente SÍ se incluye
|
|
**/*.woff
|
|
**/*.woff2
|
|
**/*.ttf
|
|
**/*.eot
|
|
**/*.otf
|
|
|
|
# Archivos de demo/test data pesados
|
|
**/demo/*.xml
|
|
**/demo/*.csv
|
|
|
|
# Archivos de documentación compilada
|
|
**/doc/_build/
|
|
**/_static/
|
|
**/doctrees/
|
|
|
|
# Archivos específicos de Odoo que no necesitamos
|
|
**/filestore/
|
|
**/.tx/
|
|
|
|
# =============================================================================
|
|
# CUSTOMER DATA
|
|
# =============================================================================
|
|
|
|
# Datos de clientes (nunca versionar)
|
|
/customers/**/data/
|
|
/customers/**/exports/
|
|
/customers/**/imports/
|
|
/customers/**/reports/
|
|
!**/data/.gitkeep
|
|
!**/exports/.gitkeep
|
|
|
|
# Configuraciones específicas de clientes (sensibles)
|
|
/customers/**/config/local/
|
|
/customers/**/.env*
|
|
!/customers/**/.env.example
|
|
|
|
# =============================================================================
|
|
# CLAUDE CODE / AI TOOLS
|
|
# =============================================================================
|
|
|
|
# Configuración local de Claude Code
|
|
.claude/
|
|
|
|
# =============================================================================
|
|
# FIN DEL ARCHIVO
|
|
# =============================================================================
|