{"action":"closed","issue":{"url":"https://api.github.com/repos/kardianos/govendor/issues/199","repository_url":"https://api.github.com/repos/kardianos/govendor","labels_url":"https://api.github.com/repos/kardianos/govendor/issues/199/labels{/name}","comments_url":"https://api.github.com/repos/kardianos/govendor/issues/199/comments","events_url":"https://api.github.com/repos/kardianos/govendor/issues/199/events","html_url":"https://github.com/kardianos/govendor/issues/199","id":169576594,"number":199,"title":"govendor didn't follow symlink","user":{"login":"nplanel","id":334425,"avatar_url":"https://avatars.githubusercontent.com/u/334425?v=3","gravatar_id":"","url":"https://api.github.com/users/nplanel","html_url":"https://github.com/nplanel","followers_url":"https://api.github.com/users/nplanel/followers","following_url":"https://api.github.com/users/nplanel/following{/other_user}","gists_url":"https://api.github.com/users/nplanel/gists{/gist_id}","starred_url":"https://api.github.com/users/nplanel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nplanel/subscriptions","organizations_url":"https://api.github.com/users/nplanel/orgs","repos_url":"https://api.github.com/users/nplanel/repos","events_url":"https://api.github.com/users/nplanel/events{/privacy}","received_events_url":"https://api.github.com/users/nplanel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-05T10:17:40Z","updated_at":"2016-08-15T16:02:01Z","closed_at":"2016-08-15T16:02:01Z","body":"Currently govendor didn't follow symlink :  patch #197\r\nNow when you are deploying some script (from the CI for example) do the checkout somewhere on your home for example, for many other reason it's more simple to symlink the source (checkout by the CI) to point to $GOPATH/src/$repo\r\n\r\n- What's the happen in the symlink configuration\r\n\r\n  - go list ./... give you the list of subpackages\r\n  - godep works as well\r\n  - With govendor, govendor return nothing, not even an error, as he didn't follow symlink, even if your current directory is the repo.himself.\r\n\r\n- The long way/story with a repo (devstack) using our repo (skydive) :\r\n\r\nFor example, in our repo we have a devstack script that is running by devstack repository (devstack.org)\r\nWhen you running devstack, it will clone the repository for you github.com/skydive-project/skydive in \"/opt/skydive\" and launch the script in our repo \"devstack/plugin.sh\"\r\n\r\nThere are multiple step, but check the function \"install_skydive\" in this script.\r\nAs we don't want to copy the source code, we doing a symlink to the $GOPATH/src/github/skydive-project/skydive \r\n\r\n**Note** : make sure your are on the commit id 9e9e8296ba7d4c1783b830ba5ee25377b1c3fdcc)\r\ngit clone github.com/skydive-project/skydive ; cd .../skydive\r\ngit checkout 9e9e8296ba7d4c1783b830ba5ee25377b1c3fdcc\r\n\r\n\r\nBefore using govendor, we used GoDeps and this symlink trick was working fine with all go tools.\r\n\r\n- The simple way to reproduce the issue\r\n\r\ngo get github.com/skydive-project/skydive\r\ncd $GOPATH/src/github.com/skydive-project\r\nmv skydive skydive.real ; ln -s $PWD/skydive.real skydive\r\ncd skydive\r\ngovendor list +local  (or any other govendor command)\r\n\r\n"}}
{"actor":{"display_login":"kardianos"}}