Get desktop application:
View/edit binary Protocol Buffers messages
HasAncestor reports whether one commit contains another commit in its git history.
full git commit hash (subject of query)
full git commit hash of sought ancestor
has_ancestor is whether ancestor appears in commit's history.
unknown_commit is true if the provided commit was unknown.
GetRef returns information about a git ref.
"HEAD", "refs/heads/master", etc.
Either gerrit_server & gerrit_project must be specified, or github. Currently only Gerrit is supported.
"go.googlesource.com"
"go"
git commit, or empty string on miss
GoFindTryWork finds trybot work for the coordinator to build & test.
for_staging says whether this is a trybot request for the staging cluster. When using staging, the comment "Run-StagingTryBot" is used instead of label:Run-TryBot=1.
waiting are the Gerrit CLs wanting a trybot run and not yet with results. These might already be running.
ListGoReleases lists Go releases sorted by version with latest first. A release is considered to exist for each git tag named "goX", "goX.Y", or "goX.Y.Z", as long as it has a corresponding "release-branch.goX" or "release-branch.goX.Y" release branch. ListGoReleases returns only the latest patch versions of releases which are considered supported per policy. For example, Go 1.12.6 and 1.11.11. The response is guaranteed to have two versions, otherwise an error is returned.
(message has no fields)
GetDashboard returns the information for the build.golang.org dashboard. It does not (at least currently) contain any pass/fail information; it only contains information on the branches and commits themselves.
page is the zero-based page number. TODO: deprecate, replace with time or commit continuation token.
repo is which repo to show ("go", "golang.org/x/net", "" means go).
branch specifies which branch to show ("master", "release-branch.go1.13"). Empty means "master". The special branch value "mixed" means to blend together all branches by commit time.
max_commits specifies the number of commits that are desired. Zero means to use a default.
commits are the commits to display, starting with the newest.
commits_truncated is whether the returned commits were truncated.
repo_heads contains the current head commit (of their master branch) for every repo on Go's Gerrit server.
releases is the same content is ListGoReleasesResponse, but with the addition of a "master" release first, containing the info for the "master" branch, which is just commits[0] if page 0. But if page != 0, the master head wouldn't be available otherwise, so we denormalize it a bit here: It's sorted from newest to oldest (master, release-branch.go1.latest, release-branch.go1.prior) Only the branch_name and branch_commit fields are guaranteed to be populated.
Used in:
,commit is the git commit hash ("26957168c4c0cdcc7ca4f0b19d0eb19474d224ac").
author_name is the git author name part ("Foo Bar").
"Foo Bar"
author_email is the git author email part ("foo@bar.com").
"foo@bar.com"
commit_time_sec is the timestamp of git commit time, in unix seconds.
title is the git commit's first line ("runtime: fix all the bugs").
branch is the branch this commit was queried from ("master", "release-branch.go1.14")/ This is normally redundant but is useful when DashboardRequest.branch == "mixed".
For non-go repos, go_commit_at_time is what the Go master commit was at the time of DashCommit.commit_time.
For non-go repos, go_commit_latest is the most recent Go master commit that's older than the following x/foo commit's commit_time. If DashCommit is the current HEAD, go_commit_at_time can continue to update. go_commit_at_time might be the same as go_commit_at_time.
Used in:
gerrit_project is Gerrit project name ("net", "go").
commit is the current top-level commit in that project. (currently always on the master branch)
Used in:
"go", "net", etc. (Gerrit Project)
"master", "release-branch.go1.8", etc.
"I1a27695838409259d1586a0adfa9f92bccf7ceba"
"ecf3dffc81dc21408fb02159af352651882a8383"
go_commit is set for subrepos and is the Go commit(s) to test against. go_branch is a branch name of go_commit, for showing to users when a try set fails.
"4833e920c1d7f6b23458e6ff3c73951fcf754219"
"master", "release-branch.go1.8", etc.
go_version specifies the major and minor version of the targeted Go toolchain. For Go repo, it contains exactly one element. For subrepos, it contains elements that correspond to go_commit.
try_message is the list of TRY=xxxx messages associated with Run-TryBot votes. It's sorted from oldest to newest.
which Gerrit revision number commit is
"foo@bar.com"
Used in:
,"go1.11.1", etc.
"26957168c4c0cdcc7ca4f0b19d0eb19474d224ac"
Release branch information for this major-minor version pair.
"release-branch.go1.11", etc.
most recent commit on the release branch, e.g., "edb6c16b9b62ed8586d2e3e422911d646095b7e5"
Used in:
Used in:
just the part after "TRY=" until end of line, without \n
Gerrit-internal ID
revision number comment was for