{"action":"created","issue":{"url":"https://api.github.com/repos/alecthomas/gometalinter/issues/64","labels_url":"https://api.github.com/repos/alecthomas/gometalinter/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/alecthomas/gometalinter/issues/64/comments","events_url":"https://api.github.com/repos/alecthomas/gometalinter/issues/64/events","html_url":"https://github.com/alecthomas/gometalinter/issues/64","id":117247420,"number":64,"title":"gometalinter --install --update Fails On Windows","user":{"login":"joefitzgerald","id":744740,"avatar_url":"https://avatars.githubusercontent.com/u/744740?v=3","gravatar_id":"","url":"https://api.github.com/users/joefitzgerald","html_url":"https://github.com/joefitzgerald","followers_url":"https://api.github.com/users/joefitzgerald/followers","following_url":"https://api.github.com/users/joefitzgerald/following{/other_user}","gists_url":"https://api.github.com/users/joefitzgerald/gists{/gist_id}","starred_url":"https://api.github.com/users/joefitzgerald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joefitzgerald/subscriptions","organizations_url":"https://api.github.com/users/joefitzgerald/orgs","repos_url":"https://api.github.com/users/joefitzgerald/repos","events_url":"https://api.github.com/users/joefitzgerald/events{/privacy}","received_events_url":"https://api.github.com/users/joefitzgerald/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-16T23:56:54Z","updated_at":"2015-11-17T00:33:41Z","closed_at":null,"body":"`gometalinter --install --update` fails on Windows: https://ci.appveyor.com/project/joefitzgerald/gometalinter-linter/build/6\r\n\r\n```\r\ngo get -u github.com/alecthomas/gometalinter\r\ngometalinter --install --update\r\nInstalling:\r\n  varcheck\r\n  gocyclo\r\n  ineffassign\r\n  gometalinter\r\n  golint\r\n  errcheck\r\n  structcheck\r\n  aligncheck\r\n  deadcode\r\n  dupl\r\n  gotype\r\n  goimports\r\n  defercheck\r\n->\r\n  go get -u github.com/opennota/check/cmd/varcheck \\\r\n    github.com/alecthomas/gocyclo \\\r\n    github.com/gordonklaus/ineffassign \\\r\n    github.com/alecthomas/gometalinter \\\r\n    github.com/golang/lint/golint \\\r\n    github.com/kisielk/errcheck \\\r\n    github.com/opennota/check/cmd/structcheck \\\r\n    github.com/opennota/check/cmd/aligncheck \\\r\n    github.com/remyoudompheng/go-misc/deadcode \\\r\n    github.com/mibk/dupl \\\r\n    golang.org/x/tools/cmd/gotype \\\r\n    golang.org/x/tools/cmd/goimports \\\r\n    github.com/opennota/check/cmd/defercheck\r\npackage /: unrecognized import path \"/\"\r\ngometalinter: error: failed to install varcheck\r\n  gocyclo\r\n  ineffassign\r\n  gometalinter\r\n  golint\r\n  errcheck\r\n  structcheck\r\n  aligncheck\r\n  deadcode\r\n  dupl\r\n  gotype\r\n  goimports\r\n  defercheck: exit status 1: exit status 1\r\n```\r\n\r\nOddly, installing each manually works:\r\n\r\n```\r\nc:\\gopath\\bin>go get -u github.com/alecthomas/gometalinter\r\nc:\\gopath\\bin>go get -u github.com/opennota/check/cmd/varcheck\r\nc:\\gopath\\bin>go get -u github.com/opennota/check/cmd/defercheck\r\nc:\\gopath\\bin>go get -u github.com/opennota/check/cmd/structcheck\r\nc:\\gopath\\bin>go get -u github.com/alecthomas/gocyclo\r\nc:\\gopath\\bin>go get -u github.com/gordonklaus/ineffassign\r\nc:\\gopath\\bin>go get -u github.com/golang/lint/golint\r\nc:\\gopath\\bin>go get -u github.com/kisielk/errcheck\r\nc:\\gopath\\bin>go get -u github.com/remyoudompheng/go-misc/deadcode\r\nc:\\gopath\\bin>go get -u github.com/mibk/dupl\r\nc:\\gopath\\bin>go get -u golang.org/x/tools/cmd/gotype\r\nc:\\gopath\\bin>go get -u golang.org/x/tools/cmd/goimports\r\nc:\\gopath\\bin>go get -u github.com/opennota/check/cmd/aligncheck\r\n```\r\n\r\nDoes this look like anything obvious? I'd be happy to help you set up Windows CI (e.g. https://github.com/joefitzgerald/gometalinter-linter/blob/master/appveyor.yml).\r\n\r\nI wonder if it would be more beneficially to get tools individually, rather than as one large list? This would very much aid in determining the failing tool."},"comment":{"url":"https://api.github.com/repos/alecthomas/gometalinter/issues/comments/157220215","html_url":"https://github.com/alecthomas/gometalinter/issues/64#issuecomment-157220215","issue_url":"https://api.github.com/repos/alecthomas/gometalinter/issues/64","id":157220215,"user":{"login":"alecthomas","id":41767,"avatar_url":"https://avatars.githubusercontent.com/u/41767?v=3","gravatar_id":"","url":"https://api.github.com/users/alecthomas","html_url":"https://github.com/alecthomas","followers_url":"https://api.github.com/users/alecthomas/followers","following_url":"https://api.github.com/users/alecthomas/following{/other_user}","gists_url":"https://api.github.com/users/alecthomas/gists{/gist_id}","starred_url":"https://api.github.com/users/alecthomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alecthomas/subscriptions","organizations_url":"https://api.github.com/users/alecthomas/orgs","repos_url":"https://api.github.com/users/alecthomas/repos","events_url":"https://api.github.com/users/alecthomas/events{/privacy}","received_events_url":"https://api.github.com/users/alecthomas/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T00:33:41Z","updated_at":"2015-11-17T00:33:41Z","body":"Have you tried running that full command with all the `\\`s?"}}