Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

EMF Compare/Gerrit

< EMF Compare
Revision as of 10:40, 16 January 2013 by Laurent.goubet.obeo.fr (Talk | contribs) (New page: =Configuring the repository= ==Creating a User Account== * You need an Eclipse user account. You already have one if you are an Eclipse commiter or have a [http://bugs.eclipse.org/bugs B...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Configuring the repository

Creating a User Account

  • You need an Eclipse user account. You already have one if you are an Eclipse commiter or have a Bugzilla account. Otherwise, use this form.
  • You should now be able to logon to the Gerrit Web UI (top-right corner of the page) using the email address you registered with your Eclipse (and/or Bugzilla) account and your Eclipse password.

SSH

  • Your username is what is displayed in Gerrit.
  • You need to upload your public SSH key here. Follow the instructions below if you do not know how.

Generating and uploading SSH keys

These instructions can be followed on either linux or windows, use a console (linux) or msysgit (windows). First of all, please follow the guide on Github up to (and excluding) Step 4.

You now have a public SSH key, you need to upload it to gerrit.

First, use the following command :

$ clip < ~/.ssh/id_rsa.pub

This will copy your full SSH key in the clipboard.

Then, in the settings of Gerrit, click "Add Key".

Do not enter anything manually, simply right-click the text field that appears and select "Paste". Click the Add button without changing the pasted text.

Adding a new remote

Using the command line or msysgit, use the following (change any bold text to your own info, remember that your username is displayed here) :

$ cd path/to/repository
$ git config remote.review.url ssh://username@git.eclipse.org:29418/emfcompare/org.eclipse.emf.compare.git
$ git config remote.review.push HEAD:refs/for/master

This will allow you to push review request on the Gerrit of EMF Compare using only :

$ git push review

Back to the top