aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart-registry/src/repository/mod.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-02 17:01:54 +0900
committernsfisis <nsfisis@gmail.com>2026-05-02 17:01:54 +0900
commit5b767cdd832d39816ee4c2dbf94274c0130dd572 (patch)
treeafee502ede75fc561da807652c9f472fc1554ff5 /crates/mozart-registry/src/repository/mod.rs
parentc1733d88510b7afb88f7a17849de514365e42c84 (diff)
downloadphp-mozart-5b767cdd832d39816ee4c2dbf94274c0130dd572.tar.gz
php-mozart-5b767cdd832d39816ee4c2dbf94274c0130dd572.tar.zst
php-mozart-5b767cdd832d39816ee4c2dbf94274c0130dd572.zip
refactor(registry): route Packagist queries through RepositorySet
Replace direct packagist::fetch_package_versions calls in resolver::resolve (seed + transitive loops) and lockfile::generate_lock_file with repo_set.load_packages calls. PackagistRepository now propagates errors instead of swallowing them, so the seed loop's strictness and the transitive loop's local-leniency are both preserved exactly. VCS and inline-package repositories are still preloaded directly into the pool builder for now, with their names tracked in skip lists so we don't double-load them through the trait. Migrating them through RepositorySet is a follow-up - vcs_to_pool_inputs and packagist_to_pool_inputs differ in dev-branch handling that needs to be unified first. All 136 enabled installer fixtures + 114 mozart-registry tests + 541 mozart lib tests remain green; clippy clean. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/mozart-registry/src/repository/mod.rs')
0 files changed, 0 insertions, 0 deletions