charmbracelet / soft-serve

The mighty, self-hostable Git server for the command line🍦
MIT License
5.21k stars 132 forks source link

feat: initial orgs & teams support #443

Open aymanbagabas opened 9 months ago

aymanbagabas commented 9 months ago

Fixes: https://github.com/charmbracelet/soft-serve/issues/257

codecov[bot] commented 9 months ago

Codecov Report

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

Comparison is base (c3915b2) 56.42% compared to head (8fbd41a) 54.70%.

Files Patch % Lines
pkg/store/database/org.go 0.00% 129 Missing :warning:
pkg/store/database/team.go 0.00% 111 Missing :warning:
pkg/ssh/cmd/team.go 0.00% 90 Missing :warning:
pkg/backend/user.go 48.71% 43 Missing and 17 partials :warning:
pkg/web/git_lfs.go 1.66% 59 Missing :warning:
pkg/ssh/cmd/org.go 34.78% 41 Missing and 4 partials :warning:
pkg/backend/team.go 0.00% 34 Missing :warning:
pkg/backend/org.go 0.00% 31 Missing :warning:
pkg/store/database/handle.go 41.66% 26 Missing and 2 partials :warning:
pkg/store/database/user.go 67.90% 12 Missing and 14 partials :warning:
... and 16 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #443 +/- ## ========================================== - Coverage 56.42% 54.70% -1.72% ========================================== Files 157 166 +9 Lines 13454 14325 +871 ========================================== + Hits 7591 7837 +246 - Misses 5256 5847 +591 - Partials 607 641 +34 ```

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

gedw99 commented 9 months ago

is the DB sqlite ?

sqlite abd postres: https://github.com/charmbracelet/soft-serve/blob/main/pkg/db/db.go

Nice !!