deis / deis/workflow-cli

Switch to using a go git package

Open
#224 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
31
Forks
42
PR merge metrics
No merged PRs in 30d

Description

Right now we're shelling out to the git command line client to manage git remotes. This is finicky and git version dependent.

Ideally we would use a library so we don't have to use our picky git output parsing code.

This best option right now is https://github.com/libgit2/git2go However, it's based on libgit2, a C library. This removes the option of cross compiling and adds 5 MB to the binary, making it a non-option right now.

I don't think this is anything we can fix soon, I intend this issue mostly to highlight technical debt.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.