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/patch failed Oct 10, 2024 in 1s

64.43% of diff hit (target 80.00%)

View this Pull Request on Codecov

64.43% of diff hit (target 80.00%)

Annotations

Check warning on line 39 in cmd/oras/internal/display/content/manifest_index.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/content/manifest_index.go#L39

Added line #L39 was not covered by tests

Check warning on line 37 in cmd/oras/internal/display/metadata/discard.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/metadata/discard.go#L36-L37

Added lines #L36 - L37 were not covered by tests

Check warning on line 52 in cmd/oras/internal/display/metadata/discard.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/metadata/discard.go#L51-L52

Added lines #L51 - L52 were not covered by tests

Check warning on line 57 in cmd/oras/internal/display/metadata/discard.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/metadata/discard.go#L56-L57

Added lines #L56 - L57 were not covered by tests

Check warning on line 67 in cmd/oras/internal/display/metadata/discard.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/metadata/discard.go#L66-L67

Added lines #L66 - L67 were not covered by tests

Check warning on line 80 in cmd/oras/internal/display/metadata/text/manifest_index.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/metadata/text/manifest_index.go#L80

Added line #L80 was not covered by tests

Check warning on line 86 in cmd/oras/internal/display/metadata/text/manifest_index.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/metadata/text/manifest_index.go#L86

Added line #L86 was not covered by tests

Check warning on line 105 in cmd/oras/internal/display/status/discard.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/status/discard.go#L104-L105

Added lines #L104 - L105 were not covered by tests

Check warning on line 110 in cmd/oras/internal/display/status/discard.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/status/discard.go#L109-L110

Added lines #L109 - L110 were not covered by tests

Check warning on line 115 in cmd/oras/internal/display/status/discard.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/status/discard.go#L114-L115

Added lines #L114 - L115 were not covered by tests

Check warning on line 120 in cmd/oras/internal/display/status/discard.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/status/discard.go#L119-L120

Added lines #L119 - L120 were not covered by tests

Check warning on line 125 in cmd/oras/internal/display/status/discard.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/status/discard.go#L124-L125

Added lines #L124 - L125 were not covered by tests

Check warning on line 130 in cmd/oras/internal/display/status/discard.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/status/discard.go#L129-L130

Added lines #L129 - L130 were not covered by tests

Check warning on line 215 in cmd/oras/internal/display/status/text.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/status/text.go#L214-L215

Added lines #L214 - L215 were not covered by tests

Check warning on line 221 in cmd/oras/internal/display/status/text.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/status/text.go#L219-L221

Added lines #L219 - L221 were not covered by tests

Check warning on line 223 in cmd/oras/internal/display/status/text.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/status/text.go#L223

Added line #L223 was not covered by tests

Check warning on line 112 in cmd/oras/root/manifest/index/create.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/root/manifest/index/create.go#L112

Added line #L112 was not covered by tests

Check warning on line 132 in cmd/oras/root/manifest/index/create.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/root/manifest/index/create.go#L132

Added line #L132 was not covered by tests

Check warning on line 135 in cmd/oras/root/manifest/index/create.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/root/manifest/index/create.go#L135

Added line #L135 was not covered by tests

Check warning on line 139 in cmd/oras/root/manifest/index/create.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/root/manifest/index/create.go#L139

Added line #L139 was not covered by tests

Check warning on line 149 in cmd/oras/root/manifest/index/create.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/root/manifest/index/create.go#L149

Added line #L149 was not covered by tests

Check warning on line 159 in cmd/oras/root/manifest/index/create.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/root/manifest/index/create.go#L159

Added line #L159 was not covered by tests

Check warning on line 209 in cmd/oras/root/manifest/index/create.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/root/manifest/index/create.go#L209

Added line #L209 was not covered by tests

Check warning on line 144 in cmd/oras/root/manifest/index/update.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/root/manifest/index/update.go#L144

Added line #L144 was not covered by tests

Check warning on line 148 in cmd/oras/root/manifest/index/update.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/root/manifest/index/update.go#L148

Added line #L148 was not covered by tests