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

Henshin/Committer Instructions

< Henshin
Revision as of 04:19, 19 September 2016 by Strueber.mathematik.uni-marburg.de (Talk | contribs) (Created page)

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

Henshin uses Gerrit for handling code reviewing and merging. This implies specific processes when setting up the development environment and pushing changes.

Set-up

This is what you need to do for the setup:

  1. If you don't have one yet, generate a SSH RSA key pair: do ssh-keygen -t rsa in the git shell.
  2. Register your public key at https://git.eclipse.org/r/#/settings/ssh-keys
  3. Make sure your git's local committer e-mail address matches the one registered at https://git.eclipse.org/r/#/settings/contact
    • To view the local e-mail address, do git config user.email. An empty result means the e-mail address has not been set yet.
    • To change the local e-mail address, do git config --global user.email [your email address here]
    • In the same manner, you can view and change your committer name using the user.name environment variable.
  4. Clone the Henshin repo (in Eclipse) from ssh://committer_id@git.eclipse.org:29418/henshin/org.eclipse.emft.henshin (restarting Eclipse before this step may be required. It is also possible via https, but with a separate HTTP pw)
  5. In the Git perspective, open the Repository: Remotes -> origin -> Gerrit Configuration... -> Finish. Check out the plug-ins you want to work on.

In case of build errors for the plug-in org.eclipse.emf.henshin.cpa, please follow the instructions to reconcile the dependency to AGG.

Pushing changes

After pushing a change, a corresponding entry on Gerrit has been created. Please invite (a subset of) the other committers as reviewers, doing this for all changes.

Back to the top