Asset Publisher

test

test

Blogs

Gerrit Git Operations over HTTPS

Did you know that it is possible to use https with Gerrit Git operations?

If not read on.  Othewise continue being productive solving VLab issues:)

Gerrit allows users to now only use ssh as the protocol for cloning, pushing, and pushing content to Gerrit based git repositories but also to use https.  ssh is easier to use on a daily basis because it doesn't require passwords (other than passphrases if employed), however it does require the user to go in and configure their environment to work with Gerrit (e.g., create keys, alias, and import the keys in Gerrit's web interface).  Using https requires nothing other than to go in and generate your http password (note that your LDAP password is NOT used).

https://vlab.noaa.gov/code-review/#/settings/http-password

To get the syntax used to clone a repository go into the project's overview page and click on the desired protocol.  As an example, the URL for Tracking_Meteogram is:

git clone https://Kenneth.Sperow@vlab.noaa.gov/code-review/Tracking_Meteogram

This can be found at:

https://vlab.noaa.gov/code-review/#/admin/projects/Tracking_Meteogram

Please be aware that all access rules apply to Gerrit independent of the protocol used.

Questions?

Ken

More Blog Entries

More on Liferay's Patching Tool

Team, Here are some more details on how to work with Liferay's patching tool. Patching...

Liferay EE Developer License key

Team, If you are ready to run a local copy of Liferay EE you will need a license file. ...

1 Comments

JS
John Schattel 9 Years Ago
The use of ssh seems a bit more convenient once its set up. Are there any other reasons why a user should prefer to use ssh? Also, if ssh is a bit easier to use, are there any reasons why a user might feel compelled to use HTTPS?
00
Please sign in to reply.