From 0080efea9386d46f65d1862fcb90eb44999d9761 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 23 Feb 2026 11:38:42 +0900 Subject: feat(vcs): add mozart-vcs crate for VCS repository support Implement VCS driver/downloader infrastructure mirroring Composer's VCS subsystem. Includes drivers for GitHub, GitLab, Bitbucket, Forgejo, Git, Hg, and SVN with API-based metadata resolution, plus source downloaders for Git/Hg/SVN. Integrates into mozart-registry via vcs_bridge module to scan VCS repositories and feed discovered packages into the SAT resolver. Co-Authored-By: Claude Opus 4.6 --- Cargo.lock | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index fd30568..331157f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1081,6 +1081,7 @@ dependencies = [ "mozart-core", "mozart-registry", "mozart-semver", + "mozart-vcs", "predicates", "regex", "reqwest", @@ -1175,6 +1176,7 @@ dependencies = [ "mozart-metadata-minifier", "mozart-sat-resolver", "mozart-semver", + "mozart-vcs", "reqwest", "serde", "serde_json", @@ -1205,6 +1207,24 @@ dependencies = [ "serde_json", ] +[[package]] +name = "mozart-vcs" +version = "0.1.0" +dependencies = [ + "anyhow", + "base64", + "mozart-core", + "mozart-semver", + "regex", + "reqwest", + "serde", + "serde_json", + "sha1", + "tempfile", + "tokio", + "url", +] + [[package]] name = "normalize-line-endings" version = "0.3.0" -- cgit v1.3.1