r/linuxquestions
•
u/Dymonika
Linux Mint 22.3 'Zena'
•
Jun 19 '26
•
1
Why are so many Linux projects on Microsoft GitHub? Shouldn't they all move to Codeberg?
Sure, I know a lot of projects have been on GH since before MS bought it, but they've owned it for quite a while now, so we really should be seeing better migration out by now, no?
Codeberg is nonprofit which seems more in the spirit of the Linux ecosystem overall. GH is for-profit...
EDIT: All right, all right... I've learned a lot from all this lol. Thanks for the enlightenment, everyone. The truth is more nuanced, as always.
204
u/onefish2 Jun 19 '26 edited Jun 19 '26
Funny that this is the only mention I have heard in a very long time that mentions GitHub as Microsoft GitHub. Its not branded anywhere on the site. I just think of it and use it as GitHub.
55
u/CatoDomine Jun 19 '26
I think moving just for the sake of "Microsoft bad" is not really high priority for a lot of projects. People are busy and have bigger fish to fry.
7
u/EmbeddedEntropy Jun 19 '26
There’s nothing about FOSS that says it’s not for profit. It’s perfectly fine and acceptable to make profit. There’s large corporations like Red Hat that can and do make profit off FOSS software. Even Stallman says it’s fine in the GPL FAQ: https://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html#DoesTheGPLAllowMoney.
5
u/csgeek-coder Jun 20 '26
I don't know why people were so upset about GH being owned by MSFT. I mean Github was not exactly OSS either before they got acquired. They were a commercial company that provided hosted git repo. Hell, after MSFT bought them, you ended up getting more things for free out of the box. The main reason I would switch over these days is how terrible their uptime has been. They've been having production incidents left and right.
If I were to switch it would be less about OSS as much as reliability. At the end of the day I need something I can reliably pull code from and run my CI pipeline on.
4
u/NatoBoram Jun 19 '26
When I was interviewing fresh out of college, I would say I have a GitLab profile, people would open GitHub to find my profile where it says "moved to GitLab" then complain they couldn't find the projects on my CV, projects that came with a GitLab link.
When presented with non-GitHub, people will act like you're intellectually disabled for not using GitHub.
I ended moving back to GitHub when it caught up with GitLab (back then, GitHub didn't have a CI at all). But, regardless of where you work, you should keep mirrors on GitHub if only for the extreme boost in visibility, to collect stars or to offer downloads there. Every single hoop you make people go through (like making a second GitLab account to make a PR, making a third Forgejo account to open an issue) loses you the majority of your potential traffic.
7
u/deanrihpee Jun 19 '26
probably
the same way people posts videos on YouTube than newpipe or whatever the distributed alternative
the same way people still use Reddit than the more "free-er" alternative
the same way a lot of people still stay on Twitter than Mastodon or MissKey
maybe because
- Popular
- Convenience
- Familiar
but since it is for a development, the infrastructure probably the friction or that the developer doesn't get annoyed enough by the fuckup Microsoft has done or just "it works" and doesn't have any urgency to migrate, which minds you each person/project is different
3
u/cracked_shrimp Jun 19 '26
microsoft is part of the linux foundation aint it? so thats why linux stuff would be on github, other Free Software projects should migrate tho
3
u/HCharlesB Jun 19 '26
Performance could also be an issue. I've got a couple repos on Codeberg and when I interact with them it seems slow. For example:
3s for 7 files (not including the
.gitdirectory) and 15 commits. I can survive with that but as a project grows, that delay could become a problem.It's not my desire to speak poorly of the folk who provide Codeberg but it's clear that Microsoft can provide a lot more resources to keep Github performant (at least 80% of the time.)
3
u/SatisfactionMuted103 Jun 20 '26
Why are you anywhere other than on your own self-hosted server?
3
u/jalt1 Jun 21 '26
Oh my sweet summer child, have you seen who are the major contributors of Linux?
5
u/wick3dr0se Jun 19 '26
GitHub is where the people are. Why would I move to a platform where I lose most of the community? I have a codeberg but I don't like that I have to ask most to make an account just to interact with it. People have already been on GH and it works well. I'm not mega corp fan but people hate so much on Microsoft I get tired of seeing it. Google and Meta are just as bad, if not worse imo
2
u/hopefuldonkeykick Jun 19 '26
I agree with you, but installed userbase is a fucking hell of a drug and behavioral inertia, as well.
I do want to say thanks for posting this on Lemmy, too.
2
u/billdietrich1 Jun 19 '26
So are Canonical, Red Hat, SUSE, System76.
2
u/whatThePleb Jun 19 '26
It's mostly just mirrors.
2
u/Consistent_Berry9504 Jun 20 '26
Is this an ad?
2
u/Lotte_V Garuda Mokka 🦅 | Mint Cinnamon 🌿 Jun 23 '26
First of all, I don't think anyone "should" do anything. Freedom of choice is a thing. I program in C# and .NET. But on the other hand, I also am currently in the process of switching to Linux at work (Zorin OS. And yes, as in literally right now, as I'm typing this).
I also use GitHub. My biggest issue isn't that it's owned by Microsoft, but moreso the instable servers. But despite this, GitHub is simply well-known, easy to access, and easy to manage.
I'm by no means a Microsoft fan. Not by a long shot. But I also believe in the best tool for the job. And sometimes, that just so happens to be a tool made by Microsoft. I can't be some sort of software activist all the time in my current position, because it doesn't always suit my needs. Who am I, Richard Stallman? Point is, he can afford to do that, but I can't. And I'm not alone in that regard.
Also, there are more options than Codeberg. There's GitLab, which you can easily self-host since it's FOSS. There's Forgejo, forked from Gitea. Same thing for those two. And there are many, many more. So no, even then we shouldn't "all move to Codeberg".
Did you know Microsoft contributes to the Linux kernel? Welp, I guess Linux is cancelled now. Pack it up, my dudes.
36
u/linuxhiker Jun 19 '26
Inertia.
Github wasn't always an MSFT service and it is the most popular.
4
u/BranchLatter4294 Jun 19 '26
What's wrong with GitHub? Microsoft is a member of the Linux foundation (platinum member providing significant financial support) and a significant contributor to the Linux kernel (as well as having their own distro).
11
u/Soft-Assistance6809 Jun 19 '26
I have ~50 repos.. I moved em all to Codeberg months ago. MS wanting to inject copilot everywhere is annoying.
9
u/OwenJenkinsDesign Jun 19 '26
Microsoft acquired rights to GitHub in 2018. That means the first two decades of programming evolution on GitHub happened long before it became a Microsoft platform.
Plenty of people use GitLab and Gitea as well.
16
u/tomscharbach Jun 19 '26 edited Jun 19 '26
Microsoft is a major contributor to TLF, is a major contributor of code to the kernel and to other Linux projects such as Chromium and cooperates with Canonical to maintain and improve WSL.
Almost all kernel code is contributed by for-profit companies at this point, and that has been the case for years. Without for for-profit businesses taking the lead years ago, Linux would still be an academic curiosity.
The days of "two geniuses in a garage" are long since over, and if (and so long as) GitHub remains a good fit for Linux developers/maintainers, no harm no foul.
12
u/PurepointDog Jun 19 '26
GitHub CI is way better. If you need cross-platform builds, it's tough to beat
2
u/JayGridley Jun 19 '26
Are you aware that Microsoft is one of the largest contributors to open source?
5
u/pm_me_triangles Jun 19 '26
Inertia. Those projects were on GitHub well before Microsoft bought it.
Not really easy to move projects to a new platform without breaking things (think of all the companies that already use GitHub and contribute to open source), so they're staying there.
1
u/Astronaut6735 Jun 19 '26
What are a few of the bigger Linux projects on Github that you think ought to switch? They might be having that conversation, or maybe it can be proposed.
1
u/BulliedAtMicrosoft Jun 19 '26
So, when did you join Microsoft, and why are you astroturfing for them?
1
u/Dolphin-Pussy-2754 Jun 20 '26
If you want a true answer, it's because nobody knows that Codeberg exists. Never heard of it until right this second.
1
u/ChintusTheGreat Jun 20 '26
Trusted publishing is a big issue for me. If I want to publish to npm, PyPI, or crates, I am forced to either GitHub or GitLab for now. I was looking at CircleCI, but it seems native Codeberg support is lacking there as of now.
1
u/alkazar82 Jun 21 '26
I always thank Microsoft for paying to host my Linux projects!
1
u/barriolinux Jun 23 '26
Do you know Microsoft bought GitHub just some years ago.
3
u/Kitchen_Coach_4870 Jun 19 '26
Plenty of Distro and DEs uses GitLab instances.
1
u/sptzmancer Jun 19 '26
I host on both.
You can add a single remote on git that points to multiple urls at once. In my repos I have a codeberg remote, a github remote and an all remote.
git push allpushes to both at once.1
u/ZuriPL Jun 19 '26
It's the same reason why we are on Reddit, and not a free alternative, right now
2
u/NuncioBitis Jun 19 '26
I just saw CodeBerg for the first time today. Is it a good system? Do a lot of people use it yet?
I deleted all my projects off GH when I found out M$ was buying it. Guarantee M$ is taking people's FOSS projects and selling it inside their own applications.
2
u/hadrabap Jun 19 '26
I'm working for a company which migrated from on-premise Atlassian solution to SlopHub.
We've been all looking forward the change. But AI hype hit with all the consequences. Now, the SlopHub is slower than BitBucket, Actions are more down than up...
It was a mistake.
I'm happy that I personally don't rely on these "services".
2
u/srivasta Jun 19 '26
For me it is inertia. I do plan on exploring codeberg, and possibly migrate my repositories, but it send just busy work. I do plan on using codeberg for any new repositories.
2
u/FryBoyter Jun 19 '26
Why? What bad things have happened since then? Even if Microsoft were to delete a repository, the code wouldn't be lost, since Git is a distributed version control system, meaning the latest code is always available on the developer's computer. You can also back up issues and pull requests. There are even repositories on GitHub that provide scripts for this purpose.
And if Microsoft really wants to use a project's code, it doesn't matter where it's hosted. The effort involved in “git clone gitgub.com” is comparable to that of “git clone codeberg.org.”
If you don't want your code to be used by certain companies, such as Microsoft, you simply shouldn't publish it. Which doesn't really make sense when it comes to OSS.
It's also worth noting that Microsoft generates most of its revenue from Azure these days. Most of the instances there run Linux. It would therefore be foolish for Microsoft to take action against Linux or OSS.
These days, I host almost all my code on Codeberg. However, Codeberg also has its drawbacks.
The likelihood of finding someone on Codeberg to help with a given project is significantly lower than on GitHub, simply because GitHub has far more users.
In addition, Codeberg is often less accessible than GitHub. Just recently, I was unable to access my repositories for some time because codeberg.org was down. Personally, I don’t mind, since these are private, unknown projects. But for well-known projects, this can be a problem.
When using Codeberg, it's important to keep in mind that the platform isn't operated by a large company, as is the case with GitHub. Instead, it's run by a so-called “eingetragener Verein” in Germany with limited resources.
2
u/Infamous-Yogurt3169 Jun 19 '26
I use GitLab at work and Forgejo at home. All self hosted. And I don't need to worry about Github going down constantly like it does.
2
u/SoundSwitch Jun 19 '26
They're also trying to weasel their way into the enterprise stack.
2
u/frankster Jun 19 '26
Yes. For now, Microsoft haven't fucked with it too much. There isn't much of a push factor. As soon as they start pushing services or locking you into micrislop.there will be movement away.
For the time being, it's way better than source forge and ms are probably very cautious about following that playbook.
Given how technical.github is, it surprises me that it doesn't support ipv6, dnssec nor sshfp records.
2
u/paulwillyjean Jun 20 '26
Lots of GitHub repos are just mirrors. They’re often just there so malicious actors don’t try to pass malware as the real deal
2
u/Tzctredd Jun 21 '26
Inertia.
It will bite people eventually. Microsoft eventually does.
2
u/es20490446e Develops Zenned OS Jun 22 '26
I use Gitlab.
Because Microsoft can't be trusted.
2
u/Valetudinous Jun 23 '26
Yes, it would be better if FOSS projects moved to FOSS hosts. Also see:
https://sfconservancy.org/GiveUpGitHub/
https://www.fsf.org/news/gnu-releases-ethical-evaluations-of-code-hosting-services
1
u/serverhorror Jun 19 '26
There are still projects on source forge, how long do you think it takes to move?
Apart from that there's not a lot of whys that are a reason to move if GitHub works technically (iow: git hosting).
1
u/Weary-Bowl-3739 Jun 19 '26
It's good enough and not bad enough yet. I git jumped around and returned to GitLab, where Github was still a strong contender.
1
u/CaptainPoset Jun 19 '26
GitHub was popular before Microsoft bought it. Switching with your entire project is a hassle which often has little benefit.
1
u/Lunix420 Jun 19 '26
Personally, I’m on GitHub because my projects are cross-platform and GitHub is the only platforms that allows me to run my CI/CD for free. And the CI/CD saves me endless amounts of work I would otherwise have to spend with compilation, code signing, notarising and testing. Switching to codeberg would mean for every release I now need to do a day or two of work instead of pressing 1 button.
1
u/Doug2825 Jun 19 '26
Short answer: it's easier
Long answer: GH being for profit doesn't matter much. Linux is about free as in freedom, not free as in beer (see RHEL as an example). It is about control. Since all projects in GitHub are stored as git repositories, and can be interacted with entirely through git which is an open standard moving to codeberg would be a lot of effort for no benefit.
1
u/Tireseas Jun 19 '26
Up and jumping to a new infrastructure is a massive pain in the ass and frankly not worth the time for a lot of projects.
1
u/Leviathan_Dev Jun 19 '26
GitHub is still the defacto git hosting platform, despite being owned by Microsoft for a decade now and its increasing downtimes.
I personally migrated to Forgejo and self-host, but GitHub is where everyone’s at still. And AFAIK Forgejo & Codeberg still don’t have federated abilities.
1
u/dobo99x2 Jun 19 '26
Why is everyone still using YouTube?
1
u/heartSagan5 Jun 19 '26
I might store new repos on CodeBerg to get it off of CoPilot's learning.
1
u/bargu Jun 19 '26
Inertia, lots of projects were there before MS bought it and migrating somewhere else is extra effort.
1
u/yrro Jun 19 '26
I need to call it 'Microsoft GitHub' more often. And move my stuff elsewhere.
1
u/Jaanrett Jun 19 '26
What, we want tribal repos now?
1
u/Surgic25 Jun 20 '26
Yes get them off.
1
u/pnlrogue1 Jun 20 '26
GitHub wasn't a Microsoft-owned product until fairly recently so a lot of things got started there back before even GitLab was A Thing. Hard to move projects after they've been created so unless there's a really compelling reason then why go through the enormous effort of changing all your references, all links on every website, and all your automation for automated tests and builds?
1
u/Simple_Hamster_4096 Jun 20 '26
Migrating anything, regardless the nature, is usually a time suck (and/or expensive) pain.
Unless something bad happens (like AUR incident with Arch), then people aren't particularly motivated and so status quo...
1
u/jyrox Jun 20 '26
Not every Linux developer is developing out of idealogical opposition to Microsoft. Plenty of Linux development is done because people have needs that Windows doesn’t fulfill. That is all.
1
u/Danrobi1 Jun 20 '26
Because github action i guess
1
u/vextryyn Jun 20 '26
Linus made github and was built with open source in mind and already functioned as a part of linux before it was sold to microsoft
1
u/zestywoman22 Jul 20 '26
“Why is the sky blue”
1
u/DJDoubleDave Jun 19 '26
This kind of knee-jerk "Microsoft bad" reaction is unhelpful to overly simplistic. Microsoft is a major contributor to Linux, among many other things. GitHub continues to be an immensely powerful tool supporting th open source community.
0
u/mfro001 Jun 19 '26
Git is smart software. If github closed tomorrow without notice, one single checked out copy is enough to move the source tree elsewhere. Contrary to many other source code control systems, git uses the exact same format in every (server, client, backup, ....) instance.
So the source code itself would be no problem, while it might be difficult to enable github's automation functionality without their software elsewhere (wouldn't be harmful, just an inconvenience).
If you hate big tech, wouldn't it be best to use their free offerings as much as you can to cause maximum financial damage?
0
u/yowifebreeder9000 Jun 19 '26
Open source is open source, changing the platform it hosted on doesn't mean much.
0
u/Icy-Appointment-684 Jun 19 '26
Github was there before microsoft bought it. It reached a critical mass that it's almost impossible to avoid it.
Beside, let's host our FOSS on github and let microsoft pay for it ;-)
0
u/Nerrawnam Jun 20 '26
No they should not. Choice. Linux.
37
u/[deleted] Jun 19 '26
[removed] — view removed comment
59
u/[deleted] Jun 19 '26
[removed] — view removed comment
1
u/[deleted] Jun 19 '26
[removed] — view removed comment