From c5b11f1144bd9406552d227eda800a1b84a03f00 Mon Sep 17 00:00:00 2001 From: Andrei Pohilko Date: Tue, 31 Mar 2026 16:55:33 +0100 Subject: [PATCH 1/2] Fix upload: include composer.lock and files/ directory Co-Authored-By: Claude Opus 4.6 (1M context) --- prepare-upload.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/prepare-upload.sh b/prepare-upload.sh index a394dd84a..4ebcf2885 100755 --- a/prepare-upload.sh +++ b/prepare-upload.sh @@ -22,9 +22,10 @@ python merge_repo.py # PHP for /repo/ endpoint (stays dynamic) cp site/index.php upload/ cp site/cfg.php upload/ -cp site/composer.json upload/ +cp site/composer.json site/composer.lock upload/ cp -r site/JPGC upload/ cp site/dat/out.xml upload/dat/ +cp -r site/files upload/ 2>/dev/null || true php --version curl -sS https://getcomposer.org/installer | php From b96f25620a01cf48cc8e27a2b8e1345fad7d2652 Mon Sep 17 00:00:00 2001 From: Andrei Pohilko Date: Tue, 31 Mar 2026 17:09:57 +0100 Subject: [PATCH 2/2] Fix: composer.lock not in repo, don't copy it Co-Authored-By: Claude Opus 4.6 (1M context) --- prepare-upload.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prepare-upload.sh b/prepare-upload.sh index 4ebcf2885..c8030c13d 100755 --- a/prepare-upload.sh +++ b/prepare-upload.sh @@ -22,7 +22,7 @@ python merge_repo.py # PHP for /repo/ endpoint (stays dynamic) cp site/index.php upload/ cp site/cfg.php upload/ -cp site/composer.json site/composer.lock upload/ +cp site/composer.json upload/ cp -r site/JPGC upload/ cp site/dat/out.xml upload/dat/ cp -r site/files upload/ 2>/dev/null || true