Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Submodule update on windows #85

Open
andyneff opened this issue Nov 7, 2018 · 0 comments
Open

Submodule update on windows #85

andyneff opened this issue Nov 7, 2018 · 0 comments

Comments

@andyneff
Copy link
Member

andyneff commented Nov 7, 2018

Updating the vsi_common submodule from just on windows, will cause git to error if it tries to rewrite the just file itself, as it is in use, and Windows doesn't support this like *nix does.

The result is a horrible explosion of a partially checked out vsi_common repo, in a dirty state, that takes both a git reset --hard and git clean df, followed by a manual update.

Possible solutions:

  1. Someway to detangle using the just file on windows, an exec to a tmp file?
    • setup.env could define the function just instead, that would source what is currently the file just
  2. git hook on windows, to keep vsi_common up to date...
  3. Detecting the problem before it happens, and echoing out that you need to git submodule update --recursive vsi_common manually
@andyneff andyneff transferred this issue from VisionSystemsInc/just Nov 13, 2018
@andyneff andyneff added the bug label Nov 13, 2018
@andyneff andyneff added this to the just 0.0.15 milestone Nov 13, 2018
@andyneff andyneff added the just label Nov 13, 2018
@andyneff andyneff modified the milestones: just 0.0.15, just 0.0.16 Nov 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant