]> Cypherpunks repositories - gostls13.git/commit
cmd/go: add Package.StaleReason for debugging with go list
authorRuss Cox <rsc@golang.org>
Mon, 25 Apr 2016 14:51:26 +0000 (10:51 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 27 Apr 2016 01:58:24 +0000 (01:58 +0000)
commit0b5fbf7098b10da284f48de604e7d2860d2cd9d0
tree60cc487909b4d497ec783dbfd78b72a811cb5a3b
parent525ae3f897bf79fd78f3e693bd65056efc8f9109
cmd/go: add Package.StaleReason for debugging with go list

It comes up every few months that we can't understand why
the go command is rebuilding some package.
Add diagnostics so that the go command can explain itself
if asked.

For #2775, #3506, #12074.

Change-Id: I1c73b492589b49886bf31a8f9d05514adbd6ed70
Reviewed-on: https://go-review.googlesource.com/22432
Reviewed-by: Rob Pike <r@golang.org>
src/cmd/go/alldocs.go
src/cmd/go/build.go
src/cmd/go/go_test.go
src/cmd/go/list.go
src/cmd/go/pkg.go
src/cmd/go/test.go