Gerrit

From OMAPpedia

Jump to: navigation, search

Contents

[edit] Setting up your Account with Gerrit:

[~/.ssh]$ ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (/home/tom/.ssh/id_dsa): 
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Your identification has been saved in /home/tom/.ssh/id_dsa.
Your public key has been saved in /home/tom/.ssh/id_dsa.pub.
The key fingerprint is:50:43:77:c6:97:af:61:82:dc:ea:9b:6b:67:d4:1b:61 tom@volcano

[edit] SSH Proxy Setup:

Host review.omapzoom.org
port 29418
proxycommand /corkscrew  80 %h %p
Host review.source.android.com
port 29418
proxycommand /corkscrew  80 %h %p
Note: Write  without 'http://'

[edit] Testing the Connection:

ssh -p 29418 @review.omapzoom.org
gerrit: no shell availableConnection to review.omapzoom.org closed.

you are good to go :)

[edit] Commit Patches

curl http://review.omapzoom.org/tools/hooks/commit-msg > .git/hooks/commit-msg
curl http://review.omapzoom.org/tools/hooks/commit-msg > .git/hooks/applypatch-msg
chmod a+x .git/hooks/commit-msg .git/hooks/applypatch-msg
git add 
git commit -s

OR

git am 

[edit] Pushing changes

git push ssh://@review.omapzoom.org:29418/ HEAD:refs/for/
e.g.
git push ssh://:29418/device/ti/pandaboard HEAD:refs/for/gingerbread

[edit] Adding reviewers

visit review.omapzoom.org

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox