logoalt Hacker News

mgrandltoday at 6:10 AM3 repliesview on HN

Sweet. It’s kinda wild to me that this hasn’t been done. Would be so much nicer if gitlab/forgejo/gitea/… supported object storage for everything. Currently you always still need a filesystem for git repos.


Replies

baalimagotoday at 9:02 AM

> It’s kinda wild to me that this hasn’t been done

https://github.com/awslabs/git-remote-s3

This works seamlessly so you can run `git remote add origin s3://my-git-bucket/my-repo`

throwaway7356today at 8:20 AM

It has been done. It is no longer done because it is not efficient.

Yes, it was not "object storage", but Git can be served from a dumb http server as static files. Now someone figured out that object storage can also serve static files via http. Wow!

erutoday at 8:58 AM

On Linux, Fuse is your friend. See eg https://github.com/matthiasgoergens/git-snap-fs