go-sigma / sigma

OCI-Native artifact manager
https://docs.sigma.tosone.cn
Apache License 2.0
129 stars 10 forks source link

:sparkles: Check auth in distribution manifest api #247

Closed tosone closed 10 months ago

codecov[bot] commented 10 months ago

Codecov Report

Attention: 136 lines in your changes are missing coverage. Please review.

Comparison is base (d702184) 32.50% compared to head (ac2da1d) 31.95%.

Files Patch % Lines
pkg/handlers/distribution/manifest/manifest_get.go 0.00% 32 Missing :warning:
.../handlers/distribution/manifest/manifest_delete.go 30.55% 21 Missing and 4 partials :warning:
...kg/handlers/distribution/manifest/manifest_head.go 25.00% 18 Missing and 6 partials :warning:
pkg/handlers/distribution/manifest/manifest_put.go 30.43% 12 Missing and 4 partials :warning:
pkg/handlers/distribution/upload/upload_put.go 0.00% 11 Missing :warning:
pkg/handlers/distribution/blob/blob_get.go 0.00% 8 Missing :warning:
pkg/handlers/distribution/blob/blob_delete.go 0.00% 7 Missing :warning:
pkg/handlers/distribution/blob/blob_head.go 0.00% 7 Missing :warning:
pkg/handlers/distribution/upload/upload_patch.go 0.00% 3 Missing :warning:
pkg/handlers/distribution/upload/upload_post.go 0.00% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #247 +/- ## ========================================== - Coverage 32.50% 31.95% -0.56% ========================================== Files 128 126 -2 Lines 8935 8851 -84 ========================================== - Hits 2904 2828 -76 + Misses 5740 5731 -9 - Partials 291 292 +1 ``` | [Flag](https://app.codecov.io/gh/go-sigma/sigma/pull/247/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | Coverage Δ | | |---|---|---| | [unit-test-mysql](https://app.codecov.io/gh/go-sigma/sigma/pull/247/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | `31.95% <16.04%> (-0.56%)` | :arrow_down: | | [unit-test-postgresql](https://app.codecov.io/gh/go-sigma/sigma/pull/247/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | `31.95% <16.04%> (-0.56%)` | :arrow_down: | | [unit-test-sqlite3](https://app.codecov.io/gh/go-sigma/sigma/pull/247/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | `31.95% <16.04%> (-0.56%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma#carryforward-flags-in-the-pull-request-comment) to find out more.

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