Skip to content

refactor: convert vendor/ to git submodules#137

Merged
ruvnet merged 1 commit intomainfrom
refactor/vendor-submodules
Mar 4, 2026
Merged

refactor: convert vendor/ to git submodules#137
ruvnet merged 1 commit intomainfrom
refactor/vendor-submodules

Conversation

@ruvnet
Copy link
Owner

@ruvnet ruvnet commented Mar 4, 2026

Summary

Why

The vendor directories were committed as regular files, bloating the repo by ~737MB. Submodules let clones pull the latest upstream and keep the main repo lightweight.

Impact

  • New clones: git clone --recurse-submodules <url>
  • Existing clones: git submodule update --init --recursive after pulling

Test plan

  • git submodule status shows all 3 with commit hashes
  • .gitmodules lists 3 entries with correct URLs
  • Fresh clone with --recurse-submodules populates vendor dirs

🤖 Generated with claude-flow

Replace 9,608 tracked vendor files (~737MB) with git submodule pointers
to their upstream repositories:

- vendor/midstream -> https://github.com/ruvnet/midstream
- vendor/ruvector -> https://github.com/ruvnet/ruvector
- vendor/sublinear-time-solver -> https://github.com/ruvnet/sublinear-time-solver

This dramatically reduces repo size and ensures vendor code stays
in sync with upstream. New clones should use:
  git clone --recurse-submodules
Existing clones should run:
  git submodule update --init --recursive

Co-Authored-By: claude-flow <ruv@ruv.net>
@ruvnet ruvnet merged commit 6e76578 into main Mar 4, 2026
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