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 api #246

Closed tosone closed 10 months ago

codecov[bot] commented 10 months ago

Codecov Report

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

Comparison is base (e05ada3) 33.46% compared to head (fe4fc61) 32.14%.

Files Patch % Lines
pkg/handlers/distribution/blob/blob_get.go 0.00% 30 Missing :warning:
pkg/handlers/distribution/blob/blob_head.go 0.00% 30 Missing :warning:
pkg/handlers/distribution/upload/upload_put.go 0.00% 30 Missing :warning:
pkg/handlers/distribution/upload/upload_patch.go 0.00% 29 Missing :warning:
pkg/dal/dao/repository.go 0.00% 28 Missing :warning:
pkg/handlers/distribution/blob/blob_delete.go 0.00% 28 Missing :warning:
pkg/handlers/distribution/upload/upload_post.go 0.00% 28 Missing :warning:
pkg/handlers/distribution/blob/handler.go 42.30% 10 Missing and 5 partials :warning:
pkg/handlers/distribution/upload/handler.go 51.72% 9 Missing and 5 partials :warning:
pkg/handlers/distribution/base/tags_list.go 14.28% 9 Missing and 3 partials :warning:
... and 8 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #246 +/- ## ========================================== - Coverage 33.46% 32.14% -1.32% ========================================== Files 128 127 -1 Lines 8631 8772 +141 ========================================== - Hits 2888 2820 -68 - Misses 5478 5672 +194 - Partials 265 280 +15 ``` | [Flag](https://app.codecov.io/gh/go-sigma/sigma/pull/246/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/246/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | `32.14% <17.02%> (-1.32%)` | :arrow_down: | | [unit-test-postgresql](https://app.codecov.io/gh/go-sigma/sigma/pull/246/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | `32.14% <17.02%> (-1.32%)` | :arrow_down: | | [unit-test-sqlite3](https://app.codecov.io/gh/go-sigma/sigma/pull/246/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | `32.14% <17.02%> (-1.32%)` | :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.