Skip to content

Commit 9a2d372

Browse files
committed
feat: lockfile v2 + index pin/unpin CLI + fetcher routing for custom indices
Lockfile v2: add [indices.<name>] sections with url/rev fields, add namespace field to [package.*] entries, and v1->v2 migration on load. CLI: add `mcpp index pin <name> [<rev>]` and `mcpp index unpin <name>` commands for pinning/unpinning custom index revisions in mcpp.toml. Enhance `mcpp index update` to also refresh project-level custom indices. Fetcher routing: for deps whose namespace matches a custom git index, check project-level .mcpp/data/ before the global xlings home. For local path indices, read xpkg.lua directly from the index path. E2E test covering lockfile v2 format, v1 migration, pin/unpin commands.
1 parent b153096 commit 9a2d372

5 files changed

Lines changed: 621 additions & 17 deletions

File tree

0 commit comments

Comments
 (0)