| commit | 7e4835b3ee45d01e99c04376b7bcfb741c6960fb | [log] [tgz] |
|---|---|---|
| author | vadimsh <vadimsh@chromium.org> | Wed Jun 21 00:38:05 2017 |
| committer | Commit Bot <commit-bot@chromium.org> | Wed Jun 21 00:38:05 2017 |
| tree | f03ea10120781ccd62a6605f2097f50238fc26d2 | |
| parent | 71aba0a6cd7d6264e0ecdd38afe5b69db8c8556f [diff] |
token-server: Make machine token minter config apply to subdomains. Token server is configured with a list of domains it is allowed to mint machine tokens for. This list used to be matched exactly, e.g a cert with Common Name "machine.sub.example.com" can be exchanged to a machine token only if "sub.example.com" is listed in the config. This change relaxes this rule and allows configured domains to match subdomains too. Also cleanup some stale assumptions in comments and code. R=smut@google.com, iannucci@chromium.org BUG=732467 Review-Url: https://codereview.chromium.org/2952723003
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.