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

Gz encoding #2306

Merged
merged 6 commits into from
Mar 29, 2024
Merged

Gz encoding #2306

merged 6 commits into from
Mar 29, 2024

Conversation

wild-endeavor
Copy link
Contributor

@wild-endeavor wild-endeavor commented Mar 29, 2024

Why are the changes needed?

Short of scanning the file using something like this which is already merged, we can do a simple extension check for gzip specifically. As/if this grows out of hand, we can refactor.

What changes were proposed in this pull request?

Just a simple file extension match for now.

How was this patch tested?

Tested locally.

Setup process

Screenshots

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Related PRs

Docs link

Signed-off-by: Yee Hing Tong <[email protected]>
Signed-off-by: Yee Hing Tong <[email protected]>
Signed-off-by: Yee Hing Tong <[email protected]>
Copy link

codecov bot commented Mar 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.47%. Comparing base (fa2aa0b) to head (d3c75cc).
Report is 7 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2306      +/-   ##
==========================================
- Coverage   83.89%   83.47%   -0.43%     
==========================================
  Files         342      324      -18     
  Lines       25483    24723     -760     
  Branches     3725     3519     -206     
==========================================
- Hits        21380    20637     -743     
+ Misses       3472     3453      -19     
- Partials      631      633       +2     

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

@wild-endeavor wild-endeavor marked this pull request as ready for review March 29, 2024 16:42
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Mar 29, 2024
Signed-off-by: Yee Hing Tong <[email protected]>
Signed-off-by: Yee Hing Tong <[email protected]>
Signed-off-by: Yee Hing Tong <[email protected]>
@dosubot dosubot bot added the lgtm This PR has been approved by maintainer label Mar 29, 2024
@eapolinario eapolinario merged commit acf6bab into master Mar 29, 2024
47 of 48 checks passed
fiedlerNr9 pushed a commit that referenced this pull request Jul 25, 2024
* wip, make a sandbox test

Signed-off-by: Yee Hing Tong <[email protected]>

* gzip encoding

Signed-off-by: Yee Hing Tong <[email protected]>

* revert

Signed-off-by: Yee Hing Tong <[email protected]>

* fix test

Signed-off-by: Yee Hing Tong <[email protected]>

* lint

Signed-off-by: Yee Hing Tong <[email protected]>

* test

Signed-off-by: Yee Hing Tong <[email protected]>

---------

Signed-off-by: Yee Hing Tong <[email protected]>
Signed-off-by: Jan Fiedler <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by maintainer size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants