Skip to content

Windows: Add support for paths longer than 260 characters - #34

Merged
adammurdoch merged 3 commits into
gradle:masterfrom
rpaquay:add-long-paths-support
Jun 12, 2019
Merged

Windows: Add support for paths longer than 260 characters#34
adammurdoch merged 3 commits into
gradle:masterfrom
rpaquay:add-long-paths-support

Conversation

@rpaquay

@rpaquay rpaquay commented May 13, 2019

Copy link
Copy Markdown
Contributor
  • For local paths, we use the \\?\ prefix
  • For UNC paths, we use the \\?\UNC\ prefix
  • Added a --long-paths option to the test app to verify behavior

* For local paths, we use the `\\?\` prefix
* For UNC paths, we use the `\\?\UNC\` prefix
* Added a `--long-paths` option to the test app to verify behavior
@adammurdoch

Copy link
Copy Markdown
Contributor

Thanks for the PR. I'll review it soon

Comment thread test-app/src/main/java/net/rubygrapefruit/platform/test/Main.java Outdated
@adammurdoch

Copy link
Copy Markdown
Contributor

Great, thank you for making the changes. I'll merge this PR soon and review your other PRs also.

@lacasseio

Copy link
Copy Markdown

A general comment, I think we could add tests for those long paths explicitly.

@rpaquay

rpaquay commented May 30, 2019

Copy link
Copy Markdown
Contributor Author

@lacasseio I am a little confused by your comment. The unit tests had explicit long paths tests that were disabled on Windows (see 3c12964), so re-enabling them seems like the natural thing to do when adding support for long paths on that platform.

@lacasseio

Copy link
Copy Markdown

@rpaquay You are right, my bad for the noise, I should have looked more closely.

@rpaquay

rpaquay commented Jun 7, 2019

Copy link
Copy Markdown
Contributor Author

@adammurdoch is there still something you are expecting me to change for this particular PR? (I will rebase the others PRs once this one is merged to make them easier to review).

@adammurdoch

Copy link
Copy Markdown
Contributor

@rpaquay No changes needed. I just need to find some time to test out the changes and merge them. I'll try to do this soon.

@adammurdoch
adammurdoch merged commit d92c2cf into gradle:master Jun 12, 2019
@adammurdoch

Copy link
Copy Markdown
Contributor

Merged, thanks for the PR.

@rpaquay

rpaquay commented Jun 12, 2019

Copy link
Copy Markdown
Contributor Author

Thanks!

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