commit | 106c82f2b88c0981539bdb44d2c669dde0a707cf | [log] [tgz] |
---|---|---|
author | Vadim Shtayura <vadimsh@chromium.org> | Wed Dec 18 01:06:01 2024 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Dec 18 01:06:01 2024 |
tree | 17ee8a9d3ef68b67e1ce7c24e8357aa08beff662 | |
parent | 608dca852a45b4ddce3e5c9d37f3f44d3f6a32fd [diff] |
[swarming] Add botsrv.NoSessionJSON handler kind. Unlike botsrv.JSON, this handler doesn't check the session token or bot authorization. It will be used for /handshake and /bot/poll handlers that know how to deal with missing or expired session token. This also splits up botsrv.JSON into a bunch of smaller functions to allow reusing them in botsrv.NoSessionJSON. R=chanli@chromium.org BUG=b/355013282 Change-Id: I161f21b8a9fcddaa542b3f28647a9db564eac7dc Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/6101652 Reviewed-by: Chan Li <chanli@chromium.org> Commit-Queue: Vadim Shtayura <vadimsh@chromium.org>
LUCI Go code is meant to be worked on from an Chromium infra.git checkout, which enforces packages versions and Go toolchain version. First get fetch via depot_tools.git then run:
fetch infra cd infra/go eval `./env.py` cd src/go.chromium.org/luci
It is now possible to directly install tools with go install:
go install go.chromium.org/luci/auth/client/cmd/...@latest go install go.chromium.org/luci/buildbucket/cmd/...@latest go install go.chromium.org/luci/cipd/client/cmd/...@latest go install go.chromium.org/luci/client/cmd/...@latest go install go.chromium.org/luci/cv/cmd/...@latest go install go.chromium.org/luci/gce/cmd/...@latest go install go.chromium.org/luci/grpc/cmd/...@latest go install go.chromium.org/luci/logdog/client/cmd/...@latest go install go.chromium.org/luci/luci_notify/cmd/...@latest go install go.chromium.org/luci/lucicfg/cmd/...@latest go install go.chromium.org/luci/luciexe/legacy/cmd/...@latest go install go.chromium.org/luci/mailer/cmd/...@latest go install go.chromium.org/luci/mmutex/cmd/...@latest go install go.chromium.org/luci/resultdb/cmd/...@latest go install go.chromium.org/luci/server/cmd/...@latest go install go.chromium.org/luci/swarming/cmd/...@latest go install go.chromium.org/luci/tokenserver/cmd/...@latest go install go.chromium.org/luci/tools/cmd/...@latest
Contributing uses the same flow as Chromium contributions.