this post was submitted on 04 Mar 2024
24 points (85.3% liked)

Selfhosted

39254 readers
207 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

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.

top 10 comments
sorted by: hot top controversial new old
[–] [email protected] 43 points 6 months ago (2 children)

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

[–] [email protected] 5 points 6 months ago

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.

[–] [email protected] 4 points 6 months ago

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

[–] [email protected] 29 points 6 months ago

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.

[–] [email protected] 24 points 6 months ago* (last edited 6 months ago) (1 children)

Yes, it's called email. Run

git send-email

as Linus intended.

[–] [email protected] 2 points 6 months ago

The only correct way of collaboration and sharing code.

[–] [email protected] 15 points 6 months ago

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".

[–] [email protected] 5 points 6 months ago* (last edited 6 months ago)

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.

[–] [email protected] 3 points 6 months ago

For increased distribution you can use IPFS to host got repos as well (https://docs.ipfs.tech/how-to/host-git-repo/).

[–] [email protected] 0 points 6 months ago