From f2065520212f29e24aa82822729346774fa26cd8 Mon Sep 17 00:00:00 2001 From: Sara-git-218 Date: Mon, 10 Nov 2025 12:17:02 +0200 Subject: [PATCH] structure: consolidate all pipeline under airflow/leaf-pipeline; proper .gitignore & LFS --- .gitattributes | 4 ++++ .gitignore | 55 +++++++++++++++++-------------------------- airflow/leaf-pipeline | 1 + 3 files changed, 27 insertions(+), 33 deletions(-) create mode 100644 .gitattributes create mode 160000 airflow/leaf-pipeline diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..27422ed96 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore index 348249e4c..5ae918424 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/airflow/leaf-pipeline b/airflow/leaf-pipeline new file mode 160000 index 000000000..181ad1332 --- /dev/null +++ b/airflow/leaf-pipeline @@ -0,0 +1 @@ +Subproject commit 181ad13327d1f0ab2e6d1d80622cc1717584908a