aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart-registry/src/lib.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-03 20:03:42 +0900
committernsfisis <nsfisis@gmail.com>2026-05-03 20:03:42 +0900
commitd3cdb9e3f73314e04061d4d18f654e7e80b0dc18 (patch)
tree92dfda3903a7a7f1c631b18eaf544063e9b7f4f6 /crates/mozart-registry/src/lib.rs
parent756e0b9c18af8b2b5887ae1fb265a03187ca9c00 (diff)
downloadphp-mozart-d3cdb9e3f73314e04061d4d18f654e7e80b0dc18.tar.gz
php-mozart-d3cdb9e3f73314e04061d4d18f654e7e80b0dc18.tar.zst
php-mozart-d3cdb9e3f73314e04061d4d18f654e7e80b0dc18.zip
feat(repository): support only/exclude/canonical repo filters
Composer's FilterRepository wraps a repository with three knobs: `only` / `exclude` to drop packages by name, and `canonical: false` to relax the repo's authoritative claim on its package names so lower-priority repos can still answer. Mozart was ignoring all three, so first-listed inline / composer-repo entries always shadowed later repos and `only` / `exclude` lists were silently no-ops. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/mozart-registry/src/lib.rs')
-rw-r--r--crates/mozart-registry/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/mozart-registry/src/lib.rs b/crates/mozart-registry/src/lib.rs
index 17837cd..654252c 100644
--- a/crates/mozart-registry/src/lib.rs
+++ b/crates/mozart-registry/src/lib.rs
@@ -7,6 +7,7 @@ pub mod installer_executor;
pub mod lockfile;
pub mod packagist;
pub mod repository;
+pub mod repository_filter;
pub mod resolver;
pub mod vcs_bridge;
pub mod version;