Open
Description
Proposing that we use go-git
for powering RepoClient
APIs that require git-like features. Some advantages I see of using this:
- A common implementation for
ListFiles
,GetFileContent
,ListCommits
andSearch
that can be used across any Git-like system (GitHub, GitLab or even local git repos). - Enables us to add support for things like tags (e.g run scorecard on
--commit=v4.1.0
) - Might provide better performance since we won't be uncompressing a tarball and some added API token efficiency.
Considering to start work on this (not a top priority for me, will work on it on the side). Just wanted to run it by folks to make sure no one has concerns. @laurentsimon @naveensrinivasan @justaugustus
Metadata
Assignees
Labels
Type
Projects
Status
No status
Activity