Clone this repo:

Branches

  1. 3bed03c Add latest Gerrit formula by Daniele Sassoli · 9 weeks ago master
  2. 07d5d77 Add support for Gerrit 3.11.1 by Luca Milanesio · 4 weeks ago
  3. b73f63f Add support for Gerrit 3.9.9 by Luca Milanesio · 4 weeks ago
  4. 86b280a Add support for Gerrit 3.10.4 by Daniele Sassoli · 2 months ago
  5. bce926f Modularize creation of formula by Daniele Sassoli · 2 months ago

Homebrew tap for Gerrit Code Review

To install Gerrit with Homebrew

  1. Install the GerritCodeReview/gerrit tap
    brew tap GerritCodeReview/gerrit
    
  2. Discover the Gerrit versions available
    brew search gerrit
    
  3. Install the Gerrit desired version
    brew install gerrit@3.11.0
    

Gerrit data location

Gerrit data is stored in the Homebrew's var location, /usr/local/var/gerrit.

Starting/stopping Gerrit Code Review

Start Gerrit as usual with the gerrit.sh and start argument:

/usr/local/var/gerrit/bin/gerrit.sh start

Stop Gerrit passing the stop argument:

/usr/local/var/gerrit/bin/gerrit.sh stop