Skip to content

Add support for old Info-ZIP extra block for Unix#660

Open
bastianeicher wants to merge 1 commit intoicsharpcode:masterfrom
bastianeicher:feat/old-infozip-unix
Open

Add support for old Info-ZIP extra block for Unix#660
bastianeicher wants to merge 1 commit intoicsharpcode:masterfrom
bastianeicher:feat/old-infozip-unix

Conversation

@bastianeicher
Copy link
Copy Markdown
Contributor

@bastianeicher bastianeicher commented Sep 7, 2021

SharpZipLib currently supports reading timestamps from the "Extended Timestamp Extra Field" (0x5455).

This PR adds support for the older (but still often seen in new .zip files) "Info-ZIP Unix Extra Field (type 1)" (0x5855).

I certify that I own, and have sufficient rights to contribute, all source code and related material intended to be compiled or integrated with the source code for the SharpZipLib open source product (the "Contribution"). My Contribution is licensed under the MIT License.

@codecov
Copy link
Copy Markdown

codecov bot commented Sep 7, 2021

Codecov Report

❌ Patch coverage is 14.28571% with 30 lines in your changes missing coverage. Please review.
✅ Project coverage is 73.04%. Comparing base (cd5310f) to head (cef5453).
⚠️ Report is 60 commits behind head on master.

Files with missing lines Patch % Lines
src/ICSharpCode.SharpZipLib/Zip/ZipExtraData.cs 9.37% 29 Missing ⚠️
src/ICSharpCode.SharpZipLib/Zip/ZipEntry.cs 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #660      +/-   ##
==========================================
- Coverage   73.28%   73.04%   -0.25%     
==========================================
  Files          68       68              
  Lines        8304     8339      +35     
==========================================
+ Hits         6086     6091       +5     
- Misses       2218     2248      +30     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Member

@piksel piksel left a comment

Choose a reason for hiding this comment

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

This looks overall good, but there are no tests.

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