Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# משקלים – רק כ-LFS (התאימי אם יש נתיבים נוספים)
airflow/leaf-pipeline/**/weights/*.pt filter=lfs diff=lfs merge=lfs -text
airflow/leaf-pipeline/**/weights/*.pth filter=lfs diff=lfs merge=lfs -text
airflow/leaf-pipeline/**/weights/*.safetensors filter=lfs diff=lfs merge=lfs -text
55 changes: 22 additions & 33 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,40 +1,29 @@
# --- Secrets and Certificates ---
*.env
*.crt
*/certs/
**/certs/
**/secrets/
storage_with_mqtt/secrets/
storage_with_mqtt/mqtt_images/secrets/
MQTT_IMAGES/secrets/
services/sounds/sounds_classifier/src/classification/data/
services/sounds/sounds_classifier/src/classification/models/panns_data/

# --- Python ---
# --- כלליים ---
__pycache__/
*.pyc
*.pyo
*.pyd
*.pytest_cache/
*.log
*.pid
*.sqlite*
*.db
.ipynb_checkpoints/
.env
.venv/
venv/
.coverage

# --- VSCode / Editor ---
.vscode/
.idea/

# --- Docker / Build ---
*.log
*.pid
*.bak
*.tmp
*.swp
.env.local
.env.*
!.env.example
# --- Docker/Airflow כלליים ---
logs/
airflow/airflow.db
airflow/*.pid
airflow/*.log

# --- OS files ---
.DS_Store
Thumbs.db
# --- leaf-pipeline (מרוכז) ---
airflow/leaf-pipeline/**/__pycache__/
airflow/leaf-pipeline/**/.ipynb_checkpoints/
airflow/leaf-pipeline/**/logs/
airflow/leaf-pipeline/**/runs_local/
airflow/leaf-pipeline/**/out_*/
airflow/leaf-pipeline/**/alerts.db

# אל תעקוב אחרי קובצי גיבוי אקראיים
*.bak.*
*.backup-*.tar.gz
Comment on lines +1 to +29
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: Removed critical security patterns from .gitignore that are now allowing sensitive files to be tracked:

  • *.env files - at least one .env with database credentials is now in git
  • *.crt certificate files - certificate files are now tracked
  • */certs/ and **/secrets/ directories
  • .vscode/ and .idea/ editor configs

These patterns MUST be restored immediately.

1 change: 1 addition & 0 deletions airflow/leaf-pipeline
Submodule leaf-pipeline added at 181ad1