Refactor branch list using src-d/go-git and add GetRefs function #133
No reviewers
Labels
No Label
in progress
kind/bug
kind/deployment
kind/docs
kind/enhancement
kind/feature
kind/lint
kind/proposal
kind/question
kind/security
kind/testing
kind/translation
kind/ui
lgtm/done
lgtm/need 1
lgtm/need 2
priority/critical
priority/low
priority/maybe
priority/medium
refactor
reviewed/duplicate
reviewed/invalid
reviewed/wontfix
status/blocked
status/needs-feedback
status/wip
No Milestone
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/git#133
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "unknown repository"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Author: @lafriks
GetRefs will be needed to implement Refs API
Add src-d/go-git dependency and refactored GetBranches to use this lib.
Author: @codecov-io
Codecov Report
0% <0%> (ø)
12.32% <58.33%> (+12.32%)
70% <70%> (ø)
68.42% <0%> (-6.58%)
64% <0%> (-6%)
35.71% <0%> (-5.96%)
40.54% <0%> (-4.63%)
63.92% <0%> (-4.08%)
27.27% <0%> (-3.29%)
57.62% <0%> (-3.16%)
Continue to review full report at Codecov.
Author: @lunny
@lafriks the benchmark is for a bare git repository?
Author: @lafriks
@lunny yes
Author: @lunny
It seems we only have a bare repo on testdata
Author: @lafriks
@lunny is that a problem?
Author: @lunny
I prefer pure go library than git command. But for performance measure, I think a bare repo maybe not a good example.
Author: @lafriks
We store all git repos as bare server-side so that is measurement most important for gitea case