{"action":"created","issue":{"url":"https://api.github.com/repos/berkshelf/berkshelf/issues/1514","repository_url":"https://api.github.com/repos/berkshelf/berkshelf","labels_url":"https://api.github.com/repos/berkshelf/berkshelf/issues/1514/labels{/name}","comments_url":"https://api.github.com/repos/berkshelf/berkshelf/issues/1514/comments","events_url":"https://api.github.com/repos/berkshelf/berkshelf/issues/1514/events","html_url":"https://github.com/berkshelf/berkshelf/issues/1514","id":133988139,"number":1514,"title":"Berks vendor should not delete the contents of the destination folder","user":{"login":"eric-tucker","id":2693414,"avatar_url":"https://avatars.githubusercontent.com/u/2693414?v=3","gravatar_id":"","url":"https://api.github.com/users/eric-tucker","html_url":"https://github.com/eric-tucker","followers_url":"https://api.github.com/users/eric-tucker/followers","following_url":"https://api.github.com/users/eric-tucker/following{/other_user}","gists_url":"https://api.github.com/users/eric-tucker/gists{/gist_id}","starred_url":"https://api.github.com/users/eric-tucker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eric-tucker/subscriptions","organizations_url":"https://api.github.com/users/eric-tucker/orgs","repos_url":"https://api.github.com/users/eric-tucker/repos","events_url":"https://api.github.com/users/eric-tucker/events{/privacy}","received_events_url":"https://api.github.com/users/eric-tucker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-02-16T13:56:17Z","updated_at":"2016-08-17T21:57:06Z","closed_at":null,"body":"Running this:\r\n```\r\nberks vendor --berksfile=<path to Berksfile> <destination path for vendored cookbooks>\r\n```\r\ndeletes any existing files in the vendor path.  I've not sure why someone would want this behaviour by default.  This is like rsync having --delete as default behaviour.\r\n\r\nAs a result, I'm forced to vendor to a dummy path, then rsync to the destination path where I have existing cookbooks.\r\n\r\nMy use case is that I'm building a Chef Zero repo path and I'd like to vendor directly to the cookbooks folder but since berks vendor deletes all contents in the cookbooks folder before vendoring, I cannot do this."},"comment":{"url":"https://api.github.com/repos/berkshelf/berkshelf/issues/comments/240561879","html_url":"https://github.com/berkshelf/berkshelf/issues/1514#issuecomment-240561879","issue_url":"https://api.github.com/repos/berkshelf/berkshelf/issues/1514","id":240561879,"user":{"login":"reset","id":54036,"avatar_url":"https://avatars.githubusercontent.com/u/54036?v=3","gravatar_id":"","url":"https://api.github.com/users/reset","html_url":"https://github.com/reset","followers_url":"https://api.github.com/users/reset/followers","following_url":"https://api.github.com/users/reset/following{/other_user}","gists_url":"https://api.github.com/users/reset/gists{/gist_id}","starred_url":"https://api.github.com/users/reset/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reset/subscriptions","organizations_url":"https://api.github.com/users/reset/orgs","repos_url":"https://api.github.com/users/reset/repos","events_url":"https://api.github.com/users/reset/events{/privacy}","received_events_url":"https://api.github.com/users/reset/received_events","type":"User","site_admin":false},"created_at":"2016-08-17T21:57:06Z","updated_at":"2016-08-17T21:57:06Z","body":"@hal58th I responded above"}}
{"actor":{"display_login":"reset"}}