Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@maxbeckers
Copy link
Contributor

@maxbeckers maxbeckers commented Oct 24, 2022

Q A
Branch? 6.4
Bug fix? no
New feature? no
Deprecations? yes
Tickets Fix #25798
License MIT
Doc PR symfony/symfony-docs#17394
  • submit changes to the documentation

This is a PR for #25798. In the issue is described, that the option copy_on_windows is a bit misleading, because there might be as well other usecases to follow the symlinks like copying to a different drive or a docker context which does not support symlinks.

The old option copy_on_windows is marked as deprecated with the hint to use the option follow_symlinks, doing interally exactly the same. Just a renaming of the option with making the old one deprecated for no BC breaks.

@maxbeckers
Copy link
Contributor Author

Build failures seem to be unrelated to the change.

@maxbeckers maxbeckers changed the title [Filesystem] rename Filesystem::mirror option copy_on_windows to follow_symlinks [Filesystem] rename Filesystem::mirror() option copy_on_windows to follow_symlinks Oct 25, 2022
@carsonbot
Copy link

Hey!

I think @gechetspr has recently worked with this code. Maybe they can help review this?

Cheers!

Carsonbot

Copy link
Contributor

@gechetspr gechetspr left a comment

Choose a reason for hiding this comment

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

Looks good from my side. One minor comment is IMO nice to have, but it's working fine as it is

@nicolas-grekas nicolas-grekas added this to the 6.4 milestone May 23, 2023
@maxbeckers maxbeckers force-pushed the patch-25798 branch 2 times, most recently from 4b3f98e to fdcc518 Compare June 5, 2023 08:51
@OskarStark OskarStark changed the title [Filesystem] rename Filesystem::mirror() option copy_on_windows to follow_symlinks [Filesystem] rename Filesystem::mirror() option copy_on_windows to follow_symlinks Jun 5, 2023
@nicolas-grekas nicolas-grekas modified the milestones: 6.4, 7.1 Nov 15, 2023
@xabbuh xabbuh modified the milestones: 7.1, 7.2 May 15, 2024
@javiereguiluz javiereguiluz added the ❄️ Feature Freeze Important Pull Requests to finish before the next Symfony "feature freeze" label Oct 18, 2024
@fabpot fabpot modified the milestones: 7.2, 7.3 Nov 20, 2024
@fabpot fabpot removed the ❄️ Feature Freeze Important Pull Requests to finish before the next Symfony "feature freeze" label Nov 27, 2024
@fabpot fabpot modified the milestones: 7.3, 7.4 May 26, 2025
@nicolas-grekas nicolas-grekas modified the milestones: 7.4, 8.1 Nov 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[filesystem] copy_on_windows option for mirror() is misleading

9 participants