`whippet deps install` should check that it's pulling from the correct repo
mallorydxw opened this issue · 1 comments
mallorydxw commented
At the moment, whippet deps install
can fail if the source in whippet.lock
is changed.
Example:
- Run
whippet deps install
to installplugin/foobar
fromgit@a:wordpress-plugins/foobar
- Pull the repo, to a revision where
whippet.lock
contains a git URL like this:git@b:wordpress-plugins/foobar
- Run
whippet deps install
and it will attempt to pull from the existing repo (git@a
) when it should be pulling from the new repo (git@b
)
snim2 commented
I'm not sure that this is really a bug, if the JSON and the lockfile are out of sync, we probably shouldn't install without updating first?