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 symlink support to pkg_zip #499

Merged
merged 5 commits into from
Jan 29, 2022
Merged

Add symlink support to pkg_zip #499

merged 5 commits into from
Jan 29, 2022

Conversation

aiuto
Copy link
Collaborator

@aiuto aiuto commented Dec 26, 2021

Add symlink support to pkg_zip. #309

This is, by intent, missing a complete integration test. That is for another quarter #498.

@aiuto aiuto requested a review from nacl as a code owner December 26, 2021 05:26
Copy link
Collaborator

@nacl nacl left a comment

Choose a reason for hiding this comment

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

LGTM, but I think this needs more testing on Windows, or lack of testing should be documented. I might have some time to look into this next week, but I can't make any guarantees.

See below comments for other ideas, mostly on improvements using the stat module.

pkg/private/zip/build_zip.py Show resolved Hide resolved
pkg/private/zip/build_zip.py Show resolved Hide resolved
pkg/private/zip/build_zip.py Show resolved Hide resolved
tests/zip/zip_test.py Show resolved Hide resolved
tests/zip/BUILD Outdated Show resolved Hide resolved
@aiuto
Copy link
Collaborator Author

aiuto commented Jan 29, 2022

LGTM, but I think this needs more testing on Windows, or lack of testing should be documented. I might have some time to look into this next week, but I can't make any guarantees.

symlnks on windows are there own area of fun. Since we are not reading links, what we have should build the same bits on any OS. The question is how they unpack, which is fortunately not our problem.

@aiuto aiuto merged commit c969557 into bazelbuild:main Jan 29, 2022
@aiuto aiuto deleted the symzip branch January 29, 2022 05:34
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