In our experience, BitBucket had a lot of issues the past year or so, mainly with Pipelines & hooks frequently being down (daily at some point for more than an hour at a time). They recently seem to have solved this issue - but I sometimes still have to wait a minute or 2 before a pipeline is started or merge is completed, quite frustrating. We're considering a switch to GitHub.
Ps. Interesting how a post from 1 hour ago with 4 points has managed to appear on the frontpage. Has HN changed their algorithm?
The pricing has changed recently, grandfathered in organisations have reasonable pricing (relative to GitHub) but the pricing for new organisations is much more expensive than GitHub. You can compare GitLab on features, but if you want to use those features the pricing is not comparable (GitLab's $100/user/m vs. GitHub's $21/user/m).
GitLab ultimate is a Jira competitor, not a GitHub competitor.
GitLab Premium is ($19/month + runners + [optional] self hosting) vs ($21/month + possibly leaking your code/secrets in copilot).
And, in my opinion, GitLab CI has a much better feature set and integration than GitHub's. You have so much opportunity to optimize the performance of your runners just off the bat. It's quite amazing especially for people with larger repos (ex: monorepo companies).
Bitbucket is horribly antiquated (along with all Atlasssian software IMO), why not go to GitLab - it's code management, merges request workflows and discussions are excellent for peer review and the CI/CD is fantastic.
We just switched from GitLab to GitHub because the CI is horrible and they changed the pricing to a very bad option in our case. Without adding features we use we would've had to pay four times the money.
The CI just sucks, it's very flaky and just outright unstable sometimes. The configuration is pure horror. It takes ages to implement simple stuff. In two years I didn't get sonarcloud annotations on our damn pull requests to work. The UI just sucks. I don't know why you want to switch from GitHub to GitLab? We're happy with the switch.
The new CI/CD pipeline editor also improves the getting started experience, shown in a demo workshop in the GitLab 14 community meetup: https://www.youtube.com/watch?v=mSspEk8efHE
Can you elaborate a bit more on the CI configuration problems you are running into? Thanks!
I've never really had any GitLab CI problems worth talking about and the key thing for us is how reliable it is. I've only ever used self hosted - maybe were you using their free / SaaS agents or something?
I don't know if somethings going on, but the last couple of weeks, Bitbucket has been incredibly slow, with pull request merges taking minutes for a tiny (< 14Mb) repo.
Their
This pull request is being merged in the background. This typically only takes a few seconds but may take longer. You can safely navigate away.
banner is now completely familiar to our dev team. I've seen the merge sometimes randomly fail (refreshing that screen causes the "Merge" button to reappear and the pull request state showing as "Open".
Why would you ever willingly choose bitbucket over Gitlab?
Does Bitbucket offer syntax highlighting when reviewing code changes yet? When we used it (before migrating to Gitlab) you had to install a third party browser extension.
Atlassian has a separate tool chain, FishEye and Crucible, for code reviews. It's a separate product with a separate license and very few people seem to use it, but the Atlassian suite is meant to be a suite, as in many separate tools for specific purposes, instead of Gitlab's approach of having everything built into the core product. Atlassian's actual code review tooling is just as good as Gitlab's and really better because you can use it across arbitrary repo sources and don't actually need your code to be in Bitbucket or in a single repo or a single server at all.
You're just not using it if you only use Bitbucket.
For what it's worth, we use the Visual Studio Code extension for reviewing pull requests ; it comes with syntax highlighting and it's more performant than a web-based interface.
Ethical concerns aside*, I far preferred Github to BitBucket. Bitbucket has been incredibly unstable for the last few years that I've been using it at work. I regularly see the "We're experiencing issues..." banner when I review pull requests. We don't use bitbucket pipelines, but they seem to be the most unstable part of the product. I haven't used Gitlab in years so I can't give any up-to-date commentary on that as a solution. I've never had issues with Githbub and I quite like their UI so that will be my preference for the foreseeable future.
Huh. Been using it for the last 5 years with pipelines over the last year and had no issues. The pipelines do require weird strategies for big scala compiles though.
All of the enterprise US Intelligence Community developer platforms I worked on used the Atlassian suite. And, so far, all of the DoD ones I've been working on have used Gitlab.
Selling to military, spy agencies, and law enforcement is not in any way unique to Microsoft and GitHub.
There isn't anything GitHub or/and Bitbucket specific to this. That's just the procedure to copy (clone/push) a repo from one Git server to another. What about issues, PRs, actions, wiki, ...? GitHub isn't only used to host the code alone.
Right. At a previous place we migrated from Github to Gitlab, but we have to keep the GH repo for the merge request, approvals and paper trial. This for PCI and SOC2 auditing.
Someone didn't understand compliance. To have painted yourself into that tight of a corner is just bad policy. I've been involved in half a dozen SOC2 programs and can't imagine how I'd actually be able to create that problem.
That's interesting. Was Github Enterprise too expensive or was there another reason you didn't use it? What advantage did partially moving to Gitlab bring? This question is coming from a genuine place of curiosity, in case that's not coming across via text.
Migrating from github: Sure, lots of reasons why you might want to do that. Just being sure you can has value.
Migrating to Bitbucket: Uh....
I don't really see any way in which Bitbucket is better than Github. Or, frankly, any other alternative. It exists due to inertia and/or to serve people irrevocably emeshed in the Atlassian ecosystem. I can understand why you might not have switched away yet, but switching to it?
It usually better to migrate git repositories with git clone --mirror than attempting to not forget refs with ad-hoc commands. For simple repositories their methods will probably work anyway, but it is still harder to do.
My company has moved from gitlab to bit bucket. It feels like a huge step backwards. It's good to hear that I'm not alone in such impressions. I was afraid it was just me disliking change.
The killer feature of Bitbucket over GitHub was that they hosted Mercurial repositories. Since they stopped doing that and deleted all my Mercurial repos I haven’t seen any reason to use them.
In my experience the offerings of GitLab are far better