Need help?
<- Back

Comments (24)

  • andrewaylett
    `git update-server-info` is your friend; it generates the auxiliary files needed to allow clients to make range requests against packs.For example: https://andrewaylett.github.io/rgitweb/ is a repository viewer that runs against a static git repo. It doesn't care what you're storing the pack in, just that the data is there to make the right range requests.
  • delf
    This is exactly what GitSocial does: https://gitsocial.org/. Plus it can generate static sites for repositories, letting you serve it all from a bucket.
  • pierrebarre
    Or just use https://github.com/Barre/ZeroFSWorks pretty awesomely with git workloads, even Linux sized trees.
  • flowingfocus
    I recently found https://github.com/enroute-sh/enroute which also does git on object storageI found the idea of a git-proxy interesting where you start with proxying an existing forge and then later adopt the object storage backend
  • 0bytes
    4th submission in 3 days. Is this a marketing spam campaign?
  • mgrandl
    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.
  • alizainf
    You can also run git on postgres - https://github.com/usecontextlayer/pggit
  • jauntywundrkind
  • jiggawatts
    Next: replace whole-file hashes with a Merkle Patricia tree hash and enable BitTorrent-like distribution protocols on top, not to mention the deduplication advantages!
  • mmastrac
    Nice. I saw some git-on-durable-objects projects but I'd so much prefer a straight object storage option.
  • sisuo30390
    [flagged]
  • uptownhr
    [flagged]
  • hanwenn
    "Finally delta objects should be stored as their own object in the packfile instead of slapped onto the end of the object it’s a delta of so that you don’t have to read the object and its deltas to read the object in the first place."Author thinks that delta encoding is there for no reason. Good luck, kid.