build/cmd/gerritbot
Dmitri Shuralyov eaf7e6d63b cmd/gerritbot: omit optional since when no comments
CL 450315 updated gerritbot to a newer GitHub API client package, where
the optional since parameter is specified as a pointer instead of value.
This gives the caller more control over whether the optional parameter
is sent to GitHub. For better or worse, GitHub doesn't like it when we
ask for all comments since January 1, year 1 UTC. So, stop doing that.

Change-Id: I7593e9a7d03d2f3702549c3dd79ce380f07b73cb
Reviewed-on: https://go-review.googlesource.com/c/build/+/451276
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Carlos Amedee <carlos@golang.org>
2022-11-18 18:51:52 +00:00
..
Dockerfile cmd/gerritbot: stop using gitlock, use go modules 2019-05-10 21:09:22 +00:00
Makefile cmd/gerritbot: move to Workload Identity 2021-09-08 20:32:04 +00:00
README.md cmd/coordinator,internal: move metrics to internal 2022-08-10 17:21:21 +00:00
deployment-prod.yaml all: re-disable container native routing 2022-08-12 18:07:47 +00:00
gerritbot.go cmd/gerritbot: omit optional since when no comments 2022-11-18 18:51:52 +00:00
gerritbot_test.go cmd/gerritbot: set Gerrit WIP when GitHub PR is draft 2022-11-15 21:09:12 +00:00

README.md

Go Reference

golang.org/x/build/cmd/gerritbot

The gerritbot binary converts GitHub Pull Requests to Gerrit Changes, updating the PR and Gerrit Change as appropriate.

Deployment

See the documentation on deployment.