commit | 04a118946d13ad326c44dba9a635116ff7f31c4e | [log] [tgz] |
---|---|---|
author | Garrett Beaty <gbeaty@chromium.org> | Tue Apr 19 15:47:57 2022 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Apr 19 15:47:57 2022 |
tree | 21845177126b0f1a40621f8c9be71f45829e03a0 | |
parent | 8e587a4592d3467fad00a6516cf15f4793d5afec [diff] |
Use the ref for the commit link for commits against tags. Builders that build against the tag commits benefit from having the tag ref displayed instead of a commit hash since the tag identifies what's being built in a more human-recognizable form. Currently, the tag ref will be used only if the output commit does not have an ID set. The common depot tools code always sets the ID when setting the output commit, so for chromium builders building against tags, additional configuration is used to prevent them from setting the output commit. Displaying the tag in that case will allow for chromium builders to unconditionally set the output commit, which will simplify configuration code and queries of builds. Bug: 1174266 Change-Id: I1afdd25e96521ef3cef92a23e9e13e04bbeae16c Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/3591176 Reviewed-by: Weiwei Lin <weiweilin@google.com> Commit-Queue: Garrett Beaty <gbeaty@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
Contributing uses the same flow as Chromium contributions.