Skip to content

Consider migrating to libgit2/git2go #426

Discussion options

You must be logged in to vote

I propose we create an interface for our git package and add the git2go implementation. Then in the GitRepository spec users will be able to switch between the two using a field named gitProtocal that accepts v1(go-git) and v2 (git2go), when not specified defaults to v1. We need to document the differences and tell Azure DevOps users to use v2. We should warn users that using git2go means that source-controller will fetch all the git history, for some repos this means downloading GB of data that could fill the disk and also impact their traffic costs by a lot.

Replies: 3 comments 10 replies

Comment options

You must be logged in to vote
8 replies
@phillebaba
Comment options

phillebaba Nov 8, 2020
Collaborator Author

@phillebaba
Comment options

phillebaba Nov 14, 2020
Collaborator Author

@stefanprodan
Comment options

@phillebaba
Comment options

phillebaba Nov 15, 2020
Collaborator Author

@paraskaneriya
Comment options

Comment options

You must be logged in to vote
2 replies
@squaremo
Comment options

@phillebaba
Comment options

phillebaba Nov 16, 2020
Collaborator Author

Answer selected by phillebaba
Comment options

phillebaba
Nov 21, 2020
Collaborator Author

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants