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

Update zip with zip64, extended timestamps and UID/GID handling #8537

Merged
merged 21 commits into from
Sep 2, 2024

Conversation

garazdawi
Copy link
Contributor

This PR updates the zip module with support for:

  • zip64 archives - Archives larger than 4GB or with more than 2^32 entries.
  • extended timestamps - Higher resolution and in UTC
  • UID/GID - Save and extract the original UID/GID
  • Fixes so that permission mode attributes are correctly read and set for files in archives

It also cleans up the code in zip and fixes a bunch of bugs in corner cases.

@garazdawi garazdawi added team:VM Assigned to OTP team VM enhancement labels May 31, 2024
@garazdawi garazdawi added this to the OTP-27.1 milestone May 31, 2024
@garazdawi garazdawi self-assigned this May 31, 2024
Copy link
Contributor

github-actions bot commented May 31, 2024

CT Test Results

    4 files    227 suites   1h 43m 47s ⏱️
3 615 tests 3 521 ✅  94 💤 0 ❌
4 732 runs  4 610 ✅ 122 💤 0 ❌

Results for commit 7bea184.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

@garazdawi garazdawi force-pushed the lukas/stdlib/zip64 branch 2 times, most recently from a1e63be to 068bce8 Compare June 3, 2024 08:37
@garazdawi garazdawi added the testing currently being tested, tag is used by OTP internal CI label Jun 3, 2024
@garazdawi garazdawi force-pushed the lukas/stdlib/zip64 branch 4 times, most recently from 1c0f6cb to 7d87e7b Compare June 28, 2024 07:15
@garazdawi garazdawi linked an issue Aug 12, 2024 that may be closed by this pull request
@garazdawi garazdawi merged commit c5cd8ee into erlang:maint Sep 2, 2024
15 of 16 checks passed
@garazdawi garazdawi deleted the lukas/stdlib/zip64 branch September 2, 2024 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement team:VM Assigned to OTP team VM testing currently being tested, tag is used by OTP internal CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Methods from module zip read only 65535 records from zip file
1 participant