GitHub's appeal is all the add-on functionality that's not actually stored in the git repo itself; e.g. Issues, Pull Requests, etc. That can't be migrated away easily.
Anyone who (a) has concerns about GitHub (monoculture, Microsoft, Copilot, whatever), and (b) relies on such add-on functionality, should look into moving that metadata into their repos. To give Microsoft some credit, GitHub Actions already does this (via YAML files in a .github/workflows folder)
For my personal projects, I use a simple program called Artemis to manage issues, which just stores maildir files in a hidden folder: http://www.chriswarbo.net/blog/2017-06-14-artemis.html
Still, we use it, but try to use just core functionality (git, CI, issues, wiki) and avoid anything else. Always wanted to try gitea, maybe now it's the time.
We did some profiling and spent quite a bit of time looking at Gitea's source code, it was pretty clear in the end that it's just very very inefficient for large setups. It does an excessive amount of I/O on the Git repositories every time you load a page; there is some caching but not enough / not of the right things. We were really open to implementing fixes and submitting PRs but the community was so hostile that we just abandoned it.
It was overall an enormous waste of time and I can't recommend Gitea to anyone with a setup larger than a handful of small repositories.
I wonder how CodeBerg works though.
However I doubt I can really say its not politically charged.
It's git-only. FWIW, I chose SourceHut in part because they support git and Mercurial, and I'm a Mercurial user. [1]
FWIW, the main SourceHut developer last year moved to the Netherlands. https://drewdevault.com/2022/03/24/Netherlands-update.html , and commented "I will be re-locating SourceHut, the incorporated entity, to the Netherlands, and gradually moving our infrastructure over the pond."
[1] Also because SourceHut is whole-heartedly pro-free software, and also because I feel better being able to pay for a service than depend on the largess of a large company, and also because I don't like monocultures.
Here is an overview of the federation activities: https://forgefriends.org/blog/2022/06/30/2022-06-state-forge...
This, 100%.
Git is useful for all your textual versioning needs - but your friends don't really need access to all your git repos.
The whole idea of putting your whole life on GitHub is a dev's equivalent of putting all your life on Facebook - an excellent idea, as far as Microsoft and Facebook are concerned. If you can't sell ads to coders, then perhaps you can sell them recycled code.
But yeah perhaps I'm hatin' :)
Speaking of GH alternatives, though, the Tildeverse has https://tildegit.org/ https://tildegit.org/.
It surprises me though that Microsoft hasn't added a Stack overflow like panel to github. More. People are jumping between GH for the code AZ md StackOverflow for the support.
If you change your license to forbid removing the license, then there's a good chance that it doesn't hold any legal power. Reason being that machine processing is allowed by copyright laws.
But almost all licenses already do that, for example the MIT license says:
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.