{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/12064","labels_url":"https://api.github.com/repos/golang/go/issues/12064/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/12064/comments","events_url":"https://api.github.com/repos/golang/go/issues/12064/events","html_url":"https://github.com/golang/go/issues/12064","id":99567923,"number":12064,"title":"cmd/dist: test -list subcommand rebuilds stdlib","user":{"login":"davecheney","id":7171,"avatar_url":"https://avatars.githubusercontent.com/u/7171?v=3","gravatar_id":"","url":"https://api.github.com/users/davecheney","html_url":"https://github.com/davecheney","followers_url":"https://api.github.com/users/davecheney/followers","following_url":"https://api.github.com/users/davecheney/following{/other_user}","gists_url":"https://api.github.com/users/davecheney/gists{/gist_id}","starred_url":"https://api.github.com/users/davecheney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davecheney/subscriptions","organizations_url":"https://api.github.com/users/davecheney/orgs","repos_url":"https://api.github.com/users/davecheney/repos","events_url":"https://api.github.com/users/davecheney/events{/privacy}","received_events_url":"https://api.github.com/users/davecheney/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/24","html_url":"https://github.com/golang/go/milestones/Go1.6","labels_url":"https://api.github.com/repos/golang/go/milestones/24/labels","id":1096159,"number":24,"title":"Go1.6","description":"","creator":{"login":"josharian","id":67496,"avatar_url":"https://avatars.githubusercontent.com/u/67496?v=3","gravatar_id":"","url":"https://api.github.com/users/josharian","html_url":"https://github.com/josharian","followers_url":"https://api.github.com/users/josharian/followers","following_url":"https://api.github.com/users/josharian/following{/other_user}","gists_url":"https://api.github.com/users/josharian/gists{/gist_id}","starred_url":"https://api.github.com/users/josharian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josharian/subscriptions","organizations_url":"https://api.github.com/users/josharian/orgs","repos_url":"https://api.github.com/users/josharian/repos","events_url":"https://api.github.com/users/josharian/events{/privacy}","received_events_url":"https://api.github.com/users/josharian/received_events","type":"User","site_admin":false},"open_issues":283,"closed_issues":25,"state":"open","created_at":"2015-05-05T02:39:06Z","updated_at":"2015-08-07T03:08:08Z","due_on":"2016-01-31T08:00:00Z","closed_at":null},"comments":1,"created_at":"2015-08-07T03:08:08Z","updated_at":"2015-08-07T07:01:19Z","closed_at":null,"body":"`go tool dist test -list` rebuilds the standard library\r\n```\r\npi@raspberrypi ~/go/src $ go tool dist test -list \r\n\r\n##### Building packages and commands.\r\nruntime\r\n^C\r\n```\r\n-list won't run any tests, so it shouldn't kick of an expensive rebuild."},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/128617626","html_url":"https://github.com/golang/go/issues/12064#issuecomment-128617626","issue_url":"https://api.github.com/repos/golang/go/issues/12064","id":128617626,"user":{"login":"bradfitz","id":2621,"avatar_url":"https://avatars.githubusercontent.com/u/2621?v=3","gravatar_id":"","url":"https://api.github.com/users/bradfitz","html_url":"https://github.com/bradfitz","followers_url":"https://api.github.com/users/bradfitz/followers","following_url":"https://api.github.com/users/bradfitz/following{/other_user}","gists_url":"https://api.github.com/users/bradfitz/gists{/gist_id}","starred_url":"https://api.github.com/users/bradfitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradfitz/subscriptions","organizations_url":"https://api.github.com/users/bradfitz/orgs","repos_url":"https://api.github.com/users/bradfitz/repos","events_url":"https://api.github.com/users/bradfitz/events{/privacy}","received_events_url":"https://api.github.com/users/bradfitz/received_events","type":"User","site_admin":false},"created_at":"2015-08-07T07:01:19Z","updated_at":"2015-08-07T07:01:19Z","body":"Perhaps. This isn't really a user-visible tool. It's just used by the test infrastructure in the build coordinator.\r\n\r\nThis is easy enough to fix but a) it would preclude listing or omitting any tests that are only known about after a build (none currently, but I'd like to omit stdlib packages from the list if they didn't have test files or test files with the right +build tags), and b) once we do this, then people will file bugs about `go tool dist test <testname>` also rebuilding probably.\r\n\r\nI'd kinda prefer to do nothing.\r\n"}}