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

Fix copying vendored files when they are symbolic links #183

Merged
merged 1 commit into from
Oct 19, 2024

Conversation

alikates
Copy link
Contributor

@alikates alikates commented Sep 6, 2024

I'm working on a project where one vendored dependency uses symlinks for managing different SystemVerilog module versions. This was making bender's vendor commands to try to overwrite the symlink with the actual dereferenced file.

I assume this is not intended and the previous handling of symlinks was only for the special case where a vendored package has a symlink to another external directory. That's why I added another condition where the target of the symlink is an actual directory.

@alikates
Copy link
Contributor Author

alikates commented Sep 6, 2024

I just noticed I added an extra canonicalize for the orig path, which should not be needed. I will fix that together with the formatting.

Copy link
Member

@micprog micprog left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@micprog micprog merged commit 1987d87 into pulp-platform:master Oct 19, 2024
6 checks passed
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.

2 participants