{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/13332","labels_url":"https://api.github.com/repos/golang/go/issues/13332/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/13332/comments","events_url":"https://api.github.com/repos/golang/go/issues/13332/events","html_url":"https://github.com/golang/go/issues/13332","id":117913249,"number":13332,"title":"cmd/go: Make go get -u update existing packages, or add another flag","user":{"login":"zimmski","id":1847950,"avatar_url":"https://avatars.githubusercontent.com/u/1847950?v=3","gravatar_id":"","url":"https://api.github.com/users/zimmski","html_url":"https://github.com/zimmski","followers_url":"https://api.github.com/users/zimmski/followers","following_url":"https://api.github.com/users/zimmski/following{/other_user}","gists_url":"https://api.github.com/users/zimmski/gists{/gist_id}","starred_url":"https://api.github.com/users/zimmski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zimmski/subscriptions","organizations_url":"https://api.github.com/users/zimmski/orgs","repos_url":"https://api.github.com/users/zimmski/repos","events_url":"https://api.github.com/users/zimmski/events{/privacy}","received_events_url":"https://api.github.com/users/zimmski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-19T21:37:41Z","updated_at":"2015-11-19T21:56:20Z","closed_at":null,"body":"There is a constant stream (golang/lint#173, golang/lint#169, golang/lint#168, golang/lint#167, golang/lint#165 this list goes on and on) of user for golint that have outdated packages. This reports make it apparent that the `-u` flag of `go get` is kind of flawed. As the documentation for it states\r\n\r\n> By default, get uses the network to check out missing packages but does not use it to look for updates to existing packages.\r\n\r\nThe wording \"by default\" would suggest that there is another flag which does update existing packages but it seems that this is still missing.\r\n\r\nI am happy to work on this, but would first like to discuss if this should be another flag, and if so, what it name should be."},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/158210318","html_url":"https://github.com/golang/go/issues/13332#issuecomment-158210318","issue_url":"https://api.github.com/repos/golang/go/issues/13332","id":158210318,"user":{"login":"dsymonds","id":31506,"avatar_url":"https://avatars.githubusercontent.com/u/31506?v=3","gravatar_id":"","url":"https://api.github.com/users/dsymonds","html_url":"https://github.com/dsymonds","followers_url":"https://api.github.com/users/dsymonds/followers","following_url":"https://api.github.com/users/dsymonds/following{/other_user}","gists_url":"https://api.github.com/users/dsymonds/gists{/gist_id}","starred_url":"https://api.github.com/users/dsymonds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsymonds/subscriptions","organizations_url":"https://api.github.com/users/dsymonds/orgs","repos_url":"https://api.github.com/users/dsymonds/repos","events_url":"https://api.github.com/users/dsymonds/events{/privacy}","received_events_url":"https://api.github.com/users/dsymonds/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T21:56:20Z","updated_at":"2015-11-19T21:56:20Z","body":"The golang/lint bugs are often due to the move of x/tools from code.google.com to github. There is, of course, a general class of problems here to do with the use of vanity import paths, but the specific case of the Go subrepos is a particularly notable instance of that class, and I wonder if it would be worth explicitly checking for them in `go get` even if we don't try to solve the general class."}}