Add Gerrit 3.12.2

Change-Id: I21c9d500eb829ff72707ac14ed06c806137f4c33
1 file changed
tree: 3fe5322fce966b25d15065d0e9786fb63370e738
  1. gerrit.rb
  2. gerrit@3.10.4.rb
  3. gerrit@3.10.5.rb
  4. gerrit@3.10.6.rb
  5. gerrit@3.10.7.rb
  6. gerrit@3.10.8.rb
  7. gerrit@3.11.0.rb
  8. gerrit@3.11.1.rb
  9. gerrit@3.11.2.rb
  10. gerrit@3.11.3.rb
  11. gerrit@3.11.4.rb
  12. gerrit@3.11.5.rb
  13. gerrit@3.12.0.rb
  14. gerrit@3.12.1.rb
  15. gerrit@3.12.2.rb
  16. gerrit@3.9.10.rb
  17. gerrit@3.9.11.rb
  18. gerrit@3.9.9.rb
  19. gerritbase.rb
  20. README.md
README.md

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