Skip to content

Add optional OS version and feature#608

Merged
jonesbusy merged 1 commit intooras-project:mainfrom
jonesbusy:feature/optional-os-version-features
Feb 28, 2026
Merged

Add optional OS version and feature#608
jonesbusy merged 1 commit intooras-project:mainfrom
jonesbusy:feature/optional-os-version-features

Conversation

@jonesbusy
Copy link
Collaborator

@jonesbusy jonesbusy commented Feb 28, 2026

Description

Needed to change the internal model since we need to include list of string

Required for #604

Testing done

Added 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 force-pushed the feature/optional-os-version-features branch 2 times, most recently from 06c9ab7 to 9bb570f Compare February 28, 2026 14:22
@codecov
Copy link

codecov bot commented Feb 28, 2026

Codecov Report

❌ Patch coverage is 96.96970% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 87.88%. Comparing base (31b84b1) to head (aa1dd98).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/main/java/land/oras/Platform.java 96.29% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #608      +/-   ##
============================================
+ Coverage     87.00%   87.88%   +0.87%     
- Complexity      825      842      +17     
============================================
  Files            42       42              
  Lines          2532     2542      +10     
  Branches        312      314       +2     
============================================
+ Hits           2203     2234      +31     
+ Misses          206      185      -21     
  Partials        123      123              

☔ 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/optional-os-version-features branch from 9bb570f to 16447ac Compare February 28, 2026 14:29
Signed-off-by: Valentin Delaye <jonesbusy@users.noreply.github.com>
@jonesbusy jonesbusy force-pushed the feature/optional-os-version-features branch from 16447ac to aa1dd98 Compare February 28, 2026 14:32
@jonesbusy jonesbusy added the enhancement New feature or request label Feb 28, 2026
@jonesbusy jonesbusy marked this pull request as ready for review February 28, 2026 14:36
@jonesbusy jonesbusy merged commit bd1e7c3 into oras-project:main Feb 28, 2026
8 checks passed
@jonesbusy jonesbusy deleted the feature/optional-os-version-features branch February 28, 2026 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant