πŸ§‘β€πŸ’» Gerrit

Gerrit is great for managing code development. Manaing code changes, reviews, and extensibility via plugins are places where Gerrit excels.

Gerrit Code Review | Gerrit Code Review

Managing lots of code written by lots of contributors? Check out Gerrit (code)! It's a favorite of big companies like Google and small teams alike – a departure from the traditional GitHub and GitLab experiences.

Gerrit screenshot (source: https://www.gerritcodereview.com/)

Gerrit is minimal software for managing software – and one of it's most loved features is it's code merging interface.

If you need to get your team up to speed on using Gerrit versus other workflows, there are plenty of presentations for you to look through, and a full on tutorial for you to read through.

Running Gerrit

Gerrit has a nice installation guide that's easy to follow, and as it's a Java application it also has a .war files that you can download from the releases and get started with.

While the documentation is quite machine specific, Gerrit does have an official docker image that you can use.

Here's a very quick demo installation you can run:

docker run -ti -p 8080:8080 -p 29418:29418 gerritcodereview/gerrit:3.3.0

Once you're done kicking the tires and want to get started using Gerrit for real work, add some Docker Volumes to save your work long-term:

version: '3'

services:
  gerrit:
    image: gerritcodereview/gerrit
    volumes:
       - git-volume:/var/gerrit/git
       - index-volume:/var/gerrit/index
       - cache-volume:/var/gerrit/cache
    ports:
       - "29418:29418"
       - "8080:8080"

volumes:
  git-volume:
  index-volume:
  cache-volume: