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

Add support for symlinks that point to a directory #336

Conversation

TravisCarden
Copy link
Collaborator

Fixes #99

Now that PhpFileSyncer has been entirely replaced with rsync in #334, symlinks that point to directories work by default (except on Windows, which still doesn't support symlinks at all). This PR removes the NoSymlinksPointToADirectory precondition from #109 and adds regression tests. It also adds tests that confirm that empty directories are preserved during syncing--because it was somewhere related and easy to add.

@TravisCarden TravisCarden added the enhancement New feature or request label Mar 7, 2024
@TravisCarden TravisCarden added this to the v2.0.0 milestone Mar 7, 2024
@TravisCarden TravisCarden merged commit 481a941 into php-tuf:develop Mar 7, 2024
10 checks passed
@TravisCarden TravisCarden deleted the feature/support-symlinks-to-directories branch March 7, 2024 01:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Symlinks to directories don't work with PhpFileSyncer
1 participant