Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add zip compression for artifact but never unpack it (Not a standard OCI layer mediatype)#606

Merged
jonesbusy merged 1 commit into
oras-project:mainoras-project/oras-java:mainfrom
jonesbusy:feature/zip-unzipjonesbusy/oras-java:feature/zip-unzipCopy head branch name to clipboard
Feb 28, 2026
Merged

Add zip compression for artifact but never unpack it (Not a standard OCI layer mediatype)#606
jonesbusy merged 1 commit into
oras-project:mainoras-project/oras-java:mainfrom
jonesbusy:feature/zip-unzipjonesbusy/oras-java:feature/zip-unzipCopy head branch name to clipboard

Conversation

@jonesbusy
Copy link
Copy Markdown
Collaborator

@jonesbusy jonesbusy commented Feb 28, 2026

Description

Add zip compression for artifact but never unpack it (since it's not a standard OCI layer mediatype)

Fix #592

Testing done

mvn clean install
Added one test that push/pull artifact

Also did some interactive tests

java -jar java-oras-cli/target/oras-java.jar push --file java-oras-cli:application/zip localhost:5000/java-oras-cli:latest
oras pull localhost:5000/java-oras-cli:latest
unzip java-oras-cli.zip

Submitter checklist

  • I have read and understood the CONTRIBUTING guide
  • I have run mvn license:update-file-header, mvn spotless:apply, pre-commit run -a, mvn clean install before opening the PR

@jonesbusy jonesbusy added the enhancement New feature or request label Feb 28, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 28, 2026

Codecov Report

❌ Patch coverage is 85.00000% with 15 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.67%. Comparing base (c068dee) to head (bc88071).

Files with missing lines Patch % Lines
src/main/java/land/oras/utils/ArchiveUtils.java 81.70% 11 Missing and 4 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #606      +/-   ##
============================================
+ Coverage     87.10%   87.67%   +0.57%     
- Complexity      811      825      +14     
============================================
  Files            42       42              
  Lines          2443     2532      +89     
  Branches        301      312      +11     
============================================
+ Hits           2128     2220      +92     
+ Misses          196      189       -7     
- Partials        119      123       +4     

☔ 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.

@jonesbusy jonesbusy force-pushed the feature/zip-unzip branch 2 times, most recently from b436ec1 to 25836dc Compare February 28, 2026 10:40
… a standard OCI layer mediatype)

Signed-off-by: Valentin Delaye <jonesbusy@users.noreply.github.com>
@jonesbusy jonesbusy marked this pull request as ready for review February 28, 2026 11:12
@jonesbusy jonesbusy changed the title Add zip compression for artifact but never unpack it (since it's not a standard OCI layer mediatype) Add zip compression for artifact but never unpack it (Not a standard OCI layer mediatype) Feb 28, 2026
@jonesbusy jonesbusy merged commit 31b84b1 into oras-project:main Feb 28, 2026
8 checks passed
@jonesbusy jonesbusy deleted the feature/zip-unzip branch February 28, 2026 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ZIP/Unzip

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.