abiosoft / caddy-git

git middleware for Caddy
http://caddyserver.com/docs/http.git
MIT License
205 stars 43 forks source link

Using a pure Go git #103

Open akhenakh opened 5 years ago

akhenakh commented 5 years ago

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

mholt commented 5 years ago

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?

abiosoft commented 5 years ago

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

akhenakh commented 5 years ago

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 notifications@github.com 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.