In this chapter, we have learned how to download Gerrit WAR and perform a default installation for a sandbox environment. Gerrit requires Java, Git, and a Posix environment as pre-requisites or can simply be installed by using a native setup.
By using the development_become_any_account
authentication settings we have been able to create the first user, considered by Gerrit as the system administrator. We have also seen how to create a password in order to use Git over HTTP and we took our first steps with Gerrit by creating a new hello-project.
Gerrit provides easy shortcuts in its web-UI to get the clone commands for the projects: we cloned the hello-project and we created our first Git commit for review.
Change-Id is the unique identifier of a code contribution in the Code Review system: for this purpose we have downloaded and installed from Gerrit a useful commit-msg hook in order to generate a Change-Id for our changes.