Distributed federated git?

Matej@matejc.com to Selfhosted@lemmy.world – 24 points –

Does anyone know about such a platform? I googled a bit there is some white paper on gitlab https://gitlab.com/federated-git-platform/whitepaper but did not find anything concrete.

10

Git itself is already distributed. For federated issues/pull requests, there is the ActivityPub extension ForgeFed. Forgejo ist actively working on implementing it.

There is a rudimentary git server with federation support as a POC, but it's not there yet. I'm Selfhosting Forgejo, it works really well, but AP integration isn't really in it yet.

Thank you, integration with activitypub is what i was after!

Git is already distributed. Maybe there should be a way for forge software like GitLab or GitHub to fork stuff from each other via UI, but you can already do that by cloning and pushing the repo to somewhere else.

Yes, it's called email. Run

git send-email

as Linus intended.

The only correct way of collaboration and sharing code.

Both gitlab and gitea/forgejo has plans to add federation. But it's been planned for years now and I'm not sure how close we are to actually getting it.

Besides, git itself is federated as you create copies of repositories on your computer, just like anyone else. It's just not very "discoverable".

Git is distributed, but

  1. so do many vcs created after git, eg. hg, pijul

  2. a platform that hosts the repos and issue trackers is different tool.

Security is the main problem here, you normally don't visit a random host to download the software from, just like you don't put money on a random unknown bank/stock. That's the reason I think it is not being federated yet, bc you want to stick with the trusted instance you pick anyway even if it is federated, but then there is not much difference for the host to host the platform without fediverse.