-
Notifications
You must be signed in to change notification settings - Fork 54
Closed
Description
If a Bender repo A contains a subdependency B, specified in its Bender.yml as a Path dependency that is located in a subdirectory of the repo with its own Bender.yml, bender clone B -p my_local_stuff fails with the following error message:
error: remote source already exists.
error: git renaming remote origin failed
I assume this is because Bender assumes that B is also a git repo, but it isn't.
My proposed solution would be to treat Path subdependencies slightly differently:
bender clone Acould updateBender.lock(andBender.local?) not just for theAdependency but also for allPathsubdependencies ofA, pointing them to theclone'd local version contained in thecloneof A.bender clone Bcould fail and tell the user thatBis aPathsubdependency inA, and they shouldbender clone Ainstead.
Metadata
Metadata
Assignees
Labels
No labels