Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "SWT/Devel/Gerrit"
(→Identifying dependencies between patches) |
m (→Configure Repository for Gerrit review) |
||
Line 1: | Line 1: | ||
=== Configure Repository for Gerrit review === | === Configure Repository for Gerrit review === | ||
+ | Edit your git config file from the swt repository: | ||
+ | vi .git/config | ||
+ | Then add the review branch: | ||
+ | [remote "review"] | ||
+ | url = ssh://YOUR_GERRIT_USER_NAME@git.eclipse.org:29418/platform/eclipse.platform.swt.git | ||
+ | push = HEAD:refs/for/master | ||
− | + | Substitute YOUR_GERRIT_USER_NAME with your username like 'lufimtsev', not your full email address. | |
− | + | Now you can push patches to review | |
+ | git push review | ||
=== Reviewing Changes === | === Reviewing Changes === |
Revision as of 12:07, 7 August 2015
Configure Repository for Gerrit review
Edit your git config file from the swt repository:
vi .git/config
Then add the review branch:
[remote "review"] url = ssh://YOUR_GERRIT_USER_NAME@git.eclipse.org:29418/platform/eclipse.platform.swt.git push = HEAD:refs/for/master
Substitute YOUR_GERRIT_USER_NAME with your username like 'lufimtsev', not your full email address. Now you can push patches to review
git push review
Reviewing Changes
Identifying dependencies between patches
Sometimes you want to know which patches have to be pushed to master before your patch can be merged (dependencies).
"Related changes" will pop up if there are related changes (e.g your patch depends on another patch, or it's a pre-requisite for another patch).
In older versions of gerrit, there were explicit titles for 'parent' patches and 'child' patches. However now one thing to note is that the related changes are listed the same way a 'git-log' is listed. Meaning all dependencies will appear below the current patch etc... Please see documentation for details: [[1]]