Skip to content

[7.x] Relative symlinks#32457

Merged
taylorotwell merged 3 commits into
laravel:7.xfrom
crishoj:relative-symlinks
Apr 21, 2020
Merged

[7.x] Relative symlinks#32457
taylorotwell merged 3 commits into
laravel:7.xfrom
crishoj:relative-symlinks

Conversation

@crishoj
Copy link
Copy Markdown
Contributor

@crishoj crishoj commented Apr 20, 2020

Cleaned up implementation of #32430, for your consideration.

Relative paths for links are determined by makePathRelative from Symfony's Filesystem, which handles Windows paths as well.

@GrahamCampbell
Copy link
Copy Markdown
Collaborator

Seems kinda overkill to need a large symfony component just for this?

@X-Coder264
Copy link
Copy Markdown
Contributor

The Symfony filesystem component is actually quite the opposite of "large". The entire component is basically one class. But yeah, maybe just put it into the suggest section.

@taylorotwell taylorotwell merged commit dace64c into laravel:7.x Apr 21, 2020
@taylorotwell
Copy link
Copy Markdown
Member

Made the current behavior the default. Changed flag to --relative. Made symfony/filesystem a suggestion instead of installed by default.

@crishoj crishoj deleted the relative-symlinks branch April 26, 2020 14:18
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.

4 participants