Skip to content

packaging: pin cross-group deps to git tags behind an umbrella patch#484

Open
mfw78 wants to merge 2 commits into
feat/m5-wit-local-l3from
feat/m5-git-tag-pins-umbrella-patch
Open

packaging: pin cross-group deps to git tags behind an umbrella patch#484
mfw78 wants to merge 2 commits into
feat/m5-wit-local-l3from
feat/m5-git-tag-pins-umbrella-patch

Conversation

@mfw78

@mfw78 mfw78 commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

What

Repoint every cross-group nexum-*/videre-* dependency edge from an
in-tree path to its eventual git-tag form (tag = "v0.1.0"), and add
an umbrella [patch] in the root Cargo.toml that resolves those tags
back to the in-tree crates until the split repos exist. Adds the
per-group Cargo.repo.toml files (renamed to Cargo.toml at the
carve) with no cross-group [patch] of their own.

Why

D9/D10 of the split plan: git-tag pins are the cross-repo Rust dep
medium, and the monorepo stays on one workspace with the tags
neutralised by a patch until the physical carve. This is the last
in-tree step before the git-filter-repo cut — every crate's manifest
already reads its final post-carve dependency shape.

Testing

  • nix develop -c cargo check --workspace --all-features
  • nix develop -c cargo fmt --all --check
  • nix develop -c cargo clippy --workspace --all-targets --all-features -- -D warnings
  • scripts/check-venue-agnostic.sh

AI Assistance

Drafted and gated with Claude Code.

mfw78 added 2 commits July 18, 2026 07:56
Every cross-group dep in the videre and shepherd manifests now carries
its final form: nexum-* crates pinned to the nexum-runtime repo at
v0.1.0, videre-* crates pinned to the videre-nexum-module repo at
v0.1.0. A root umbrella [patch] resolves each pinned crate from its
in-tree group, so the monorepo builds green before the remotes are
populated and the carve reduces to deleting the patch tables.

Each group also gains a Cargo.repo.toml: the patch-free workspace root
the standalone repo renames to Cargo.toml at the carve, carrying only
the hoisted dep-table subset its members inherit.
Resolve the workspace root via the nearest [workspace] Cargo.toml and
module.toml sources via the group root, and drop --all-features from the
nexum-runtime graph oracle (cargo rejects it for an out-of-workspace dep).
The videre-host integration tests now pass both in the monorepo and the
carved videre-nexum-module repo.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant