You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess this must be due to pip. I agree it's not cool and ideally it would be fixed in pip, but as that's not currently the case we could add some code so that bootstrap could check each checkout in .ve/src/ and if git status --porcelain showed any changes we could check if the user wanted to continue.
Also you title this bug report "still blows away" - was there a previous bug report I missed where we thought it was fixed? Or are you referring to the change where we stopped blowing away the entire virtualenv?
When we had the big debate about using git submodule or pip -e, I expressed a preference for using submodules because they wouldn't be blown away automatically.
I think someone said that was impossible at the time, and I should just use pip -e. It's clearly not impossible.
Add an editable git checkout to your
deploy/pip_packages.txt
:Run
deploy/bootstrap.py
.Make changes to the editable code, for example:
Touch pip_packages.txt and run bootstrap again:
Check what happened to your change:
And it's gone!
Silently blowing away changes to an editable repo is not cool.
The text was updated successfully, but these errors were encountered: