Allow setting `short-name-mode` and set mode to `enforcing` by default (like podman / CRI-IO) by jonesbusy · Pull Request #560 · oras-project/oras-java

Skip to content

Navigation Menu

Sign in

Appearance settings

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

Sign up

Appearance settings

Conversation

@jonesbusy

Copy link

Collaborator

Fix #548

Description

Allow setting short-name-mode and set mode to enforcing by default

Testing done

Added some 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
Signed-off-by: Valentin Delaye <jonesbusy@users.noreply.github.com>

@jonesbusy jonesbusy added the enhancement

New feature or request

label

Feb 17, 2026

@codecov

Copy link

codecov bot commented

Feb 17, 2026

edited

Loading

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.89%. Comparing base (0b79b88) to head (8974948).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #560      +/-   ##
============================================
+ Coverage     87.56%   88.89%   +1.32%     
- Complexity      790      799       +9     
============================================
  Files            42       42              
  Lines          2349     2368      +19     
  Branches        289      291       +2     
============================================
+ Hits           2057     2105      +48     
+ Misses          178      152      -26     
+ Partials        114      111       -3     

☔ 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 marked this pull request as ready for review

February 17, 2026 14:29

@jonesbusy jonesbusy merged commit 867364d into oras-project:main

Feb 17, 2026

8 of 9 checks passed

@jonesbusy jonesbusy deleted the feature/short-name branch

February 17, 2026 16:47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

enhancement

New feature or request

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Support for short-name-mode

1 participant

@jonesbusy