{"action":"created","issue":{"url":"https://api.github.com/repos/golang/dep/issues/1966","repository_url":"https://api.github.com/repos/golang/dep","labels_url":"https://api.github.com/repos/golang/dep/issues/1966/labels{/name}","comments_url":"https://api.github.com/repos/golang/dep/issues/1966/comments","events_url":"https://api.github.com/repos/golang/dep/issues/1966/events","html_url":"https://github.com/golang/dep/issues/1966","id":345442410,"node_id":"MDU6SXNzdWUzNDU0NDI0MTA=","number":1966,"title":"\"not within a known GOPATH/src\" error after upgrade to 0.5.0 on windows.","user":{"login":"kkkyyy03","id":8416372,"node_id":"MDQ6VXNlcjg0MTYzNzI=","avatar_url":"https://avatars1.githubusercontent.com/u/8416372?v=4","gravatar_id":"","url":"https://api.github.com/users/kkkyyy03","html_url":"https://github.com/kkkyyy03","followers_url":"https://api.github.com/users/kkkyyy03/followers","following_url":"https://api.github.com/users/kkkyyy03/following{/other_user}","gists_url":"https://api.github.com/users/kkkyyy03/gists{/gist_id}","starred_url":"https://api.github.com/users/kkkyyy03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kkkyyy03/subscriptions","organizations_url":"https://api.github.com/users/kkkyyy03/orgs","repos_url":"https://api.github.com/users/kkkyyy03/repos","events_url":"https://api.github.com/users/kkkyyy03/events{/privacy}","received_events_url":"https://api.github.com/users/kkkyyy03/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-28T11:46:19Z","updated_at":"2018-07-30T21:18:01Z","closed_at":null,"author_association":"NONE","body":"<!--\r\n\r\nThanks for filing an issue! If this is a question or feature request, just delete\r\neverything here and write out the request, providing as much context as you can.\r\n\r\n-->\r\n\r\n### What version of `dep` are you using (`dep version`)?\r\n<!--\r\n  If you installed `dep` via `go get`, report the version instead with\r\n  `cd $GOPATH/src/github.com/golang/dep && git describe --tags`\r\n-->\r\n\r\n```\r\ndep:\r\n version     : v0.5.0\r\n build date  : 2018-07-26\r\n git hash    : 224a564\r\n go version  : go1.10.3\r\n go compiler : gc\r\n platform    : windows/amd64\r\n features    : ImportDuringSolve=false\r\n```\r\n\r\n### What `dep` command did you run?\r\n\r\n`dep init` in powershell. (Windows 10 Pro Build 17134)\r\n\r\n<!--\r\n\r\nPaste the output of the commands you ran in here, making sure to pass -v for maximum context.\r\n\r\n-->\r\n\r\n### What did you expect to see?\r\n\r\ninitialized successfully like version 0.4.1.\r\n\r\n### What did you see instead?\r\n\r\n```\r\nPS D:\\src\\private.neko.icu\\deptest> newdep version\r\ndep:\r\n version     : v0.5.0\r\n build date  : 2018-07-26\r\n git hash    : 224a564\r\n go version  : go1.10.3\r\n go compiler : gc\r\n platform    : windows/amd64\r\n features    : ImportDuringSolve=false\r\nPS D:\\src\\private.neko.icu\\deptest> newdep init\r\ninit failed: unable to detect the containing GOPATH: D:\\src\\private.neko.icu\\deptest is not within a known GOPATH/src\r\nPS D:\\src\\private.neko.icu\\deptest> dep version\r\ndep:\r\n version     : v0.4.1\r\n build date  : 2018-01-24\r\n git hash    : 37d9ea0a\r\n go version  : go1.9.1\r\n go compiler : gc\r\n platform    : windows/amd64\r\nPS D:\\src\\private.neko.icu\\deptest> dep init\r\nPS D:\\src\\private.neko.icu\\deptest> \r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/golang/dep/issues/comments/409013789","html_url":"https://github.com/golang/dep/issues/1966#issuecomment-409013789","issue_url":"https://api.github.com/repos/golang/dep/issues/1966","id":409013789,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTAxMzc4OQ==","user":{"login":"sdboyer","id":21599,"node_id":"MDQ6VXNlcjIxNTk5","avatar_url":"https://avatars0.githubusercontent.com/u/21599?v=4","gravatar_id":"","url":"https://api.github.com/users/sdboyer","html_url":"https://github.com/sdboyer","followers_url":"https://api.github.com/users/sdboyer/followers","following_url":"https://api.github.com/users/sdboyer/following{/other_user}","gists_url":"https://api.github.com/users/sdboyer/gists{/gist_id}","starred_url":"https://api.github.com/users/sdboyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdboyer/subscriptions","organizations_url":"https://api.github.com/users/sdboyer/orgs","repos_url":"https://api.github.com/users/sdboyer/repos","events_url":"https://api.github.com/users/sdboyer/events{/privacy}","received_events_url":"https://api.github.com/users/sdboyer/received_events","type":"User","site_admin":false},"created_at":"2018-07-30T21:18:01Z","updated_at":"2018-07-30T21:18:01Z","author_association":"MEMBER","body":"This has to be the `filepath.Clean()` that we added in #1948  😭 \r\n\r\nWhat is your `GOPATH` set to?\r\n\r\nIf it's possible for you to test on your local setup whether this behavior continues when the changes in #1948 are backed out (you'd have to revert the commits and recompile), that would be super helpful.\r\n\r\nMeanwhile, you can probably use `DEPPROJECTPATH` to force the behavior you want."}}
{"actor":{"display_login":"sdboyer"}}