Live data from Hacker News

Ask HN: Alternatives to GitHub

news.ycombinator.com

291–300 of 468 posts

Re: Ask HN: Alternatives to GitHub

#291
post #288
post #197

Earlier quoted context omitted.

Your first concern is not the reliability of GitHub (lost $$$) or any dark patterns they push, or their security, but the network effect? Source repository should be its own thing. Artifacts repository arguably should be its own thing. PRs, own thing. CI, own thing. The Balkanization has always existed. Lot of stuff that isn't on GitHub.

That's the chief differentiator you're giving up when you give up on github vs a self-hosted forge. And the network effect of the CI pipelines should not be discounted since it means actions published anywhere on GH are automatically available for use without any import or install step. Yes, you could feasibly split off the CI from the git+PR service, but you'd still want it to be federated.

Pipelines are not magic. You want a couple of primitives in there, variable substitution, maybe lite secret management. Depending on the type and languages you work across they could also be 100% unique to each company, language, project, and industry. LLMs have also further made pipeline creation pretty trivial.

If you can use or make a GitHub action you will be just fine in GitLab, CircleCI, Jenkins, or a couple of shell scripts hacked out over pizza and beer on a weekend.

There's no pipeline moat, to put it another way.

Re: Ask HN: Alternatives to GitHub

#292
post #119

Earlier quoted context omitted.

if you use ai to program at all you can't use codeberg.

You've made the same exaggerated claim in two comments. Not only are you not banned from Codeberg if you have used LLMs to help you write code "in any of your projects", but you're not even prohibited from using LLMs to help you develop projects that you host on Codeberg. What you can't do is "share projects that mostly consist of code written by 'generative AI'-tools". https://codeberg.org/Codeberg/org/commit/71149c…

It's not exaggerated. If you use AI at all for any code in the project it cannot be hosted on codeberg. They made that pretty clear in their blog post.

You can read it yourself - https://blog.codeberg.org/protecting-our-floss-commons-from-...

Re: Ask HN: Alternatives to GitHub

#293

I've been a Gitlab fan for a long time[0]. I typically default to GitHub for my repo slop[1], but if I'm doing something serious I put it in Gitlab. I like their CI setup better than GitHub and there's also self-host options if any of those "serious" projects ever needs that. Also back in the day, you needed a paid account to make private repos on GitHub, but Gitlab made them free. Anyway I haven't heard anyone compl…

I've used github for ~12 years, and it was fine for single repos, but it sucked _hard_ for any kind of organisation. It also sucked really hard for CI.

I joined a company that was using hosted gitlab. I really liked it, apart from it had the same uptime as github has now.

Features wise its about the same as github now, apart from organising repos is far simpler. Its not a flat list in an org, you can have sub teams in an org with thier repos neatly owned.

However the security story around them is not great, so I'm not really sure that I'd want to host a public instance of gitlab.

Re: Ask HN: Alternatives to GitHub

#296
post #37

To all of those proposing self-hosted GitLab: we did it for 6+ years in my company, and it's not always a smooth sailing. We had our own runners and we made it auto-upgrade across docker images daily before business start. It mostly worked really well, except those few times were a Docker upgrade had to be rolled back, or that one time the bundled pg_shared_buffers was set at 1MB by default, making schema upgrades im…

I'd also say that gitlab runners are the biggest failure point in gitlab and take some work to micro-manage. If I was setting up from scratch I would consider gitlab for source control, but some hosted service for CI

Really? I've been very happy with how easy GitLab Runners are to manage. We were running 20,000 jobs a week on 6 bare metal boxes and we had tons of spare capacity. Simple Ansible script to deploy the runner and register it. Tags for t-shirt sizes to set the amount of CPU/memory allocated to each job container.

Maybe running on Kubernetes or some autoscaling solution is more painful.

Re: Ask HN: Alternatives to GitHub

#297
post #279

Earlier quoted context omitted.

Don't think open submission feedback is worth much anymore, at least not the amount of effort it requires to curate it. Having friction still seems like a great way to get decent feedback nowadays rather than needing to manually curate 100s of issues where 98% of them are spam/garbage.

That's fine if the projects are in a single place (e.g. GitHub) as you only need to create one account. If every project requires its own username/password just to report a bug, I may do that for the first 2 or 3, but not for every project. I'm also unlikely to create accounts on hosting platforms I don't intend on using outside of reporting the single bug.

[dead]

Re: Ask HN: Alternatives to GitHub

#298
post #119

Earlier quoted context omitted.

You've made the same exaggerated claim in two comments. Not only are you not banned from Codeberg if you have used LLMs to help you write code "in any of your projects", but you're not even prohibited from using LLMs to help you develop projects that you host on Codeberg. What you can't do is "share projects that mostly consist of code written by 'generative AI'-tools". https://codeberg.org/Codeberg/org/commit/71149c…

It's not exaggerated. If you use AI at all for any code in the project it cannot be hosted on codeberg. They made that pretty clear in their blog post. You can read it yourself - https://blog.codeberg.org/protecting-our-floss-commons-from-...

> If you use AI at all for any code in the project it cannot be hosted on codeberg. They made that pretty clear in their blog post.

No, they didn't. That's not what the blog post says.

> You can read it yourself

I didn't fail to do the reading beforehand. I posted a direct link to the change in the TOS and which is currently linked at the top of all Codeberg pages. Can you read it yourself?

Re: Ask HN: Alternatives to GitHub

#299

Earlier quoted context omitted.

> 4. Do you just want to host repositories? an ssh connection and git --bare init on your ssh accessible server works just fine

“Just” is a four letter word and a trap our industry repeatedly falls into. https://sgringwe.com/2019/10/10/Please-just-stop-saying-just

But sometimes it's applied properly! https://github.com/casey/just

Re: Ask HN: Alternatives to GitHub

#300
post #164

Earlier quoted context omitted.

Anything with Tencent on it is a no for me.

Why, would you please share? For me it's usually a green-flag, since it automatically means they optimized for high-scalability first, as their userbase is gargantuous!

Because China is a terrifying country with no real notion of human rights. Basically all Chinese companies (including Tencent) work closely with the government and do what they want under threat of arrest. There’s no way I’m uploading my data to China where their government can get at it whenever they want.
Post reply on HN