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

Smart HTTP Git transport & partial clones (#291) #332

Merged
merged 1 commit into from
Jul 5, 2023
Merged

Conversation

aymanbagabas
Copy link
Member

  • refactor: tidy up server git

use git services to implement handling git server commands pass config to git as environment variables

  • feat(git): enable partial clones

  • feat(server): use smart http git backend

This implements the smart http git protocol which also supports git-receive-pack service.

* refactor: tidy up server git

use git services to implement handling git server commands
pass config to git as environment variables

* feat(git): enable partial clones

* feat(server): use smart http git backend

This implements the smart http git protocol which also supports
git-receive-pack service.
@codecov
Copy link

codecov bot commented Jun 30, 2023

Codecov Report

Merging #332 (2f2442c) into main (191b832) will decrease coverage by 0.74%.
The diff coverage is 36.76%.

@@            Coverage Diff             @@
##             main     #332      +/-   ##
==========================================
- Coverage   47.82%   47.08%   -0.74%     
==========================================
  Files          80       87       +7     
  Lines        7254     7625     +371     
==========================================
+ Hits         3469     3590     +121     
- Misses       3512     3758     +246     
- Partials      273      277       +4     
Impacted Files Coverage Δ
git/repo.go 27.43% <ø> (-1.73%) ⬇️
git/server.go 0.00% <0.00%> (ø)
git/utils.go 0.00% <0.00%> (ø)
internal/log/log.go 46.66% <0.00%> (-5.19%) ⬇️
server/backend/sqlite/hooks.go 0.00% <ø> (ø)
server/web/goget.go 0.00% <0.00%> (ø)
server/web/logging.go 5.40% <5.40%> (ø)
server/git/git.go 32.75% <14.28%> (-14.22%) ⬇️
server/web/git.go 23.73% <23.73%> (ø)
server/daemon/daemon.go 50.23% <26.22%> (-15.37%) ⬇️
... and 7 more

@aymanbagabas aymanbagabas merged commit e78725f into main Jul 5, 2023
@aymanbagabas aymanbagabas deleted the develop branch July 5, 2023 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant