Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: status, metadata and content handlers for manifest index commands #1509

Open
wants to merge 17 commits into
base: main
Choose a base branch
from

Merge branch 'main' into output-output

6e3b09a
Select commit
Loading
Failed to load commit list.
Open

refactor: status, metadata and content handlers for manifest index commands #1509

Merge branch 'main' into output-output
6e3b09a
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Oct 10, 2024 in 0s

84.77% (target 75.00%)

View this Pull Request on Codecov

84.77% (target 75.00%)

Details

Codecov Report

Attention: Patch coverage is 64.43299% with 69 lines in your changes missing coverage. Please review.

Project coverage is 84.77%. Comparing base (00a19d2) to head (6e3b09a).

Files with missing lines Patch % Lines
cmd/oras/root/manifest/index/update.go 45.45% 12 Missing and 12 partials ⚠️
cmd/oras/root/manifest/index/create.go 39.13% 7 Missing and 7 partials ⚠️
cmd/oras/internal/display/status/discard.go 25.00% 12 Missing ⚠️
cmd/oras/internal/display/metadata/discard.go 42.85% 8 Missing ⚠️
cmd/oras/internal/display/status/text.go 75.00% 6 Missing ⚠️
...s/internal/display/metadata/text/manifest_index.go 90.62% 2 Missing and 1 partial ⚠️
...md/oras/internal/display/content/manifest_index.go 87.50% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1509      +/-   ##
==========================================
- Coverage   86.05%   84.77%   -1.28%     
==========================================
  Files         118      119       +1     
  Lines        4223     4348     +125     
==========================================
+ Hits         3634     3686      +52     
- Misses        351      402      +51     
- Partials      238      260      +22     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.