go-sigma / sigma

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

:sparkles: Add anonymous user #245

Closed tosone closed 8 months ago

codecov[bot] commented 8 months ago

Codecov Report

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

Comparison is base (5732830) 33.49% compared to head (07dd8c7) 33.11%. Report is 1 commits behind head on main.

Files Patch % Lines
pkg/middlewares/auth.go 11.11% 8 Missing :warning:
pkg/handlers/distribution/manifest/handler.go 40.00% 2 Missing and 1 partial :warning:
pkg/handlers/distribution/manifest/manifest_get.go 0.00% 2 Missing :warning:
...kg/handlers/distribution/manifest/manifest_head.go 0.00% 1 Missing and 1 partial :warning:
pkg/inits/user.go 75.00% 1 Missing and 1 partial :warning:
pkg/handlers/repositories/repositories_delete.go 0.00% 1 Missing :warning:
pkg/handlers/users/users_list.go 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #245 +/- ## ========================================== - Coverage 33.49% 33.11% -0.39% ========================================== Files 128 127 -1 Lines 8624 8468 -156 ========================================== - Hits 2889 2804 -85 + Misses 5472 5410 -62 + Partials 263 254 -9 ``` | [Flag](https://app.codecov.io/gh/go-sigma/sigma/pull/245/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/245/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | `33.11% <38.70%> (-0.39%)` | :arrow_down: | | [unit-test-postgresql](https://app.codecov.io/gh/go-sigma/sigma/pull/245/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | `33.11% <38.70%> (-0.39%)` | :arrow_down: | | [unit-test-sqlite3](https://app.codecov.io/gh/go-sigma/sigma/pull/245/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | `33.11% <38.70%> (-0.39%)` | :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.