diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-04 09:54:09 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-04 09:54:09 +0900 |
| commit | ba1463ea86ad25b910fff13d8527ac2c0f661ab4 (patch) | |
| tree | dac1281ae1da05eb2600ef0432f859393c2a5187 /crates/mozart-vcs/src/driver/github.rs | |
| parent | f7b87d6934ea05d35e3ee0576e7d82d3b67b001e (diff) | |
| download | php-mozart-ba1463ea86ad25b910fff13d8527ac2c0f661ab4.tar.gz php-mozart-ba1463ea86ad25b910fff13d8527ac2c0f661ab4.tar.zst php-mozart-ba1463ea86ad25b910fff13d8527ac2c0f661ab4.zip | |
fix(resolver): expose locked branch-alias entries in the pool
Composer's Locker::getLockedRepository runs each locked package through
ArrayLoader::load, which materializes any extra.branch-alias as a
separate AliasPackage in the locked repository. Mozart was only adding
the base locked package to the pool, so a `dev-master` locked entry
with branch alias `2.2.x-dev` was invisible to numeric root constraints
like `~2.1` on a partial update — the resolver bailed with "no matching
package found" even though Composer accepts the same lock. Surface
each branch-alias as a sibling pool entry pointing at the base via
is_alias_of.
Diffstat (limited to 'crates/mozart-vcs/src/driver/github.rs')
0 files changed, 0 insertions, 0 deletions
