Difference between revisions of "DEV/Setting up Gerrit"

From fd.io
Jump to: navigation, search
Line 13: Line 13:
 
You will see an screen like:
 
You will see an screen like:
  
[[File:Gerrit - Initial.jpg]]
+
[[File:Gerrit - Initial.jpg|570px]]
  
 
Click 'Login' in the upper right hand corner.
 
Click 'Login' in the upper right hand corner.
Line 19: Line 19:
 
Sign in with your LF username and password:
 
Sign in with your LF username and password:
  
[[File:Gerrit Code Review - Sign In.jpg]]
+
[[File:Gerrit Code Review - Sign In.jpg|570px]]
  
  
Line 25: Line 25:
 
Click on your name in the upper right hand corner:
 
Click on your name in the upper right hand corner:
  
[[File:Gerrit - Open.jpg]]
+
[[File:Gerrit - Open.jpg|570px]]
  
 
Select 'Settings'  
 
Select 'Settings'  
  
[[File:Gerrit - Settings.jpg]]
+
[[File:Gerrit - Settings.jpg|570px]]
  
  
Line 36: Line 36:
 
When the 'Settings' screen comes up select 'SSH Settings' in the left hand nav:
 
When the 'Settings' screen comes up select 'SSH Settings' in the left hand nav:
  
[[File:Gerrit - Settings String.jpg]]
+
[[File:Gerrit - Settings String.jpg|570px]]
  
 
Fill in your ssh public key (there are lots of helpful instructions on this screen for generating a key if you need it, and where to find your public key):
 
Fill in your ssh public key (there are lots of helpful instructions on this screen for generating a key if you need it, and where to find your public key):
  
[[File:Gerrit - Set SSH Key.jpg]]
+
[[File:Gerrit - Set SSH Key.jpg|570px]]
  
 
Once you've filled it out it should look something like this:
 
Once you've filled it out it should look something like this:
  
[[File:Gerrit - SSH key filled in.jpg]]
+
[[File:Gerrit - SSH key filled in.jpg|570px]]
  
 
And once you've submitted it it should look something like this:
 
And once you've submitted it it should look something like this:
  
[[File:Gerrit - SSH key - complete.jpg]]
+
[[File:Gerrit - SSH key - complete.jpg|570px]]

Revision as of 00:29, 24 December 2015

Introducing Gerrit

Gerrit is the code review mechanism. All code pushed is first verified and reviewed before it is merged.

Registering your ssh key with Gerrit

In order to use ssh git urls for interacting with gerrit you will need to register your ssh public key with gerrit.

Log into Gerrit

Go to [1]

You will see an screen like:

Gerrit - Initial.jpg

Click 'Login' in the upper right hand corner.

Sign in with your LF username and password:

Gerrit Code Review - Sign In.jpg


Go to Settings

Click on your name in the upper right hand corner:

Gerrit - Open.jpg

Select 'Settings'

Gerrit - Settings.jpg


Set ssh key

When the 'Settings' screen comes up select 'SSH Settings' in the left hand nav:

Gerrit - Settings String.jpg

Fill in your ssh public key (there are lots of helpful instructions on this screen for generating a key if you need it, and where to find your public key):

Gerrit - Set SSH Key.jpg

Once you've filled it out it should look something like this:

Gerrit - SSH key filled in.jpg

And once you've submitted it it should look something like this:

Gerrit - SSH key - complete.jpg