diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-03 19:19:40 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-03 19:19:40 +0900 |
| commit | 240b0dd14a607a9dfdb84bb339c87bb0effd6963 (patch) | |
| tree | 7fee0768e90360bb8fd6368d642e9b8d4bbf49f2 /crates/mozart/src/commands/require.rs | |
| parent | a9b80907286bb74506fc2bfcc22f3d9ce6924472 (diff) | |
| download | php-mozart-240b0dd14a607a9dfdb84bb339c87bb0effd6963.tar.gz php-mozart-240b0dd14a607a9dfdb84bb339c87bb0effd6963.tar.zst php-mozart-240b0dd14a607a9dfdb84bb339c87bb0effd6963.zip | |
fix(install): honour branch-alias when checking lock requirements
Mirror Composer's `Locker::getLockedRepository` flow when validating that
every root require is satisfied by the lock and when emitting trace
operations: a `dev-*` package's `extra.branch-alias` entry surfaces an
AliasPackage at the alias version, so requirement matching considers
that version too and `MarkAliasInstalled` fires for the branch-alias
when the lock has no matching `aliases[]` entry. Dedupe by
`alias_normalized` so packages aliased through both sources don't get
two trace lines.
Diffstat (limited to 'crates/mozart/src/commands/require.rs')
0 files changed, 0 insertions, 0 deletions
