Jump to: navigation, search

OpenDaylight Controller:Setting up HTTP in Gerrit

This page is deprecated and we recommend referring to the Gerrit Guide for the most up to date information on using the Gerrit workflow: http://docs.releng.linuxfoundation.org/en/latest/gerrit.html

This content is out-of-date and is considered deprecated. It is unlikely to be updated in the future either. Information here should be taken with that in mind.

If your corporate firewall blocks Gerrit's standard ssh port (29418), you can setup Gerrit so you can use https instead.

Log into Gerrit at https://git.opendaylight.org/gerrit/ This link works best in Firefox or Chrome.

Due to the current locked down state, you must log in to Gerrit to get any useful information, and you can only get the code after you have registered an ssh key.

When you log in you will see a very boring screen (shown below) and need to click SignIn

Gerrit Setup Initial.jpg

Which will prompt you to sign in. Please use the same credentials you have to log in for other OpenDaylight purposes. If you need additional purposes to have accounts, please email helpdesk@opendaylight.org You can see below the login prompt:

Gerrit Setup Signin.jpg

Once signed in you will be able to see existing Gerrit requests, patches that folks have pushed that have not yet been verified, reviewed, and merged into the authoritative repo. HTTP Password.

First, click Settings:

Gerrit Setup Post Signin.jpg

Then select 'HTTP Password'

Select HTTP Password.jpg

And finally click 'Generate Password'

Generate Password.jpg

You can then use that generated password for https using the git command

git clone https://<your_username>@git.opendaylight.org/gerrit/p/controller.git