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

Difference between revisions of "Stardust/Contributing via Gerrit"

m (New page: Stardust uses Gerrit Code Review for its Git repositories. Please refer to [http://wiki.eclipse.org/Development_Resources/Handling_Git_Contributions#Gerrit Handling Git Contributions via G...)
 
m
Line 18: Line 18:
 
== Cloning a Target Repository ==
 
== Cloning a Target Repository ==
  
TODO
+
* Use '''File / Import... / Projects from Git''' to open the Clone wizard, choose '''URI''' for Repository Source.
 +
* In the following page, enter the repository URI (e.g. ''https://git.eclipse.org/r/p/stardust/org.eclipse.stardust.ide.git''). Feel free to fill in Authentication details. However, just for Cloning a repository no credentials are required.[[Image:contrib-gerrit-clone01.png]]
 +
{{note|Enabling Gerrit has required a new set of repository URIs. For HTTPS as access method, the new URIs are following the schema ''https://git.eclipse.org/r/p/stardust/repository.name.git'', where ''repository.name'' has to be replaced with the actual name (''org.eclipse.stardust.ide'' in the example).}}
 +
* Review

Revision as of 09:56, 26 July 2012

Stardust uses Gerrit Code Review for its Git repositories. Please refer to Handling Git Contributions via Gerrit for a general overview.

Prerequisites

Obtaining/Reviewing Git credentials in Gerrit

Gerrit handles all PUSHes into Stardust repositories. In consequence the credentials used for PUSHing are to be maintained within Gerrit as well.

  • Use your eclipse.org account to log into Gerrit.
    • Logging in for the first time might require some extra confirmation. For this, please review the on screen instructions.
  • Using HTTPS URLs is probably the easiest way of setting up your contributor workspace. This will require a combination of username/password, which can be generated/obtained at Settings/HTTP Password.
Important.png
HTTP sends passwords in plain text. To ensure your password remains a secret only HTTPS should be used.
  • Alterntively SSH keys can be used. This will require to provide one or several public keys at Settings/SSH Public Keys. However, use of SSH is not further explained in this article.

Cloning a Target Repository

  • Use File / Import... / Projects from Git to open the Clone wizard, choose URI for Repository Source.
  • In the following page, enter the repository URI (e.g. https://git.eclipse.org/r/p/stardust/org.eclipse.stardust.ide.git). Feel free to fill in Authentication details. However, just for Cloning a repository no credentials are required.Contrib-gerrit-clone01.png
Note.png
Enabling Gerrit has required a new set of repository URIs. For HTTPS as access method, the new URIs are following the schema https://git.eclipse.org/r/p/stardust/repository.name.git, where repository.name has to be replaced with the actual name (org.eclipse.stardust.ide in the example).
  • Review

Back to the top