oras-project / oras

OCI registry client - managing content like artifacts, images, packages
https://oras.land
Apache License 2.0
1.33k stars 161 forks source link

feat: show artifact type when pushing files #1320

Closed wangxiaoxuan273 closed 2 months ago

wangxiaoxuan273 commented 3 months ago

What this PR does / why we need it:

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged): Fixes #1061

Please check the following list:

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 84.00%. Comparing base (de4cb15) to head (930b46d).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1320 +/- ## ========================================== + Coverage 83.99% 84.00% +0.01% ========================================== Files 90 90 Lines 3455 3458 +3 ========================================== + Hits 2902 2905 +3 Misses 331 331 Partials 222 222 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

wangxiaoxuan273 commented 2 months ago

Need enhance test when pushing to OCI spec v1.0 registries, should show artifact type when --config is used,

Added the test