News for hackers. Stuff that matters.
Re:Gitlab is reportedly up for sale by Justsignedup on Tuesday August 13, 2024 @01:15AM (#41232478)
After using gitlab for a year I can boldly claim that it is inferior to github in every feature with subtle things being better in github which add up to a far better experience.

Gitlab tries to do a lot and never did anything that well. It's just perpetually catching up to github.

Re:Gitlab is reportedly up for sale by chipdart on Tuesday August 13, 2024 @01:41AM (#41232606)
> After using gitlab for a year I can boldly claim that it is inferior to github in every feature with subtle things being better in github which add up to a far better experience.

I find this remark baffling by how much it contrasts with reality. Others in this thread already commented on GitHub using terms like "mediocre". I wouldn't go that far but I am indeed aware that GitLab feels it works and is expected to work reliably, specially CICD which, unlike GitHub, they succeeded in turning it into a solved problem.

It's even more baffling reading bold claims like "Gitlab tries to do a lot and never did anything that well" when only a couple of years ago GitHub Actions were renowned for not even being prod-ready,whereas GitHub CICD just works and works well without requiring investing any thought into it at all.

Re:Gitlab is reportedly up for sale by jaredklewis on Tuesday August 13, 2024 @03:47AM (#41233250)
The parent's post aligns with my own experience. I've been using GitLab for 2 years after switching companies and I can't think of anything that is an improvement over GitHub.

I never had any issues GitHub Actions for CI stuff at my previous two companies, both which used it heavily. GitLab CI also works fine, though I struggle to see how anyone could strongly prefer one or the other as my own experience is that they basically work the same. Both basically boil down to some yaml you can use to configure running stuff in docker containers.

Re:Gitlab is reportedly up for sale by pas on Tuesday August 13, 2024 @09:25AM (#41235224)
the rabbit hole goes deep, but both GitLab and GitHub reached parity around that time. (initially GitLab CI simply did a lot more, then GHA kind of took over with the ability to run multiple parallel workflows, and by arguably feeling a bit newer and having better "official" steps ... the GitLab auto-magic CI was ... always completely meh, IMHO.)

but GitLab kept adding the good stuff that Actions introduced, and it can do a lot of things, and with the Omnibus package it's very easy to self-host. (and upgrades are well supported, etc.) ... and of course GitHub self-hosting is only for enterprise editions.

sure, you can setup one GHA Runner on one VM (and each one one a new one), but that's it. nothing else is supported officially.

Re:Gitlab is reportedly up for sale by seba_dos1 on Tuesday August 13, 2024 @11:58AM (#41236675)
The point is that it was GitHub that caught up for some simpler use-cases fairly recently, not the other way around. When I started using GitLab 6 years ago it made GitHub look like a toy where you had to reach for external services like Travis to do anything useful.
Re:Gitlab is reportedly up for sale by jaredklewis on Tuesday August 13, 2024 @02:46PM (#41238304)
Fair enough, but the fact that GitLab was better 6 years ago doesn't do much to help the company right now.

I wasn't using GitLab 6 years ago so I can't comment on that, but I can comment that at least since 2022, I haven't found anything in GitLab that would recommend it over GitHub.

Re:Gitlab is reportedly up for sale by chipdart on Wednesday August 14, 2024 @01:34AM (#41242890)
> Fair enough, but the fact that GitLab was better 6 years ago doesn't do much to help the company right now.

I don't think you got the point.

The whole point is that a couple of years ago GitLab was unquestionably the market leader and hands down the best service.

And since then it didn't got worse.

Best case scenario, alternatives like GitHub managed to put together similar offerings. That does not mean GitHub suddenly was the best. Far from it. Again, others in this thread used the term "mediocre" to describe GitHub, and this happens years after GitHub started to try to catch up.

To me, GitLab's CICD is by far the absolute best CICD system around. It has been like this for maybe a decade now. The container-centric approach to build jobs, a domain model for pipelines that is extremely simple and yet misses no usecase at all, UX that's unparalleled to the point that, unlike other CICD systems, doesn't even require a tutorial to get the basics to work... Things are so far apart that it boggles the mind how anyone who has any experience in CICD would even mention GitHub on the same sentence.

GitLab was the absolute best 6 years ago and, in spite of Microsoft's takeover of GitHub and rushing to bridge the gap, it still is. That's the whole point.

Re:Gitlab is reportedly up for sale by thiht on Tuesday August 13, 2024 @08:35AM (#41234841)
How is CI not a solved problem with GitHub Actions? I used and loved GitLab CI years ago and remember it feeling better to use than GHA (though maybe I’m remembering through rose tainted glasses), but GHA are just working nowadays, and the ecosystem of pre-made Actions is in good shape.
Re:Gitlab is reportedly up for sale by pas on Tuesday August 13, 2024 @09:06AM (#41235083)
nope, GHA is still clunky.

self-hosting GHA Runners (plural!) is ... hard (not impossible, and quite doable with enough investment, especially if one takes the dive into the murky waters of k8s), but it's not officially supported. (what's supported is here's a tarball we support these distros ... have fun.)

programming in YAML is still bad, composability is still an afterthought, etc.

Re:Gitlab is reportedly up for sale by thiht on Tuesday August 13, 2024 @12:44PM (#41237073)
For hosted runners that might be true. The best experience I’ve had with GHA self hosted runners was simply using a beefy VPS. At my current job, the self hosted runners were hosted on K8s using Arc and it was a… very unpleasant experience. We switched back to GH runners (turns out the free minutes + a few bucks a month is enough for our use case), but if we need to go back to self hosted I’ll advocate for a VPS.

> programming in YAML is still bad, composability is still an afterthought, etc.

I disagree on that. GitHub actions are as composable as it gets thanks to the ecosystem of actions. GHA is better than GitLab CI in this regard, and probably the best system I’ve used so far. It IS a bit clunky but overall I’ve been pretty satisfied with it.

I also disagree regarding YAML because you don’t program a CI, it’s mostly declarative work. The only conditions needed are a bit clunky to setup, I give you that, but it encourages to either keep the CI simple (no CI needs overly complex conditions), or move the logic to CI scripts in any scripting language.

Re:Gitlab is reportedly up for sale by suryao on Tuesday August 13, 2024 @01:20PM (#41237387)
Thought I'd plug my product because of the mention of actions-runner-controller on k8s. I wouldn't wish that on my worst enemy :)

It is a terrible experience riddled with many gotchas. I'm making WarpBuild to provide runners (cloud and BYOC on user's aws account) to provide more powerful, faster, and overall much better experience. Try us out - you're guaranteed to save both money and time.

Re:Gitlab is reportedly up for sale by thiht on Tuesday August 13, 2024 @07:19PM (#41240853)
Interesting, bookmarking for later :)
Re:Gitlab is reportedly up for sale by pas on Tuesday August 13, 2024 @07:19PM (#41240854)
it has to be reusable to be composable, ie. it needs some genericness, customization, etc. that usually requires logic, passing args, env vars, etc.

yes, writing programs (ie. an action) is the correct level of abstraction, but in general it just doesn't make much sense to have separate steps. (because for many cases unit testing and building artifacts can/should be done at the same time ... for example python/rust ... inside a container, download deps, build, then run tests, copy result to new layer, push)

Re:Gitlab is reportedly up for sale by crohr on Tuesday August 13, 2024 @04:20PM (#41239364)
> self-hosting GHA Runners (plural!) is ... hard (not impossible, and quite doable with enough investment, especially if one takes the dive into the murky waters of k8s)

I’m the maintainer of RunsOn (https://github.com/runs-on/runs-on), which solves this problem with far less investment

Re:Gitlab is reportedly up for sale by raffraffraff on Tuesday August 13, 2024 @02:32AM (#41232856)
Having used both for about 9 years I would say that's not correct at all.

Github may have beaten Gitlab to the punch with Pages (whoopee) but CI is a far more important feature, and Gitlab CI existed for years before GA, and continued to be a far superior solution for a long time (and maybe it still is?).

Also, because Gitlab targeted enterprises they had a bunch of features that Github did not. Self hosting, Identity and role based access, weighted issues, project milestones and burndown charts, private issues, support for "innersourcing" of internal repositories. The list goes. Unlike Pages, which is useful but can be replaced by any other wiki, things like role based access to projects are really important. When I switched jobs a few years ago and had to use Github, it felt more like a hobbyist's web-based toy version, lacking a lot of "big-boy" features.

The one truly essential feature that separated them "for the 99%" was CI. Once Github introduced that, it shrunk Gitlab's lead.

But Gitlab are by no means playing catchup to to Github.

Re:Gitlab is reportedly up for sale by trueismywork on Tuesday August 13, 2024 @03:53AM (#41233282)
Yes. Gitlab CI is still miles ahead of github.
Re:Gitlab is reportedly up for sale by moltar on Tuesday August 13, 2024 @05:13AM (#41233702)
Wholly agree with you. I’ve been using both professionally for years in parallel and have seen the evolution.

Totally agree on CI being superior. The config syntax is a bit of a pain and is aching for some higher level abstraction. But it’s very powerful, e.g. easily supporting cross project dependencies and build status across project in one neat interface.

I also agree that GitLab was optimized for enterprise and that’s where the major feature disparity is. If you are using it only for small hobby projects you will feel that it’s nothing special. I’ve used a self hosted version at a fortune 100 and it was a huge boon to productivity there over GH EE.

Re:Gitlab is reportedly up for sale by Qerub on Tuesday August 13, 2024 @07:02AM (#41234249)
> aching for some higher level abstraction

CI/CD components (GA since 17.0) improve the situation a notch: https://docs.gitlab.com/ee/ci/components/

Re:Gitlab is reportedly up for sale by trueismywork on Tuesday August 13, 2024 @09:38AM (#41235341)
Also CI/CD steps
Re:Gitlab is reportedly up for sale by Gigachad on Tuesday August 13, 2024 @01:35AM (#41232571)
Pre Microsoft I felt Gitlab was a lot better. It had a lot more features that actually worked. This was an era where Github didn't even have a built in CI solution.

Last time I used it, which was a few years ago now, it felt like Github had caught up and a lot of the Gitlab features were flaky or didn't seem to serve any purpose other than checking a sales tick list. Stuff like integrations that don't seem to really serve any purpose other than to say they are integrated.

Re:Gitlab is reportedly up for sale by chipdart on Tuesday August 13, 2024 @01:50AM (#41232660)
> Stuff like integrations that don't seem to really serve any purpose other than to say they are integrated.

I don't think integrations are the example you think it is. The ones I tried work well and make it trivial to setup features that would otherwise feel like papercuts. I'm talking about things like being able to handle gitlab events without having to manage anything or provide your own event-handling infrastructure. If you have web hooks you need invoke or react to, as anyone who runs full CICD and cares about blocked pipelines does, with GitLab you don't need to worry about exposing custom endpoints and write controllers. For many, that is the difference between using notifications or not.

Re:Gitlab is reportedly up for sale by NewJazz on Tuesday August 13, 2024 @01:36AM (#41232580)
You can't pull a docker image from a private github container registry without a personal access token. Gitlab's group and project level deploy tokens are great.
Re:Gitlab is reportedly up for sale by ffsm8 on Tuesday August 13, 2024 @02:01AM (#41232723)
> It's just perpetually catching up to github.

That's not how I remember it. I agree that GitHub is ultimately the more polished product, which is why I eventually went back with my personal projects to it... But most of these platform features like CI Integrations, project repositories etc started at gitlab, and GitHub effectively copied them later

Re:Gitlab is reportedly up for sale by stavros on Tuesday August 13, 2024 @03:28AM (#41233151)
Many, many years later.
Re:Gitlab is reportedly up for sale by smallerfish on Tuesday August 13, 2024 @01:58AM (#41232706)
Create a hierarchy of branches/PRs: z > y > x. Merge y. Gitlab will automatically retarget z to x; GitHub will orphan z.

I do wish Gitlab would spend some time better organizing their settings menus, but aside from that it seems to be more complete.

Re:Gitlab is reportedly up for sale by viraptor on Tuesday August 13, 2024 @02:38AM (#41232891)
I'm not sure when it changed (sometime this year?) but GH automatically changes the PR base now.
Re:Gitlab is reportedly up for sale by jamie_ca on Tuesday August 13, 2024 @12:56PM (#41237172)
I do stacked PRs for complex changes, and Github has been updating branch bases to support this workflow for at least two years now.
Re:Gitlab is reportedly up for sale by ankitdce on Tuesday August 13, 2024 @02:57PM (#41238413)
There are a few free open source tools available these days to manage the stacked PRs. Eg: https://github.com/aviator-co/av
Re:Gitlab is reportedly up for sale by preisschild on Tuesday August 13, 2024 @01:52AM (#41232668)
Been using both for years, and there are definitely CI and CD features that are very great in Gitlab and even better than some Github features
Re:Gitlab is reportedly up for sale by tracker1 on Tuesday August 13, 2024 @12:51PM (#41237141)
I think the Gitlab experience is slightly better when dealing with collaboration on private repositories with multiple people not necessarily in the same org. Also, Gitlab had free private repo support beyond what Github offered for a long time, so most of my private repos are on Gitlab.