Skip to content

integrating go-git-providers with a library like jenkins/go-scm to increase the number of supported git providers #3292

Answered by yiannistri
enekofb asked this question in Proposals
Discussion options

You must be logged in to vote

Hey Eneko,

Thanks for the suggestion. We think that pursuing a solution that utilises jenkins-x/go-scm is not optimal because:

  • it is simpler to depend on SDK libraries that directly target the different git providers instead of going through an additional abstraction layer such as go-scm that itself targets the different git providers. After all, go-git-providers is itself an abstraction.
  • SDK libraries (e.g google/go-github, xanzy/go-gitlab etc.) are well maintained and typically provide a wide set of features that we can choose to use whereas go-scm provides a smaller subset of features.

We (currently) lack support of Gitea and Azure Devops but we prefer to put our efforts on adding su…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by stefanprodan
Comment options

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
2 participants