The issue I forsee (that no one seems to be mentioning) with everyone moving off of GitHub to self hosted Git forges is what happens when a maintainer looses interest
On GitHub, a maintainer can just archive the repo and walk away. It costs them nothing, and the code is still there for anyone to read/use/fork.
With a self-hosted forge, keeping the code online isn't free. Someone has to pay for the server+domain, keep the forge software patched etc. That's ongoing money and time for a project they've already stopped caring about. So the easiest option becomes turning the instance off and then the code is lost.
If there was any outside contributor to carry the torch, their local repo has all the code, and they need to choose to host it elsewhere. The comments, discussions and issues are lost, but the code would survive.
> So the easiest option becomes turning the instance off and then the code is lost.
The mistake you're making is in that the maintainer owes anyone else anything.
So they shut down the instance after they've lost interest. If other people have recent clones of repos they care about, they can upload them somewhere else and work on them wherever they want.
If not, oh well, that's life.
In a way, I don't see this as an "issue" as you've framed it; it's a feature.
Another thing I would miss as a result of the breakdown of the de-facto 'commons' is the ease of searching how other people have written similar code or configured their dotfiles. A code-specific search engine will be great. It wouldn't cover private forges, but I guess it's an inevitable trade-off.
You can always slap it behind a serverless firewall like cloudflare access. I have multiple firewalls for mine and a tailscale proxy exception that runs only when I actually turn on my machine to push something.
On GitHub, a maintainer can just archive the repo and walk away. It costs them nothing, and the code is still there for anyone to read/use/fork.
With a self-hosted forge, keeping the code online isn't free. Someone has to pay for the server+domain, keep the forge software patched etc. That's ongoing money and time for a project they've already stopped caring about. So the easiest option becomes turning the instance off and then the code is lost.
Replies (10)
Most people avoid unmaintained projects, although having access to the code in perpetuity is definitely a valuable educational resource.
Internet Archive should probably archive code too.
Post it all to a static site, feed it to archive.org, and then leave.
But then, if no one ever forked it, does the collapse of the repo make a sound?
Doesn't really help with the sudden loss of the maintainer, but that's more of an estate planning issue.
Replies (1)
The mistake you're making is in that the maintainer owes anyone else anything.
So they shut down the instance after they've lost interest. If other people have recent clones of repos they care about, they can upload them somewhere else and work on them wherever they want.
If not, oh well, that's life.
In a way, I don't see this as an "issue" as you've framed it; it's a feature.
Use it or lose it.
Probably a lesson there.