{"action":"created","issue":{"url":"https://api.github.com/repos/kardianos/govendor/issues/60","labels_url":"https://api.github.com/repos/kardianos/govendor/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/kardianos/govendor/issues/60/comments","events_url":"https://api.github.com/repos/kardianos/govendor/issues/60/events","html_url":"https://github.com/kardianos/govendor/issues/60","id":116564466,"number":60,"title":"Using GO15VENDOREXPERIMENT with packages which have import re-writing vendored dependencies","user":{"login":"ansel1","id":107825,"avatar_url":"https://avatars.githubusercontent.com/u/107825?v=3","gravatar_id":"","url":"https://api.github.com/users/ansel1","html_url":"https://github.com/ansel1","followers_url":"https://api.github.com/users/ansel1/followers","following_url":"https://api.github.com/users/ansel1/following{/other_user}","gists_url":"https://api.github.com/users/ansel1/gists{/gist_id}","starred_url":"https://api.github.com/users/ansel1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansel1/subscriptions","organizations_url":"https://api.github.com/users/ansel1/orgs","repos_url":"https://api.github.com/users/ansel1/repos","events_url":"https://api.github.com/users/ansel1/events{/privacy}","received_events_url":"https://api.github.com/users/ansel1/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-11-12T14:53:19Z","updated_at":"2015-11-15T06:47:52Z","closed_at":"2015-11-15T06:47:52Z","body":"Try adding govendor itself to a project with GO15VENDOREXPERIMENT set.  Then run `govendor list`.  It will show `github.com/dchest/safefile` as both \"u\" and \"e\".  This is because govendor correctly detected `github.com/dchest/safefile` as a dependency of govendor, and vendored it, but govendor vendors `github.com/dchest/safefile` itself, using import rewriting.  The tool did not rewrite those import statement from `github.com/kardianos/govendor/internal/github.com/dchest/safefile` back to `github.com/dchest/safefile`.\r\n\r\nIn the process of flattening out the vendored transitive dependencies, the primary dependency's sources need to have their import statements rewritten to match the vendoring style current in force."},"comment":{"url":"https://api.github.com/repos/kardianos/govendor/issues/comments/156786452","html_url":"https://github.com/kardianos/govendor/issues/60#issuecomment-156786452","issue_url":"https://api.github.com/repos/kardianos/govendor/issues/60","id":156786452,"user":{"login":"kardianos","id":755121,"avatar_url":"https://avatars.githubusercontent.com/u/755121?v=3","gravatar_id":"","url":"https://api.github.com/users/kardianos","html_url":"https://github.com/kardianos","followers_url":"https://api.github.com/users/kardianos/followers","following_url":"https://api.github.com/users/kardianos/following{/other_user}","gists_url":"https://api.github.com/users/kardianos/gists{/gist_id}","starred_url":"https://api.github.com/users/kardianos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kardianos/subscriptions","organizations_url":"https://api.github.com/users/kardianos/orgs","repos_url":"https://api.github.com/users/kardianos/repos","events_url":"https://api.github.com/users/kardianos/events{/privacy}","received_events_url":"https://api.github.com/users/kardianos/received_events","type":"User","site_admin":false},"created_at":"2015-11-15T06:47:52Z","updated_at":"2015-11-15T06:47:52Z","body":"This should be fixed. But regardless, I don't have the time to support two modes.\r\n\r\ngovendor on the default branch now only supports the vendor folder. A new branch called \"rewrite\" supports import path rewrites.\r\n"}}