<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go-x-review, branch v1.9.0</title>
<subtitle>Fork of golang.org/x/review with my patches.</subtitle>
<id>http://git.kilabit.info/go-x-review/atom?h=v1.9.0</id>
<link rel='self' href='http://git.kilabit.info/go-x-review/atom?h=v1.9.0'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go-x-review/'/>
<updated>2024-01-25T17:04:12Z</updated>
<entry>
<title>git-codereview: remove usage of io/ioutil</title>
<updated>2024-01-25T17:04:12Z</updated>
<author>
<name>Joshua Sing</name>
<email>joshua@hypera.dev</email>
</author>
<published>2023-11-19T03:29:24Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go-x-review/commit/?id=0e3f2836ef3e230ced34f5550aa937610e076531'/>
<id>urn:sha1:0e3f2836ef3e230ced34f5550aa937610e076531</id>
<content type='text'>
io/ioutil is now deprecated. Use non-deprecated equivalents.

Change-Id: Iad1cc9c14dbdad3a6f9ada25072bc194bace4081
Reviewed-on: https://go-review.googlesource.com/c/review/+/543615
Reviewed-by: qiulaidongfeng &lt;2645477756@qq.com&gt;
Auto-Submit: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
</content>
</entry>
<entry>
<title>git-codereview: make hooks command report conflicting hooks</title>
<updated>2023-10-18T12:53:42Z</updated>
<author>
<name>siddharth ravikumar</name>
<email>s@ricketyspace.net</email>
</author>
<published>2023-09-12T02:34:15Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go-x-review/commit/?id=8be3abfe097ddf04b28eec2783249d29b3a48dae'/>
<id>urn:sha1:8be3abfe097ddf04b28eec2783249d29b3a48dae</id>
<content type='text'>
Display warning message when a hook is already installed and is
different from the one installed by git-codereview.

Improves upon CL 184417.

Fixes golang/go#16777

Change-Id: I7579a3e86572e8b74f92317973e7cc7094b3942d
Reviewed-on: https://go-review.googlesource.com/c/review/+/377034
Auto-Submit: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Than McIntosh &lt;thanm@google.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
</content>
</entry>
<entry>
<title>all: update go directive to 1.18</title>
<updated>2023-10-11T14:05:16Z</updated>
<author>
<name>Dmitri Shuralyov</name>
<email>dmitshur@golang.org</email>
</author>
<published>2023-10-10T23:19:10Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go-x-review/commit/?id=406355a4df8af4b140e43c56c0c4c9869471edca'/>
<id>urn:sha1:406355a4df8af4b140e43c56c0c4c9869471edca</id>
<content type='text'>
Done with:

go get go@1.18
go mod tidy
go fix ./...

Using go1.21.3.

While here, use testing.T.Helper directly and delete go19_test.go.

For golang/go#60268.

Change-Id: I924bb6d107180a04d1f879003b169c7f792d8dd4
Reviewed-on: https://go-review.googlesource.com/c/review/+/534198
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
Auto-Submit: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
</content>
</entry>
<entry>
<title>git-codereview: use strings.Cut</title>
<updated>2023-10-02T13:50:15Z</updated>
<author>
<name>Dmitri Shuralyov</name>
<email>dmitshur@golang.org</email>
</author>
<published>2023-10-01T18:25:52Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go-x-review/commit/?id=f951e778cd57702302a4e97251e4fc67a98fd3ec'/>
<id>urn:sha1:f951e778cd57702302a4e97251e4fc67a98fd3ec</id>
<content type='text'>
Basic cut functionality is available in the standard library as of
Go 1.18, so today's supported Go versions (1.21 &amp; 1.20) can use it.

Also simplify some slice and map code while here.

Change-Id: Ie887fc2dad542cd9a830974cf9c8373baa81ad8b
Reviewed-on: https://go-review.googlesource.com/c/review/+/531955
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Carlos Amedee &lt;carlos@golang.org&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
Auto-Submit: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
</content>
</entry>
<entry>
<title>git-codereview: change default -trybot flag to use LUCI</title>
<updated>2023-08-28T20:59:30Z</updated>
<author>
<name>Dmitri Shuralyov</name>
<email>dmitshur@golang.org</email>
</author>
<published>2023-08-25T19:31:43Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go-x-review/commit/?id=dbef367af75863876323ec31693d7cd0d65d5f9e'/>
<id>urn:sha1:dbef367af75863876323ec31693d7cd0d65d5f9e</id>
<content type='text'>
For when it's time.

Change-Id: Ife6df8eed0a02d9a47ffca141be083aaf3b09d28
Reviewed-on: https://go-review.googlesource.com/c/review/+/523115
Auto-Submit: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
Reviewed-by: Heschi Kreinick &lt;heschi@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
</content>
</entry>
<entry>
<title>git-codereview: add GIT_CODEREVIEW_TRYBOT env var to control CI system</title>
<updated>2023-08-25T20:23:13Z</updated>
<author>
<name>Dmitri Shuralyov</name>
<email>dmitshur@golang.org</email>
</author>
<published>2023-08-25T19:34:18Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go-x-review/commit/?id=a7f03fb75ac9ca173ff7d2d453bc09f3fb975220'/>
<id>urn:sha1:a7f03fb75ac9ca173ff7d2d453bc09f3fb975220</id>
<content type='text'>
The mail command has a -trybot flag, useful to start TryBots on the CL
being mailed. The new LUCI trybots are almost ready, and we'll soon be
asking contributors to consider them the new default. Prepare for that
by adding a temporary GIT_CODEREVIEW_TRYBOT environment variable which
will make it possible to override the CI system invoked by the -trybot
flag.

