Skip to content

CB-14033 Support symbolic dir links on Windows#621

Merged
raphinesse merged 1 commit intoapache:masterfrom
raphinesse:junctions
Jul 12, 2018
Merged

CB-14033 Support symbolic dir links on Windows#621
raphinesse merged 1 commit intoapache:masterfrom
raphinesse:junctions

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
@raphinesse raphinesse requested review from brody4hire and dpogue July 4, 2018 10:28
@brody4hire
Copy link

brody4hire 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? 🤔

@brody4hire
Copy link

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.

3 participants