算法子进程目录仅保留源码与配置;权重、样本 I/O、构建产物通过 .gitignore 离线交付。 Co-authored-by: Cursor <cursoragent@cursor.com>
88 lines
1.7 KiB
Plaintext
Executable File
88 lines
1.7 KiB
Plaintext
Executable File
# =============================================================================
|
|
# Operation Room Monitor — root .gitignore
|
|
# =============================================================================
|
|
|
|
# --- OS ---
|
|
.DS_Store
|
|
.AppleDouble
|
|
.LSOverride
|
|
Thumbs.db
|
|
ehthumbs.db
|
|
Desktop.ini
|
|
|
|
# --- IDE / editors ---
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.project
|
|
.classpath
|
|
.settings/
|
|
|
|
# --- Environment & secrets (all layers) ---
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
!**/.env.example
|
|
backend/.env
|
|
backend/.env.*
|
|
!backend/.env.example
|
|
|
|
# --- Python caches (never commit) ---
|
|
.mypy_cache/
|
|
**/.mypy_cache/
|
|
**/__pycache__/
|
|
**/*.py[cod]
|
|
**/*$py.class
|
|
**/.pytest_cache/
|
|
**/.mypy_cache/
|
|
**/.ruff_cache/
|
|
**/.pycache-verify/
|
|
**/build/
|
|
**/wheels/
|
|
**/*.egg-info/
|
|
**/.coverage
|
|
**/htmlcov/
|
|
**/.tox/
|
|
**/.nox/
|
|
**/dist/
|
|
!clients/voice-confirmation/scripts/
|
|
|
|
# Backend runtime & caches
|
|
backend/logs/
|
|
backend/Ultralytics/
|
|
|
|
# Large model weights (deploy via mount or offline delivery)
|
|
backend/app/resources/actionformer_epoch_045.pth.tar
|
|
|
|
# Algorithm subprocess bundles — runtime assets ignored via backend/algorithm_subprocesses/.gitignore
|
|
backend/algorithm_subprocesses/**/weights/*
|
|
!backend/algorithm_subprocesses/**/weights/.gitkeep
|
|
backend/algorithm_subprocesses/**/input/*
|
|
!backend/algorithm_subprocesses/**/input/.gitkeep
|
|
backend/algorithm_subprocesses/**/output/*
|
|
!backend/algorithm_subprocesses/**/output/.gitkeep
|
|
backend/algorithm_subprocesses/**/data/*
|
|
!backend/algorithm_subprocesses/**/data/.gitkeep
|
|
|
|
# --- Clients ---
|
|
clients/demo-client/.runtime/
|
|
clients/demo-client/labels.json
|
|
clients/voice-confirmation/dist/
|
|
|
|
# --- Docker ---
|
|
**/.docker/
|
|
|
|
# --- Logs & temp ---
|
|
*.log
|
|
*.tmp
|
|
*.temp
|
|
.cache/
|
|
|
|
# --- Legacy / local-only at repo root (pre-restructure) ---
|
|
.venv/
|
|
logs/
|
|
Ultralytics/
|
|
scripts/
|