Skip to content

Instantly share code, notes, and snippets.

@bsima
Created August 15, 2024 19:46
Show Gist options
  • Save bsima/50df8511079a987a50d3f2f93decb249 to your computer and use it in GitHub Desktop.
Save bsima/50df8511079a987a50d3f2f93decb249 to your computer and use it in GitHub Desktop.

notes on gerrit and gitlab

  • Here are some scripts to integrate Gitlab CI with Gerrit: mobimentum/gitlab-ci-gerrit. They are php, so will need to be rewritten in Python or something, but it’s a nice starting point.
  • There is a ridiculous alternative called gerritlab, which just recreates the patch-driven workflow in GitLab. It’s interesting but let’s not use this.
  • Here is a nice explainer of gerrit: Gerrit Code Review, section “3. Installation” describes how to replicate a Gitlab repo.
  • Maybe I can use the replication plugin to bridge the gap to GitLab?
  • Integrate Gerrit with Gitlab, this makes it seem like it’s easy using the replication plugin.
  • !! Gitlab has experimental support for stacked diffs, maybe this is good enough?

As a way of historical precedent, MediaWiki was switching from Gerrit to GitLab, but they decided to keep Gerrit because GitLab doesn’t have the all features they need.

Some alternatives to gerrit:

Research on Google’s critique:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment