1We've decided to use "gerrit" for our code review system, making it
2easier for all of us to contribute with code and comments. You'll
3find our gerrit server running at:
4
5http://review.couchbase.org/
6
7The first thing you would do would be to "sign up" for an account
8there, before you jump to:
9
10http://review.couchbase.org/#/q/status:open+project:libcouchbase,n,z
11
12With that in place you should probably jump on IRC and join the #libcouchbase
13chatroom to hang out with the rest of us :-)
14
15If you haven't done so already you should download repo from
16http://code.google.com/p/git-repo/downloads/list and put it in your
17path.
18
19All you should need to set up your development environment should be:
20
21    trond@ok ~> mkdir devel
22    trond@ok ~> cd devel
23    trond@ok ~/devel> repo init -u git://github.com/trondn/manifests.git -m libcouchbase.xml
24    trond@ok ~/devel> repo sync
25    trond@ok ~/devel> repo start my-branch-name --all
26    trond@ok ~/devel> cd lcb
27
28When you're done making your changes to libcouchbase (check the
29"hacking" section in README.markdown), commit them to the repository
30by using git commit, and upload them to gerrit with the following
31command:
32
33    trond@ok ~/devel> repo upload
34
35You might experience a problem trying to upload the patches if you've
36selected a different login name review.couchbase.org than your login
37name. Don't worry, all you need to do is to add the following to your
38~/.gitconfig file:
39
40    [review "review.couchbase.org"]
41            username = trond
42
43I normally don't go looking for stuff in gerrit, so you should add at
44least me (trond.norbye@gmail.com) or Sergey Avseyev
45<sergey.avseyev@gmail.com> as a reviewer for your patch (and we'll
46know who else to add and add them for you).
47