Clone this repo:

Branches

  1. 66b64b2 Add Gerrit 3.14.4 and set as latest version by Luca Milanesio · 4 weeks ago master
  2. 6d87d74 Add Gerrit 3.13.10 by Luca Milanesio · 4 weeks ago
  3. c99e4a3 Add Gerrit 3.12.11 by Luca Milanesio · 4 weeks ago
  4. a3064cc Add Gerrit 3.14.3 and set as latest release by Luca Milanesio · 6 weeks ago
  5. eb12c5c Add Gerrit 3.13.9 by Luca Milanesio · 6 weeks 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

Testing locally

To test locally, first set the following env variable, export HOMEBREW_NO_INSTALL_FROM_API=1 then run brew install --build-from-source --verbose --debug <gerrit_version>.rb