I can’t help but notice most (all I’ve seen anyway) of the federated projects are hosted on GitHub. GitLab is also not federated, but can be self hosted and has at least discussed it.
I am fully aware of my bias for GitLab over GitHub, but I still wonder why is those things? Is there a federated source hosting project?
No, that’s not quite how git works. Everyone who’s cloned the repo has a complete copy of the code — at least at the time they cloned/checked it out. If GitHub, Gitlab, BitBucket or whatever goes away, you can keep working without it, provided that people know how to use a remote from another machine. Git really is decentralized even if people tend to use it in a centralized fashion.
Edit: Spelling.
(Unless they shallow cloned)
You’d still have a complete copy of the current HEAD, you’d just be missing a bunch of history depending on the depth at which you cloned.
I agree with both of you (not sure why the one got so many downvotes).
Git is not centralized. GitHub, GitLab, Bitbucket, Gitea, is a centralized server.
These services are more than just git repositories. They’re issue tracking, merge/pull requests, wikis, CI/CD, etc. If the service is lost, the source is still out there but it could be quite the pain to get going again.
It is supporting my point btw. The internet is federated then. For example: “With my copy of a meme is a complete copy too. If Lemmy goes away it keeps working without it. And i can share it al along :)” If git(hub) is federated then is everything on the internet too.
It’s really not. In your example, the meme would be decentralized — not “the internet”. Also, I think you’re confusing “git” with services offering “git and more” such as GitHub, GitLab, etc.
Yup. Thats my point. GIT IS DECENTRALIZED NOT FEDERATED.
:D You said it yourself
Literally no one but you has used the word “federated” in his thread of comments… You responded to the original comment about git being decentralized by saying “it’s still 1 centralized server that has the code”. I corrected you, because that’s not how git works, and now I’m not sure what the fuck you’re on about…
Edit: Screenshot, in case you forget.
Sry i was wrong XD lmao. I thought you wanted to proof that git is federated