Add Platform model and some filtering utils for Index by jonesbusy · Pull Request #527 · oras-project/oras-java
Conversation
Description
Add Platform model and some filtering utils for Index
Partially fix #191 by adding the Platform model
Need perhaps more example/documentation and several tests (like adding a platform etc...)
Testing done
mvn clean install
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 installbefore opening the PR
Codecov Report
❌ Patch coverage is 93.10345% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.42%. Comparing base (20fd340) to head (f729a71).
⚠️ Report is 2 commits behind head on main.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| src/main/java/land/oras/Platform.java | 88.23% | 1 Missing and 1 partial ⚠️ |
Additional details and impacted files
@@ Coverage Diff @@ ## main #527 +/- ## ============================================ + Coverage 87.76% 88.42% +0.65% - Complexity 662 686 +24 ============================================ Files 39 40 +1 Lines 2027 2056 +29 Branches 233 233 ============================================ + Hits 1779 1818 +39 + Misses 157 147 -10 Partials 91 91
☔ 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters