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

Change path normalization strategy to not resolve symlinks #9330

Merged
merged 2 commits into from
Jan 14, 2024

Conversation

woojiq
Copy link
Contributor

@woojiq woojiq commented Jan 13, 2024

Closes #7458

Successor to #7658, which I messed up somehow.

@woojiq
Copy link
Contributor Author

woojiq commented Jan 13, 2024

@pascalkuthe I added feature flags as you suggested. I don't know what to do with tests. It's bad to not write them for this non-trivial change, but testing is not easy too because we need to create a directory structure to test properly (it will do almost nothing on non-existent paths). What do you think?

Copy link
Member

@pascalkuthe pascalkuthe left a comment

Choose a reason for hiding this comment

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

I think yhe test cases you have are good enough. Great you added those!

Thanks for sticking with this trough the back and forth. This is a really dofficult problem and fiding a good solution that habdeles all constrains adequatly on all platforms isn't easy. It will be great to have symlinks working again!

@pascalkuthe pascalkuthe added C-bug Category: This is a bug A-core Area: Helix core improvements S-waiting-on-review Status: Awaiting review from a maintainer. labels Jan 13, 2024
@pascalkuthe pascalkuthe added this to the next milestone Jan 13, 2024
@the-mikedavis the-mikedavis changed the title Change normalization strategy to not resolve symlinks Change path normalization strategy to not resolve symlinks Jan 14, 2024
@the-mikedavis the-mikedavis merged commit 3f88a3f into helix-editor:master Jan 14, 2024
6 checks passed
@woojiq woojiq deleted the change_normalization branch January 14, 2024 15:07
mtoohey31 pushed a commit to mtoohey31/helix that referenced this pull request Jun 2, 2024
smortime pushed a commit to smortime/helix that referenced this pull request Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-core Area: Helix core improvements C-bug Category: This is a bug S-waiting-on-review Status: Awaiting review from a maintainer.
Projects
None yet
3 participants