Hacker News new | ask | show | jobs
by _zywo 1664 days ago
Whether this specific problem is intentional or not, these kinds of problems show the issue with using a single centralized service for distribution of third-party dependencies. But it's just so much more darned convenient than hosting your own Git server! It would be super cool if there was a decentralized alternative to GitHub, that used Git under the hood. Perhaps one would upload their repositories to a node, which would then be synchronized with all other nodes, and all you would need to do to use it is to specify any_node.com/author/project. This would keep GitHub's discoverability, while allowing all the benefits of decentralization.
6 comments

Do many packaging systems do something different than a single centralized download point?

I think rubygems has a single centralized download point.

I am not very familiar with other platforms, including OS distro packages. Do some of them use decentralized systems?

Some software like gitea [1] can mirror github repositories (or vice versa). Some other software like fossil [2] is designed to do not just source code but also issue tracking etc. in a decentralised fashion.

It's definitely more work than just throwing it onto GitHub though, something more convenient would be really cool.

[1] https://gitea.io/ [2] https://fossil-scm.org/

Breaking changes aren’t only an issue with centralization. A breaking change with git itself would mess up your decentralized scenario as well.
Maybe for one or two minutes, but if it costs more time, I'd just rollback my git installation.

Good Luck rolling back GitHub.

But what about rolling back someone else’s installation? What if you’re depending on a different user that has a buggy installation?
I would love to see a Git+Matrix forge, completely decentralised. With the spaces and the upcoming threads, seems like it wouldn't be so difficult to create a client that exposes that. It would be easier to make it closer to Gerrit than Github review process, which would be a step up!
Gitlab is uniquely positioned to do this

Activity Pub integration issue on Gitlab: https://gitlab.com/gitlab-org/gitlab/-/issues/21582

Radicle is trying to build something similar to what you described https://radicle.xyz/

Discoverability will probably need more work though

Do you need to buy ethereum to push a commit?
I’m amused that the whole open source community depends on what is effectively Microsoft’s closed-source proprietary service.