Hacker News new | ask | show | jobs
by floating-io 60 days ago
I would be much more interested if they fully open sourced an S3-compatible git backend that anybody could use with any S3-compatible service.

Does such a thing exist? Hmmm...

1 comments

Yup, https://github.com/awslabs/git-remote-s3 (disclaimer: never used it)
Run.

I've used it in a product for a couple of thousand repos. The big problem is architectural. Each branch is serialized into a single bundle file. There is no structural sharing of git objects. So each and every branch will download the full history from scratch. So changing branches is as expensive as a fresh clone. If you combine this with a real user's desire for images/diagrams of any kind, then boom, massive slowness.

There are also two concurrency bugs which the maintainer refuses to acknowledge.