Skip to content

Commit e5d16d0

Browse files
riannucciCommit Bot
authored andcommitted
Add OWNERS and tweak contributing instructions.
[email protected] Change-Id: I619490d6f1e0a1a2b4822c59a63488a47c5bcbce Reviewed-on: https://chromium-review.googlesource.com/899663 Reviewed-by: Andrii Shyshkalov <[email protected]> Commit-Queue: Robbie Iannucci <[email protected]>
1 parent 620cf56 commit e5d16d0

File tree

2 files changed

+23
-10
lines changed

2 files changed

+23
-10
lines changed

OWNERS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
3+

README.md

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -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

3537
Run 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

5262
Use `git cl help` and `git cl help <cmd>` for more details.

0 commit comments

Comments
 (0)