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

CB-14033 Support symbolic dir links on Windows #621

Merged
merged 1 commit into from
Jul 12, 2018

Conversation

raphinesse
Copy link
Contributor

@raphinesse raphinesse commented Jun 27, 2018

Platforms affected

Windows

What does this PR do?

This uses junctions whenever creating directory symlinks on Windows since that does not require any special privileges.

What testing has been done on this change?

Tests on AppVeyor CI

Checklist

  • Reported an issue in the JIRA database
  • Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
  • Added automated test coverage as appropriate for this change.

@raphinesse raphinesse changed the title CB-14033 Support symbolic links on Windows CB-14033 Support symbolic dir links on Windows Jun 27, 2018
@brodybits
Copy link
Contributor

brodybits commented Jul 4, 2018

I think it would be best to test with Cordova CLI, would be ideal to test with plugin which may be affected by this change. I can take a better look tomorrow.

Copy link
Member

@dpogue dpogue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't tested this, but the changes look good to me

@raphinesse
Copy link
Contributor Author

@brodybits Since there is a test that specifically targets the changed code, I'm quite confident it's OK.
However, some real-world testing is always good. Thanks for taking care of it 👍

@raphinesse
Copy link
Contributor Author

@brodybits Did you test this on Windows yet? Or did I misunderstand your comment? 🤔

@brodybits
Copy link
Contributor

My apologies, no time for me to test it this week, probably not much time next week either. Considering that you tested it in spec and got an approval from someone else I don't think you should let me block it.

I do think it would be good for you to try a version of cordova-cli that does use a version of cordova-lib with this change and verify that it does actually solve the problem at some point.

This uses junctions whenever creating directory symlinks on Windows
since that does not require any special privileges.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants