Add multi-folder configurable submodule support - #4
Open
qdriven wants to merge 2 commits into
Open
Conversation
Support configurable roots (apps/tutorials/skillsets/ai-infra) via scripts/submodule.config.json, CLI flags, and env overrides so submodule paths are not hard-coded to apps/. Co-authored-by: Cursor <cursoragent@cursor.com>
Add a primary how-to under docs/git and link it from the docs index, root README, apps README, and worktree notes so the configurable roots CLI is discoverable without duplicating the full guide.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
scripts/submodule.config.json, with CLI/env overrides inscripts/add-submodule.mtsandscripts/generate-manifest.mjs.docs/git/submodules.md, and wire links from the docs index / apps README.Refs: #3
Test plan
scripts/submodule.config.jsondefaults (apps,tutorials,skillsets,ai-infra)scripts/add-submodule.mtsflag and env override pathsdocs/git/submodules.mdmatches the helper behaviorgenerate-manifest.mjsimportsyamlbut there is no rootpackage.jsondependency declared yetMade with Cursor