Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

jonesbusy
Copy link
Collaborator

Description

Equality for most model entities

Very useful when integrating with Java Operator SDK and comparing externals resources

Testing done

mvn clean install

Automated tests

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 Jun 15, 2025
@jonesbusy jonesbusy force-pushed the feature/equals branch 2 times, most recently from 8b60c12 to 9441698 Compare June 15, 2025 10:36
Signed-off-by: Valentin Delaye <[email protected]>
@oras-project oras-project deleted a comment from codecov bot Jun 15, 2025
Copy link

codecov bot commented Jun 15, 2025

Codecov Report

Attention: Patch coverage is 80.30303% with 13 lines in your changes missing coverage. Please review.

Project coverage is 87.96%. Comparing base (1259f6b) to head (0822215).

Files with missing lines Patch % Lines
src/main/java/land/oras/ContainerRef.java 72.72% 0 Missing and 3 partials ⚠️
src/main/java/land/oras/ArtifactType.java 80.00% 0 Missing and 1 partial ⚠️
src/main/java/land/oras/Config.java 80.00% 0 Missing and 1 partial ⚠️
src/main/java/land/oras/Descriptor.java 80.00% 0 Missing and 1 partial ⚠️
src/main/java/land/oras/Index.java 80.00% 0 Missing and 1 partial ⚠️
src/main/java/land/oras/Layer.java 80.00% 0 Missing and 1 partial ⚠️
src/main/java/land/oras/LayoutRef.java 88.88% 0 Missing and 1 partial ⚠️
src/main/java/land/oras/Manifest.java 80.00% 0 Missing and 1 partial ⚠️
src/main/java/land/oras/ManifestDescriptor.java 80.00% 0 Missing and 1 partial ⚠️
src/main/java/land/oras/Referrers.java 80.00% 0 Missing and 1 partial ⚠️
... and 1 more
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #317      +/-   ##
============================================
- Coverage     88.19%   87.96%   -0.24%     
- Complexity      570      615      +45     
============================================
  Files            39       39              
  Lines          1813     1878      +65     
  Branches        198      207       +9     
============================================
+ Hits           1599     1652      +53     
+ Misses          134      133       -1     
- Partials         80       93      +13     

☔ 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 merged commit 1418003 into oras-project:main Jun 15, 2025
4 checks passed
@jonesbusy jonesbusy deleted the feature/equals branch June 15, 2025 10:45
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.

1 participant