From cd68e6e9d7d4eb204993529efc43ccb4ed0daff0 Mon Sep 17 00:00:00 2001 From: Pontoporeia Date: Tue, 28 Apr 2026 22:12:50 +0200 Subject: [PATCH] deploy: exclude posterg.db, theses/, covers/ from rsync to avoid overwriting remote data --- TODO.md | 6 + justfile | 3 + ..._019dd00c-edcd-70f7-8ad0-2c3994b48903.html | 4113 ----------------- 3 files changed, 9 insertions(+), 4113 deletions(-) delete mode 100644 pi-session-2026-04-27T17-46-41-486Z_019dd00c-edcd-70f7-8ad0-2c3994b48903.html diff --git a/TODO.md b/TODO.md index c0927cc..9520012 100644 --- a/TODO.md +++ b/TODO.md @@ -26,6 +26,12 @@ - [x] Fix CSRF debug: log both tokens on mismatch - [x] Fix undefined `$redirect` on success path in `formulaire.php` +## Deploy — Preserve Remote Data + +- [x] Exclude `storage/posterg.db` from rsync (not sent locally, not deleted remotely) +- [x] Exclude `storage/theses/` from rsync (not sent locally, not deleted remotely) +- [x] Exclude `storage/covers/` from rsync (not sent locally, not deleted remotely) + ## File Display in Forms & Recaps - [x] Add live file preview to `file-field.php` partial (`data-preview` attribute + `.file-preview-list` container) diff --git a/justfile b/justfile index 49ddbe0..00878e1 100644 --- a/justfile +++ b/justfile @@ -39,6 +39,9 @@ deploy: --exclude '.claude' \ --exclude '.pi' \ --exclude '.DS_Store' \ + --exclude 'storage/posterg.db' \ + --exclude 'storage/theses' \ + --exclude 'storage/covers' \ --exclude 'storage/backup_*' \ --exclude 'storage/cache/*' \ --exclude 'storage/fixtures' \ diff --git a/pi-session-2026-04-27T17-46-41-486Z_019dd00c-edcd-70f7-8ad0-2c3994b48903.html b/pi-session-2026-04-27T17-46-41-486Z_019dd00c-edcd-70f7-8ad0-2c3994b48903.html deleted file mode 100644 index c2982d1..0000000 --- a/pi-session-2026-04-27T17-46-41-486Z_019dd00c-edcd-70f7-8ad0-2c3994b48903.html +++ /dev/null @@ -1,4113 +0,0 @@ - - - - - - Session Export - - - - - -
- - -
-
-
-
-
- -
-
- - - - - - - - - - - - -