1
0
mirror of https://github.com/golang/go synced 2024-09-30 18:18:32 -06:00
go/godoc/redirect
Brad Fitzpatrick e77c06808a godoc/redirect: improve Rietveld CL heuristic
Go's CL numbers as assigned by Gerrit have started to collide with the
lower numbers in the sparse set of CL numbers as returned by our old
code review system (Rietveld).

The old heuristic no longer works now that Gerrit CL numbers have
reached 150000.

Instead, include a map of the low Rietveld CL numbers where we might
overlap and bump the threshold heuristic up.

Updates golang/go#28836

Change-Id: Ice719ab807ce3922b885a800ac873cdbf165a8f7
Reviewed-on: https://go-review.googlesource.com/c/150057
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2018-11-16 19:35:47 +00:00
..
hash.go godoc/redirect: support loading hg->git change map from a file 2014-12-15 06:48:23 +00:00
redirect_test.go godoc/redirect: improve Rietveld CL heuristic 2018-11-16 19:35:47 +00:00
redirect.go godoc/redirect: improve Rietveld CL heuristic 2018-11-16 19:35:47 +00:00
rietveld.go godoc/redirect: improve Rietveld CL heuristic 2018-11-16 19:35:47 +00:00