Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Don't convert paths to real paths when building text buffers - #13545

Merged
maxbrunsfeld merged 5 commits into
masterfrom
mb-preserve-unresolved-paths
Jan 5, 2017
Merged

maxbrunsfeld merged 5 commits into
masterfrom
mb-preserve-unresolved-paths

Conversation

@maxbrunsfeld

@maxbrunsfeld maxbrunsfeld commented Jan 4, 2017 •

Copy link
Copy Markdown
Contributor

Refs #9879
Refs #10856
Refs atom/text-buffer#182
Refs facebookarchive/nuclide#697

/cc @dirk-thomas I have talked to some others on our team, and reconsidered this problem. I feel really bad for the delay in resolving this issue, and all of the work that you've done to propose solutions.

Where we stand right now, we think that the right solution is probably to simply remove the conversion to real paths. There may be some breakage of community packages, but it's hard for me to see how.

Please let me know what you think.

Discussed this with @nathansobo
/cc @noseglid because you maintain atom-build and this relates to noseglid/atom-build#245

@dirk-thomas

dirk-thomas commented Jan 4, 2017 •

Copy link
Copy Markdown
Contributor

No worry, I know how busy it can be. Even when I poke more frequently on the tickets I can emphasize with the amount of tickets you have to deal with.

In #9879 the concern was brought up that such a change might be too much to be introduced in Atom 1.x. But I agree that just updating the existing resolvePath as in this patch is definitely the cleaner more future proof approach. I would be very happy if this get merged into an upcoming Atom release. I am sure I can then address the original problem in the build packages to support workspaces which contain symlinks. 👍

@maxbrunsfeld

maxbrunsfeld commented Jan 4, 2017 •

Copy link
Copy Markdown
Contributor Author

Ok, if you're cool with this and it passes our CI (or can be made to pass with minor adjustments to the bundled package test suites) it'll go out in the Atom 1.14 Beta release in a couple of weeks.

@maxbrunsfeld

Copy link
Copy Markdown
Contributor Author

It's also just one less synchronous file system call 🐎 .

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants