commit | 9cc9fd49569cf1dd899bc6b82540bfc08feae636 | [log] [tgz] |
---|---|---|
author | Quinten Yearsley <qyearsley@google.com> | Tue Aug 09 02:23:06 2022 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Aug 09 02:23:06 2022 |
tree | 662d7fc7654980850407d35d5063c006e6c7666a | |
parent | 7e07359cc87bccfef0751dc7ce07c3934cd5f789 [diff] |
cv: Make behavior consistent wrt merge commits, and improve behavior In general, builders are triggered (and location filters are ignored) for CLs which are merge commits. Previously, for location_regexp the build would be triggered if there are 0 files changed total. After this change, CV checks number of parents when determining merge commits, and ignores filters if any CLs are merge commits. With location_filters, we additionally check if host and project would match any files in the merge commit. Bug: 1171945 Change-Id: Ibc32bf9eb3b9cb388d101eed374ecb2591957f66 Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/3783951 Reviewed-by: Yiwei Zhang <yiwzhang@google.com> Auto-Submit: Quinten Yearsley <qyearsley@chromium.org> Commit-Queue: Quinten Yearsley <qyearsley@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.