| commit | b782c74dd7d045d41ae85e6a90680efa61d24cfa | [log] [tgz] |
|---|---|---|
| author | vadimsh <vadimsh@chromium.org> | Mon Jun 19 21:01:23 2017 |
| committer | Commit Bot <commit-bot@chromium.org> | Mon Jun 19 21:01:24 2017 |
| tree | 9f7b5e68c7049c9e16bfb0fa97b50b4522a8811d | |
| parent | 7872856a4eb583a8eb851baa170403eba1c37396 [diff] |
Extend LUCI_CONTEXT["local_auth"] protocol to understand accounts.
The client side of the protocol ("common/auth/internal/luci_ctx") is still
backward compatible with old version of the protocol. This will be removed once
Swarming is updated to provide 'accounts' and 'default_account_id'.
R=iannucci@chromium.org
BUG=730878
Review-Url: https://codereview.chromium.org/2951553002
go get -u github.com/luci/luci-go/client/cmd/... go get -u github.com/luci/luci-go/server/cmd/...
/common/... and /server/..../appengine/..., /client/... and /server/...; for example, the structures used by the server APIs. These are inherently APIs./appengine/....go1 contains the stable code.master constains the latest code.user.email and user.name are configured in git config.go get -u -t github.com/luci/luci-go/client/...go get -u github.com/maruel/pre-commit-go/cmd/... && pcgRun the following to setup the code review tool and create your first review:
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git $HOME/src/depot_tools export PATH="$PATH:$HOME/src/depot_tools" cd $GOROOT/github.com/luci/luci-go git checkout -b work origin/master # hack hack git commit -a -m "This is awesome\nR=joe@example.com" # This will ask for your Google Account credentials. git cl upload -s # Wait for LGTM over email. # Check the commit queue box in codereview website. # Wait for the change to be tested and landed automatically.
Use git cl help and git cl help <cmd> for more details.