aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart-registry/src/resolver.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-01 20:42:56 +0900
committernsfisis <nsfisis@gmail.com>2026-05-01 20:42:56 +0900
commitfe210391f59d5fe19d5c3d56d369ab7918117de1 (patch)
tree4486d5945d241d0e6e8bf79072744cc0cca90cf4 /crates/mozart-registry/src/resolver.rs
parent8261abde3d9fb9ec1d764b912fa5487e4fcd9339 (diff)
downloadphp-mozart-fe210391f59d5fe19d5c3d56d369ab7918117de1.tar.gz
php-mozart-fe210391f59d5fe19d5c3d56d369ab7918117de1.tar.zst
php-mozart-fe210391f59d5fe19d5c3d56d369ab7918117de1.zip
feat(registry): accept v1 (bare array) installed.json
Composer's FilesystemRepository::initialize branches on isset($data['packages']) — object form is v2, bare array is v1 — and treats dev-package-names/dev as optional. Mirror that in InstalledPackages::read so Mozart consumes shared .test fixtures (which use v1) without harness preprocessing, and so installs over v1-era vendor directories keep working. Drop the v1→v2 wrapper that was added to mozart-test-harness for the same reason. Removes #[ignore] from update_to_empty_from_locked (2/187 green). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/mozart-registry/src/resolver.rs')
0 files changed, 0 insertions, 0 deletions