зеркало из https://github.com/golang/build.git
fc96089fad
This change re-homes the code for perf.golang.org and perfdata.golang.org (available in x/perf/analysis and x/perf/storage respectively) to x/build to avoid any issues with backwards compatibility. We're much more lax about the Go 1 compatibility promise in x/build than in other x/ repos (except maybe x/exp) so we can make bigger changes. Also, we may re-home these services to live closer to the rest of the build infrastructure, so co-locating the code also makes sense. The code was taken from golang.org/x/perf (or go.googlesource.com/perf) at git hash 64dc439b20aef7259bd73a5452063060adb8d898, or CL 392658. In order to make this work, we also copy the internal diff and basedir packages from x/perf. There are a few things these depend on that we have to leave behind. One is x/perf/benchstat, which means we also leave behind x/perf/storage/benchfmt, which it depends on. Both are OK because they have new and shiny replacements that we'd rather use anyway. This change also involved running a bunch of sed commands to update package import paths as well as comments. The full diff is included in the commit for review, but will be removed before landing. For golang/go#48803. Change-Id: Ib15840c15254bc8bfa266bbc82e1df7cf4c252db Reviewed-on: https://go-review.googlesource.com/c/build/+/395175 Reviewed-by: Michael Pratt <mpratt@google.com> Trust: Dmitri Shuralyov <dmitshur@golang.org> Run-TryBot: Michael Knyszek <mknyszek@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> |
||
---|---|---|
.. | ||
basedir.go |