aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart-autoload/src/autoload.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-03 11:02:14 +0900
committernsfisis <nsfisis@gmail.com>2026-05-03 11:02:14 +0900
commitd175ff0aca312eafc1e125ba12a9b4e8cf81960a (patch)
tree237fefbb79e032a35f70006b9d5d02f12dbf8bf0 /crates/mozart-autoload/src/autoload.rs
parentc865a24596084eec90d10860265748c93bf7eb6a (diff)
downloadphp-mozart-d175ff0aca312eafc1e125ba12a9b4e8cf81960a.tar.gz
php-mozart-d175ff0aca312eafc1e125ba12a9b4e8cf81960a.tar.zst
php-mozart-d175ff0aca312eafc1e125ba12a9b4e8cf81960a.zip
fix(registry): respect priority order across inline package repos
When a `type: package` repository declares a name already declared by a higher-priority `type: package` entry, drop it. Mirrors Composer's RepositorySet first-repo-wins semantics so duplicate names across inline repositories cannot promote a lower-priority version into the pool. Greens 4 installer fixtures: install_prefers_repos_over_package_versions, repositories_priorities2, repositories_priorities4, update_package_present_in_lower_repo_prio_but_not_main_due_to_min_stability. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/mozart-autoload/src/autoload.rs')
0 files changed, 0 insertions, 0 deletions