aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart-sat-resolver/src/transaction.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-03 20:19:40 +0900
committernsfisis <nsfisis@gmail.com>2026-05-03 20:19:40 +0900
commit2bb4f62d0a7b98ea4b3195fbfefdd7b5f0aff19c (patch)
treed530e90673445ef68ae8777d39f711fda3b113df /crates/mozart-sat-resolver/src/transaction.rs
parentf664a25070b38c5b73995874e0ee15dad23bc5ef (diff)
downloadphp-mozart-2bb4f62d0a7b98ea4b3195fbfefdd7b5f0aff19c.tar.gz
php-mozart-2bb4f62d0a7b98ea4b3195fbfefdd7b5f0aff19c.tar.zst
php-mozart-2bb4f62d0a7b98ea4b3195fbfefdd7b5f0aff19c.zip
fix(install): emit reference-suffixed removal and default-branch alias trace
Composer's UninstallOperation::show renders the package's getFullPrettyVersion(), which for dev packages includes the (truncated) source reference. Mozart was passing only the bare pretty version, so removal lines for dev packages dropped the ref. The MarkAliasUninstalled detection also missed the synthetic 9999999-dev alias that ArrayLoader::getBranchAlias surfaces for default-branch dev packages without an explicit branch-alias. Those aliases were never being retired alongside their targets. The new lock's implicit branch-aliases (from extra.branch-alias and the default-branch fallback) now count as "still present", so packages that remain in the lock don't trigger spurious uninstall traces. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/mozart-sat-resolver/src/transaction.rs')
0 files changed, 0 insertions, 0 deletions