This CL keeps the default as the old CI system (farmer.golang.org),
and the next CL switches it to the new one (ci.chromium.org/p/golang).

The environment variable will eventually be removed once it has no use.

Change-Id: Ia20bb0cad1fee387b2d94a8438e8a3be3ec87e6b
Reviewed-on: https://go-review.googlesource.com/c/review/+/523095
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
Run-TryBot: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Auto-Submit: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Heschi Kreinick &lt;heschi@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>git-codereview: fix comment</title>
<updated>2023-08-16T01:59:36Z</updated>
<author>
<name>cui fliter</name>
<email>imcusg@gmail.com</email>
</author>
<published>2023-08-15T02:49:30Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go-x-review/commit/?id=fbc0ad724bc7391431d6b4c69eec7d842a604850'/>
<id>urn:sha1:fbc0ad724bc7391431d6b4c69eec7d842a604850</id>
<content type='text'>
Change-Id: I265d394872a05441ccbf73388e9ff1b625435343
Reviewed-on: https://go-review.googlesource.com/c/review/+/518638
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
Run-TryBot: Ian Lance Taylor &lt;iant@google.com&gt;
Auto-Submit: Ian Lance Taylor &lt;iant@google.com&gt;
</content>
</entry>
<entry>
<title>git-codereview: allow _content to not warn</title>
<updated>2023-07-27T22:19:34Z</updated>
<author>
<name>Sean Liao</name>
<email>sean@liao.dev</email>
</author>
<published>2023-07-27T18:24:36Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go-x-review/commit/?id=1ade026284a47e90ec5d88ab48f869725092b4cb'/>
<id>urn:sha1:1ade026284a47e90ec5d88ab48f869725092b4cb</id>
<content type='text'>
Fixes golang/go#45734

Change-Id: I20ebc9fb728c5e91a3d71d3a6290ccf27ceb14cf
Reviewed-on: https://go-review.googlesource.com/c/review/+/496775
Run-TryBot: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Auto-Submit: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Reviewed-by: Heschi Kreinick &lt;heschi@google.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
</content>
</entry>
<entry>
<title>git-codereview: fix TestReword on Windows</title>
<updated>2023-06-26T16:37:10Z</updated>
<author>
<name>Dmitri Shuralyov</name>
<email>dmitshur@golang.org</email>
</author>
<published>2023-06-24T01:17:00Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go-x-review/commit/?id=99fd4b8dbe8c97a1cc916aec11206eb063213b43'/>
<id>urn:sha1:99fd4b8dbe8c97a1cc916aec11206eb063213b43</id>
<content type='text'>
It wasn't caught by x/build's Windows builders because
they don't have git and skip these tests. But LUCI ones
do have git, and caught this.

For golang/go#46693.

Change-Id: I50f3b69909344f4657e5c737e3b434a2538e4939
Reviewed-on: https://go-review.googlesource.com/c/review/+/505895
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Run-TryBot: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Auto-Submit: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Reviewed-by: Heschi Kreinick &lt;heschi@google.com&gt;
</content>
</entry>
<entry>
<title>git-codereview: fix mail lookup for dmitshur short name</title>
<updated>2023-06-22T19:53:14Z</updated>
<author>
<name>Dmitri Shuralyov</name>
<email>dmitshur@golang.org</email>
</author>
<published>2023-05-10T12:53:08Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go-x-review/commit/?id=1ee98ad07b3b077731a919d3cf37e7bfc1741fa3'/>
<id>urn:sha1:1ee98ad07b3b077731a919d3cf37e7bfc1741fa3</id>
<content type='text'>
CL 2111 introduced a simple algorithm for expanding short user names
that works locally and generally doesn't need any extra configuration
to do the right thing. It's been serving for almost a decade.

Unfortunately I'm running into an edge where I see no good option but
to add a special case. Gerrit inserts "Reviewed-by" footers both for
Code-Review +2 and +1 votes without any way to distinguish between them,
and my @google.com account unavoidably gets more hits since I use it for
the go.dev/s/needs-review process, whenever I leave a normal +2, and on
my own CLs.

The simplest fix seems to be to exclude it from short matches and let
the existing algorithm do the rest.

Change-Id: I92da69f1cd87b4c89816547015cffbed3eaaeaf6
Reviewed-on: https://go-review.googlesource.com/c/review/+/494175
Reviewed-by: MKaslann1 &lt;mkaslann1@outlook.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
Reviewed-by: Heschi Kreinick &lt;heschi@google.com&gt;
Run-TryBot: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Auto-Submit: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
</content>
</entry>
</feed>
