commit | 16e25fa176cf00a248d7d3e159987754a4e91935 | [log] [tgz] |
---|---|---|
author | Greg NISBET <gregorynisbet@google.com> | Tue May 06 18:43:23 2025 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 06 18:43:23 2025 |
tree | b63101c67e868e3cf436d7e3ae2ba7d9c60fca94 | |
parent | ceb1c59e4b1285e52eec8d00cba123d46f187b72 [diff] |
[testing] make typed.Diff / typed.Got internal. I, personally, really like typed.Diff and typed.Got as ways of writing tests. (I also wrote the first version of typed, but this is not relevant I swear.) It is however one more way of writing a test in Go, and having more ways of writing tests increases the burden on everyone. We should standardize on FTT, so let's make typed an internal package. I don't think we should *delete* typed just yet though. It genuinely has some good ideas, and I want to take a stab at upstreaming those ideas into https://github.com/google/go-cmp Change-Id: Ie3c4ca30dc594283bd37e8b3c0a7ccb930a4432b Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/6508313 Reviewed-by: Robbie Iannucci <iannucci@google.com> Commit-Queue: Gregory Nisbet <gregorynisbet@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.