commit | bba8ccf432d3130e7d8531c7e6dd9a02f8d19eb6 | [log] [tgz] |
---|---|---|
author | Daniele Sassoli <danielesassoli@gmail.com> | Fri Nov 29 16:36:13 2024 +0000 |
committer | Daniele Sassoli <danielesassoli@gmail.com> | Wed May 07 02:58:31 2025 -0700 |
tree | 8b2c46cd39a319b4ee9bf97ff2857246b64242d1 | |
parent | 17954656b57548e82ffbefefebf00d9b38a6ae1f [diff] |
Add local test instructions Change-Id: I57069906ce4f44439969c086ac035d05193ed843
brew tap GerritCodeReview/gerrit
brew search gerrit
brew install gerrit@3.11.0
Gerrit data is stored in the Homebrew's var location, /usr/local/var/gerrit
.
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
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