commit | 1fa6bfbbc9ecf2e33bfdfeda35f87f6e1bee2d29 | [log] [tgz] |
---|---|---|
author | Vadim Shtayura <vadimsh@chromium.org> | Tue Jan 30 19:19:33 2024 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jan 30 19:19:33 2024 |
tree | 299d6af13af46db26fc6647ad117ff06a88dfbc8 | |
parent | bc05f9af115a2ee8b5d3889c2319531085ccee64 [diff] |
[go] Update all dependencies, plus some maintenance. Make ./bump_go_mod.sh do all the work, which includes updating go dependencies, as well as running a couple of scripts to regenerated stuff that depends on the state in go.mod. Modify bump_go_mod.sh and check_googleapis_in_sync.py to assert all Go modules built from genproto.git repo are at the same revision, since we actually copy protos for all of them only once, from some single revision. Unpin google.golang.org/appengine from being a commit. It is no longer necessary, since they released v1.6.8 with relatively recent code and @latest picks up non-ancient code now. Change-Id: Iee96c0da870b545a3d34334d64d36b431fb4ec7c Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/5238728 Commit-Queue: Vadim Shtayura <vadimsh@chromium.org> Reviewed-by: Randy Maldonado <randymaldonado@google.com>
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.