Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[xtext-dev] Xtext + Gerrit / Fwd: [Bug 398639] Enable Gerrit for my project

Hi everybody,

Xtext uses Gerrit now to (optionally) pre-test changes before they are released into master. Committers can still directly push into the repo, but may choose to release only a tested changeset.

You may want to watch Xtext at https://git.eclipse.org/r/#/settings/projects
And upload your ssh key to https://git.eclipse.org/r/#/settings/ssh-keys (use 
$ pbcopy < ~/.ssh/id_rsa.pub
to copy your public key into your clipboard).

A short intro can be found here: http://wiki.eclipse.org/Gerrit#Logon

What you should do on the cmd line to Gerritty your local repo if you still want to be able to push directly via git push origin:

git remote add review ssh://<username>@git.eclipse.org:29418/tmf/org.eclipse.xtext.git
git remote set-url --push origin ssh://<username>@git.eclipse.org:29418/tmf/org.eclipse.xtext.git
git config remote.review.push HEAD:refs/for/master
git config remote.origin.push HEAD:refs/heads/master
scp -p -P 29418 <username>@git.eclipse.org:hooks/commit-msg .git/hooks/

The last command will install a commit-hook into your git repo. As soon as you commit something, an identifier is generated that allows to track commits which depend on each other. See the tutorial for details on how to work with dependend change-sets in Gerrit.

Please let us know if you face any problems with the setup.

Happy coding,
Sebastian


Begin forwarded message:

Subject: [Bug 398639] Enable Gerrit for my project
Date: 21. Januar 2013 17:13:52 MEZ

https://bugs.eclipse.org/bugs/show_bug.cgi?id=398639
Product/Component: Community / Git

Eclipse Webmaster <webmaster@xxxxxxxxxxx> changed:

          What    |Removed                     |Added
----------------------------------------------------------------------------
            Status|NEW                         |RESOLVED
        Resolution|---                         |FIXED

--- Comment #1 from Eclipse Webmaster <webmaster@xxxxxxxxxxx> ---
I've enabled Gerrit for tmf/org.eclipse.xtext.git.  You can add it to the list
of projects you watch:

https://git.eclipse.org/r/#/settings/projects

Upload your SSH public keys to Gerrit if you wish to use SSH:
https://git.eclipse.org/r/#/settings/ssh-keys

Your Gerrit-enabled repo URLs:
ssh://userid@xxxxxxxxxxxxxxx:29418/tmf/org.eclipse.xtext.git
https://git.eclipse.org/r/p/tmf/org.eclipse.xtext.git

Gerrit@Eclipse docs:
http://wiki.eclipse.org/Gerrit#Logon

-M.

--
You are receiving this mail because:
You are watching the reporter of the bug.

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


Back to the top