{"action":"created","issue":{"url":"https://api.github.com/repos/berkshelf/berkshelf/issues/1605","repository_url":"https://api.github.com/repos/berkshelf/berkshelf","labels_url":"https://api.github.com/repos/berkshelf/berkshelf/issues/1605/labels{/name}","comments_url":"https://api.github.com/repos/berkshelf/berkshelf/issues/1605/comments","events_url":"https://api.github.com/repos/berkshelf/berkshelf/issues/1605/events","html_url":"https://github.com/berkshelf/berkshelf/pull/1605","id":176526070,"number":1605,"title":"fix syncing windows user directories on ruby 2.3","user":{"login":"mwrock","id":655165,"avatar_url":"https://avatars.githubusercontent.com/u/655165?v=3","gravatar_id":"","url":"https://api.github.com/users/mwrock","html_url":"https://github.com/mwrock","followers_url":"https://api.github.com/users/mwrock/followers","following_url":"https://api.github.com/users/mwrock/following{/other_user}","gists_url":"https://api.github.com/users/mwrock/gists{/gist_id}","starred_url":"https://api.github.com/users/mwrock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwrock/subscriptions","organizations_url":"https://api.github.com/users/mwrock/orgs","repos_url":"https://api.github.com/users/mwrock/repos","events_url":"https://api.github.com/users/mwrock/events{/privacy}","received_events_url":"https://api.github.com/users/mwrock/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-13T01:31:35Z","updated_at":"2016-09-13T14:21:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/berkshelf/berkshelf/pulls/1605","html_url":"https://github.com/berkshelf/berkshelf/pull/1605","diff_url":"https://github.com/berkshelf/berkshelf/pull/1605.diff","patch_url":"https://github.com/berkshelf/berkshelf/pull/1605.patch"},"body":"I recently installed the latest chef-dk from current and my kitchen converges were not copying any of my cookbooks to the test instance. After digging into this I discovered that the `FileSyncer` was not creating the correct destinationi directories when vendoring the cookbooks because the source directory was:\r\n\r\n```\r\nC:/Users/MATTWR~1/AppData/Local/Temp/vendor20160912-65252-1cu8qps\r\n```\r\n\r\nAnd then after globbing the files in that directory, the child paths were expanded. So when calculating the relative destibation the parent and child source directories did not match which created a very strange destination directory name.\r\n\r\nThis only reproduces on a windows machines with a username greater than four characters."},"comment":{"url":"https://api.github.com/repos/berkshelf/berkshelf/issues/comments/246697331","html_url":"https://github.com/berkshelf/berkshelf/pull/1605#issuecomment-246697331","issue_url":"https://api.github.com/repos/berkshelf/berkshelf/issues/1605","id":246697331,"user":{"login":"thommay","id":8500,"avatar_url":"https://avatars.githubusercontent.com/u/8500?v=3","gravatar_id":"","url":"https://api.github.com/users/thommay","html_url":"https://github.com/thommay","followers_url":"https://api.github.com/users/thommay/followers","following_url":"https://api.github.com/users/thommay/following{/other_user}","gists_url":"https://api.github.com/users/thommay/gists{/gist_id}","starred_url":"https://api.github.com/users/thommay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thommay/subscriptions","organizations_url":"https://api.github.com/users/thommay/orgs","repos_url":"https://api.github.com/users/thommay/repos","events_url":"https://api.github.com/users/thommay/events{/privacy}","received_events_url":"https://api.github.com/users/thommay/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T14:21:46Z","updated_at":"2016-09-13T14:21:46Z","body":"yeah, just saw the same error on master. "}}
{"actor":{"display_login":"thommay"}}