caddy-git icon indicating copy to clipboard operation
caddy-git copied to clipboard

Using a pure Go git

Open akhenakh opened this issue 6 years ago • 3 comments

I've made a fork using https://github.com/src-d/go-git, it supports Github token, and do not require sh anymore. Since it does not support ssh, it's totally incompatible with caddy-git users base, but maybe a mix of both could be a solution ?

https://github.com/akhenakh/caddy-puregit

akhenakh avatar Apr 30 '19 11:04 akhenakh

This is actually really appealing. What would it take to add SSH support? I don't see anywhere that says go-git doesn't support it; do you mean the puregit repo doesn't yet support it?

mholt avatar Jun 27 '19 05:06 mholt

go-git doesn't support it in my quick glance (I may be wrong), you need to use API key instead.

abiosoft avatar Jun 27 '19 05:06 abiosoft

According to go-git source code it may supports some parts of ssh auth but it’s something I haven’t explored yet while writing the puregit module.

On Jun 27, 2019, at 01:21, Matt Holt [email protected] wrote:

This is actually really appealing. What would it take to add SSH support? I don't see anywhere that says go-git doesn't support it; do you mean the puregit repo doesn't yet support it?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

akhenakh avatar Jun 27 '19 05:06 akhenakh