libgit2 / git2go

Git to Go; bindings for libgit2. Like McDonald's but tastier.
MIT License
1.92k stars 316 forks source link

How to use libgit2/libgit2-backends? #369

Open cirocosta opened 7 years ago

cirocosta commented 7 years ago

Hey,

i'd like to give it a try to git2go storing users' repositories through https but keeping them in a database (either redis/mysql) - i.e, not in the local filesystem. It appears to me that using libgit2/libgit2-backends with git2go would be the best approach. If so, are there any examples out there on how to do this (or something like this)?

In general, if i do not wan't to rely on something like NFS and would like to achieve high availability, how could i do that? What are people doing?

Thx!

cirocosta commented 7 years ago

from https://github.com/libgit2/git2go/issues/139#issuecomment-66929329 it looks like i can't do it with git2go w/out implementing what git-http-backend does. Is that correct?

zjkyz8 commented 6 years ago

Small question, is there any possibility that use libgit2/git2go to implement server side? just like what google gerrit did?

montanaflynn commented 5 years ago

Any update on this?