jdecool/scaleway-runtimepublic Fork
⑂ 67c2d80
Commits
⬇ Clone ▾
git clone https://git.rickub.com/jdecool/scaleway-runtime.git
git clone ssh://git@rickub.com/jdecool/scaleway-runtime.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Download ZIP

fix(example): let link-runtime replace an installed runtimeUnverified

Composer refuses to install a path package inside its own source when
vendor/ already holds a copy, which is the case after composer install
now that the example requires the runtime from Packagist.
Jérémy DECOOL committed 2026-11-14T14:37:19+01:00 Browse files
67c2d80 parent: 0ac6fa3
modified example/composer.json +2 -1
@@ -28,11 +28,12 @@
2828 "@php bin/console cache:warmup --env=prod"
2929 ],
3030 "link-runtime": [
31+ "rm -rf vendor/jdecool/scaleway-runtime",
3132 "@composer config repositories.local '{\"type\": \"path\", \"url\": \"..\", \"options\": {\"versions\": {\"jdecool/scaleway-runtime\": \"dev-main\"}}}'",
3233 "@composer update jdecool/scaleway-runtime"
3334 ]
3435 },
3536 "scripts-descriptions": {
36- "link-runtime": "Installs jdecool/scaleway-runtime from the parent directory: never commit the repository it adds"
37+ "link-runtime": "Installs jdecool/scaleway-runtime from the parent directory, replacing an installed copy, which Composer refuses to replace from a path containing it: never commit the repository it adds"
3738 }
3839 }
@@ -28,11 +28,12 @@
28 "@php bin/console cache:warmup --env=prod"28 "@php bin/console cache:warmup --env=prod"
29 ],29 ],
30 "link-runtime": [30 "link-runtime": [
31+ "rm -rf vendor/jdecool/scaleway-runtime",
31 "@composer config repositories.local '{\"type\": \"path\", \"url\": \"..\", \"options\": {\"versions\": {\"jdecool/scaleway-runtime\": \"dev-main\"}}}'",32 "@composer config repositories.local '{\"type\": \"path\", \"url\": \"..\", \"options\": {\"versions\": {\"jdecool/scaleway-runtime\": \"dev-main\"}}}'",
32 "@composer update jdecool/scaleway-runtime"33 "@composer update jdecool/scaleway-runtime"
33 ]34 ]
34 },35 },
35 "scripts-descriptions": {36 "scripts-descriptions": {
36- "link-runtime": "Installs jdecool/scaleway-runtime from the parent directory: never commit the repository it adds"37+ "link-runtime": "Installs jdecool/scaleway-runtime from the parent directory, replacing an installed copy, which Composer refuses to replace from a path containing it: never commit the repository it adds"
37 }38 }
38 }39 }