logoalt Hacker News

Migrating the main Zig repository from GitHub to Codeberg

839 pointsby todsacerdotitoday at 1:49 AM770 commentsview on HN

Comments

pikdumtoday at 6:35 AM

I'm not a fan of GitHub Actions either, but is there actually anything better nowadays? I've just come to accept it as the best of bad options.

show 3 replies
booleandilemmatoday at 6:50 AM

I'm very happy with this and hope it's part of a larger trend to move software away from Big Co. I'll have to move my projects off GitHub too, so I'm not a hypocrite :)

antireztoday at 8:52 AM

Wow. I think that's a serious mistake. Maybe GitHub is no longer so great and snappy but nowhere to justify moving something that needs: 1. Money, 2. Exposition, to something obscure just because it's a bit better. It's Git with an UI anyway, there isn't such large difference. I don't care about the fact the post is harsh: it's the content that it is broken from my POV because. It is absolutely legit to do something like that, in theory, but when you are handling a project that - at this point - is also the chosen language of a non trivial amount of folks, you need to act not just following what you like, but what is better for the project in the long time, and it is very hard to see how going away from GitHub (the fucking big market of open source software in the main city plaza -- let's use the same post tones) is better for Zig. What I think it is better is, of course, not absolutely better, but let's zoom on this issue root cause. It is the classical developer intolerance for tool that are not "as they wish/think", which is very common among technical people, but is a POV, I mean this "tool oriented" workflow, where this little feature/customization matters so much in your life (instead of adapting a bit and do not care), that I believe is a problem in our industry, and also has effects on the design philosophy of many programmers, that are too details oriented. Coders spend the majority of their life in the terminal, not on in GitHub. To check issues / PR there is not this Stranger Things Upside Down nightmare.

Another problem with that is that you know what you are leaving, but you don't really know what you find in the new place. GitHub used to go down often in the early days. Now they may not be snappy and unfortunately like 99% of the web felt for this Javascript framework craziness. But the site is always up, I bet has disaster recovery and serious backup policy, and so forth. Can you find this so obviously in other smaller places?

show 1 reply
mythztoday at 5:19 AM

I for one am thankful for GitHub Actions, having free access to stateless automation and deployment scripts that's versioned along with code, running on Servers I don't have to manage has been a gift.

I don't miss anything from the dark days of managing self-hosted CI servers.

nullbyte808today at 5:17 PM

Your making Zig look like a joke. Im gonna go back to C.

chekibrekitoday at 4:17 PM

Another software project feels it’s necessary to dive into divisive politics when it should just make good software. It’s sad, really. Now what I think of when I hear „Zig“ is a community of self-important, immature and delusional people instead of thinking about the undeniable advantages of the Zig language.

mason_mplstoday at 2:47 AM

Hopefully more projects can follow! Codeberg has a far more secure foundation to avoid unethical practices on users.

DeathArrowtoday at 5:24 AM

I tend to avoid projects that take tech decisions based on activism. It never signals a quality product.

GalaxyNovatoday at 2:51 AM

Also take a look at sourcehut for those interested in an alternative

JimmaDaRustlatoday at 3:39 AM

That was quite the insufferable egotistical virtue signaling nonsense.

Do they actually think the folks who run Github are in charge or making typescript?

megamixtoday at 6:19 AM

You own the code, you decide where you want to host it. If anyone knows, I'm looking for copyrighted code to deploy my own cloned service to make some money, DM.

show 1 reply
countWSStoday at 4:38 AM

Its sad to see people silently supporting Github monopoly. Any migration out of github should be encouraged. Decentalized, open-source systems should always be preferred over corporate walled gardens. Trusting Microsoft never ends well. The amount of infrastructure/projects/etc that stop with github malfunctions and have no fallback or operating mirror git is astounding. Github is eventually going to be enshittified and abandoned, so its fairly wise to spread projects into multiple(not just codeberg) synced mirrors where any server failing doesn't stop progress.

Ohkaytoday at 3:27 AM

Codeberg has a yearly fee via euro payment method or manual wire transfer. Membership requires manual approval.

Edit: you can register without membership.

show 1 reply
WhereIsTheTruthtoday at 6:55 AM

Good, rejecting reliance on Microsoft's centralized platform means less vulnerability to their evil policy/practices (AI, users/country bans, privacy, vendor-locking)

https://news.ycombinator.com/item?id=45679837

dchesttoday at 10:53 AM

I sent a pull request to an open source project and GitHub added Copilot to review it, saying I invited it to review, embarrassing me. It then spit out some nonsense. Turns out this is controlled by a switch somewhere, which was enabled.

I like Copilot in VSCode, but this is BS.

Handy-Mantoday at 2:55 AM

> remaining losers > created by monkeys

That just shows what kind of person they are, and makes me never want to use Zig, even hope for its failure.

do_not_redeemtoday at 2:51 AM

Congratulations on the move!

> Thank you to the Forgejo contributors who helped us with our issues switching to the platform, as well as the Codeberg folks who worked with us on the migration

I'd love to see a writeup about these problems/solutions at some point.

show 1 reply
jsxyzbtoday at 2:30 AM

Nice work

fpausertoday at 7:51 AM

Consequent move.

usrbinenvtoday at 8:23 AM

I thought those of you who said he was being offensive were more or less justified in saying it here. Then I read the post. Literally nothing offensive. Calling someone a code-monkey has been around for as long as I can remember. If throughout your career you haven't questioned yourself "am I a code monkey?" at least once you're either incredibly smart or incredibly stupid.

I can't agree with him more that Github went to absolute shit and I can feel React crap emanating from it without even looking at the code. There's everything in the world wrong with React and I would easily call anyone advocating it a code-monkey in their face. It's not about JavaScript itself - it's about the framework ideas, which are absolute trash. If anyone's offended by a code-monkey, I feel like maybe they should be.

sylwaretoday at 10:05 AM

Very good move, codeberg is noscript/basic (x)html friendly, which microsoft github is no more. Unfortunately, zig is in bad shape since microsoft rust is pushed hard everywhere in spite of zig.

coolgoosetoday at 7:44 AM

I am by no means an Ai fanboy, but not using translation tools feels odd?

show 1 reply
tinyhousetoday at 4:06 AM

Well, integrations are also important. Currently everything works first with Github (Codex, Claude Code, Linear, etc. etc.) so it's just easier. There's also Gitlab for people who don't like Github. Personally for what I do, Github does its job well, and the free private repos are great.

johnfntoday at 3:47 AM

> it’s abundantly clear that the talented folks who used to work on the product have moved on to bigger and better things, with the remaining losers eager to inflict some kind of bloated, buggy JavaScript framework on us in the name of progress.

> More importantly, Actions is created by monkeys

This writing really does not reflect well on Zig. If you have technical issues with Github, fine: cite them. But leave ad hominems like "losers" and "monkeys" out of it.

show 44 replies
globalnodetoday at 7:43 AM

yeah dunno why anyone would willingly use a msoft product if there was a viable alternative (i say from my windows machine doh, its for games, really!)

show 1 reply
rvztoday at 2:25 AM

> Effective immediately, I have made ziglang/zig on GitHub read-only, and the canonical origin/master branch of the main Zig project repository is https://codeberg.org/ziglang/zig.git.

If there is one benefit in moving from GitHub it is certainly avoiding receiving AI slop issues on GitHub.

Github was on the decline anyway in the past 5 years, it's time for an alternative and we'll see. Would rather it being Codeberg over something like Sourcehut.

show 2 replies
akagusutoday at 11:39 AM

This is one more reason to use Zig.

ttiuranitoday at 7:14 AM

Looking at these comments, it's painfully apparent how many think that being polite in your communication is more important than actually doing something.

I agree it would have been nicer if the message was more polite. But if you compare that to having the backbone follow through with meaningful long-term changes against a corporation you don't trust or respect, there shouldn't even be a discussion.

And don't even get me started with the people who come in here just to point out that Codeberg isn't perfect either.

show 9 replies
zenlottoday at 7:36 AM

Despite what majority are defending here, I love how Zig phrased out their blog. We're not in fake enterprise, where HR is guiding your language, calling you family and then fire you whenever convenient to them.

This language by Andrew is natural, real and should be valued more than anything else. Thank you, it's a refresher and it reminds me an old internet, where everyone been really free to write what and how they wanted it to be.

Who are you after all to judge how he writes his opinions?

Happy hacking, Andrew!

fijiaaronetoday at 2:02 AM

[flagged]

show 2 replies
metaPushkintoday at 9:00 AM

[flagged]

brosparstoday at 8:03 AM

[flagged]

show 1 reply
zeiastratoday at 7:06 AM

sounds about right to me. fuck github. if github can do whatever they want in the name of progress then surely they'd survive being called a monkey. anything with microsoft's name on it was designed by a drug-addled albatross.

instead of crying about zig's coc they should work on that abomination of a framework.

bpbp-mangotoday at 8:08 AM

what's wrong with ICE

BrouteMinoutoday at 2:21 AM

Biting the hand that fed you. I hope he's going to donate some of the money is getting begging to codeberg in return of their services.

show 1 reply