@@ -29,24 +29,34 @@ Contributing
2929
3030 * Sign the [ Google CLA] ( https://cla.developers.google.com/clas ) .
3131 * Make sure your ` user.email ` and ` user.name ` are configured in ` git config ` .
32+ * Install test-only packages:
33+ ` go get -u -t go.chromium.org/luci/client/... `
3234 * Install the [ pcg] ( https://github.com/maruel/pre-commit-go ) git hook:
3335 ` go get -u github.com/maruel/pre-commit-go/cmd/... && pcg `
3436
3537Run the following to setup the code review tool and create your first review:
3638
3739 git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git $HOME/src/depot_tools
3840 export PATH="$PATH:$HOME/src/depot_tools"
39- cd $GOROOT/github.com/luci/gae
40- git new-branch work
41- # or `git checkout -b work origin/master` if you like typing more.
41+ cd $GOROOT/go.chromium.org/luci
42+ git checkout -b work origin/master
4243
4344 # hack hack
44-
45- git commit -a -m "This is awesome\[email protected] " 46- # This will ask for your Google Account credentials.
47- git cl upload -s
48- # Wait for LGTM over email.
49- # Check Commit Queue checkbox in Rietveld codereview site.
50- # See it tested and landed automatically.
45+ git commit -a -m "This is awesome"
46+
47+ # We use Gerrit for code review. Visit
48+ # https://chromium-review.googlesource.com/new-password
49+ # and follow instructions.
50+
51+ git cl upload -s --r-owners
52+ # This will upload your change to Gerrit and pick a random owner (as defined
53+ # in the OWNERS file) for review.
54+ # Wait for approval and submit your code through Commit Queue.
55+ # Commit queue will test your change on multiple platforms and land it
56+ # automatically.
57+
58+ # Once you get a review with comments, you can do additional commits to your
59+ # feature branch, and then upload again to update the review in gerrit.
60+ $ git cl upload
5161
5262Use ` git cl help ` and ` git cl help <cmd> ` for more details.
0 commit comments