When GitHub was acquired by Microsoft, people started to look for a freer alternative. Self-hosting is usually the best choice, but those who can't afford it switched mostly to Sourcehut or Codeberg.
But why was GitLab never really mentioned? It's open-source, has a plethora of great features, is independent, can mirror to GitHub, has an incredible CI/CD infrastructure... I personally find it way better. Is there something I don't know or understand?
A problem that I have with self-hosting Git — lack of federation.
I can host a Mastodon instance and my posts would be seen elsewhere on the global timeline. But host a Git server — and now you're cut away from the rest of the world. People need to create accounts to contribute, the project will not hard to discover. Even I, a relatively tech-savvy person, hate it, when the development is concentrated on some in-house server — that's why I could never imagine contributing to, say, GNU projects.
Try self hosting Gitlab. I bet that you can't build it from source, they make it almost impossible. And if you selfhost the image they provide, look at the requirements: 8vCPU and 30GB of RAM is recommended
@werwolf don't confuse GitLab with its (optional) underlying Kubernetes infrastructure. Their actual recommended parameters are a 4-core CPU and 4 GB of RAM.
As for the sources install, I find the official guide to be, while huge, easy to follow: https://docs.gitlab.com/ee/install/installation.html
@NickKaramoff I personally prefer Gitlab to Sourcehut and Codeberg. As you pointed out, Gitlab is way better. One more point, it's a large company and has been around for a long time.
I know a lot of people don't like to depend on large company. However, I don't trust one-person or small team platform since it can disappear anytime.
I did migrate to Gitlab just a few days ago :)
@NickKaramoff from what I see, GitLab is the most popular alternative to GitHub. Maybe we are observing different parts of FOSS community.
@NickKaramoff But you can push and pull from multiple Git remotes so it is distributed. Git's really versatile! I can host my own git server and someone can clone it to their own server and we can pull from each other's trees with ease if needed. Or convert commits to patches and share those. We can even share a clone of our repos publicly.
Public sharing of commits across a federated platform doesn't seem too related or even needed for Git.
@lyndon good point! But issues and PRs are also a big thing for me. Working purely in Git and having to communicate via E-Mail is too hard for beginners and clunky even for the experienced
@NickKaramoff Both PRs and Issues are extra sugar in regards to git in my opinion, but you can use stuff like Gitea with relative ease (it'll run a Raspberry Pi apparently)
@NickKaramoff About Gitlab, I believe only the frontend to it is free and when it comes to the backend, they are no better than Github.
And I totally relate to you, I moved away from Github to Gitlab but I believed that it was no better than Github. I have recently moved to Codeberg. Like you I also prefer issues and pull requests.
So my solution to this is to keep both a Github and a Codeberg account. I use Github for contributing and reporting issues but do all my work on Codeberg.
@NickKaramoff FYI, Google has an investment in Gitlab. In such situation, migrating from Github to Gitlab (because of Microsoft) doesn't make much sense IMHO.
@NickKaramoff Gitlab (hosted version, not software) is operated by a company that has done some questionable things in the past (contracts with "customers with values that are incompatible with our own values").
Also, Gitlab is Open Core (hosted version has nonfree parts) while both Sourcehut and Gitea (on which Codeberg runs) are truly Open Source. If you host your own instance that's not a problem , though.
@NickKaramoff maybe Bill Gates rubbed his **** all over the servers after he bought it? Maybe Bill Gates is using the server space to run his evil world "vaccination" plan? I think, in my undereducated opinion, that, regardless of it being open source, #bigtech has touched it and so it is now considered 'dirty'.
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.