{"action":"opened","number":545,"pull_request":{"url":"https://api.github.com/repos/chef/chef-dk/pulls/545","id":46689774,"html_url":"https://github.com/chef/chef-dk/pull/545","diff_url":"https://github.com/chef/chef-dk/pull/545.diff","patch_url":"https://github.com/chef/chef-dk/pull/545.patch","issue_url":"https://api.github.com/repos/chef/chef-dk/issues/545","number":545,"state":"open","locked":false,"title":"Further customize kitchen to avoid berksfile detection","user":{"login":"danielsdeleo","id":37162,"avatar_url":"https://avatars.githubusercontent.com/u/37162?v=3","gravatar_id":"","url":"https://api.github.com/users/danielsdeleo","html_url":"https://github.com/danielsdeleo","followers_url":"https://api.github.com/users/danielsdeleo/followers","following_url":"https://api.github.com/users/danielsdeleo/following{/other_user}","gists_url":"https://api.github.com/users/danielsdeleo/gists{/gist_id}","starred_url":"https://api.github.com/users/danielsdeleo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielsdeleo/subscriptions","organizations_url":"https://api.github.com/users/danielsdeleo/orgs","repos_url":"https://api.github.com/users/danielsdeleo/repos","events_url":"https://api.github.com/users/danielsdeleo/events{/privacy}","received_events_url":"https://api.github.com/users/danielsdeleo/received_events","type":"User","site_admin":false},"body":"Fixes an issue where the presence of a Berksfile makes TK try to load\r\nberkshelf (which we don't want anyway) which then has a dependency\r\nconflict with ChefDK.\r\n\r\nThis is a bit ugly b/c Kitchen is halfway between a composition and inheritance based approach to code reuse; this is the least monkey-patchy I could do it. \r\n\r\nI think the long-term correct fix is 1) chef-zero supports policyfile native mode, 2) chef-client pulls in this version of chef-zero, 3) `chef export` can export policy dirs in the format chef-zero likes, then 4) move the policyfile provisioner (or just the relevant parts) into TK, and auto-activate it if there's a Policyfile, but this prevents us from triggering a confusing error in the meantime.","created_at":"2015-10-02T22:38:09Z","updated_at":"2015-10-02T22:38:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chef/chef-dk/pulls/545/commits","review_comments_url":"https://api.github.com/repos/chef/chef-dk/pulls/545/comments","review_comment_url":"https://api.github.com/repos/chef/chef-dk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chef/chef-dk/issues/545/comments","statuses_url":"https://api.github.com/repos/chef/chef-dk/statuses/56140252265d0c68eba8c1adc38a08bfbbf8a92c","head":{"label":"chef:avoid-provisioner-berks-conflict","ref":"avoid-provisioner-berks-conflict","sha":"56140252265d0c68eba8c1adc38a08bfbbf8a92c","user":{"login":"chef","id":29740,"avatar_url":"https://avatars.githubusercontent.com/u/29740?v=3","gravatar_id":"","url":"https://api.github.com/users/chef","html_url":"https://github.com/chef","followers_url":"https://api.github.com/users/chef/followers","following_url":"https://api.github.com/users/chef/following{/other_user}","gists_url":"https://api.github.com/users/chef/gists{/gist_id}","starred_url":"https://api.github.com/users/chef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef/subscriptions","organizations_url":"https://api.github.com/users/chef/orgs","repos_url":"https://api.github.com/users/chef/repos","events_url":"https://api.github.com/users/chef/events{/privacy}","received_events_url":"https://api.github.com/users/chef/received_events","type":"Organization","site_admin":false},"repo":{"id":17303641,"name":"chef-dk","full_name":"chef/chef-dk","owner":{"login":"chef","id":29740,"avatar_url":"https://avatars.githubusercontent.com/u/29740?v=3","gravatar_id":"","url":"https://api.github.com/users/chef","html_url":"https://github.com/chef","followers_url":"https://api.github.com/users/chef/followers","following_url":"https://api.github.com/users/chef/following{/other_user}","gists_url":"https://api.github.com/users/chef/gists{/gist_id}","starred_url":"https://api.github.com/users/chef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef/subscriptions","organizations_url":"https://api.github.com/users/chef/orgs","repos_url":"https://api.github.com/users/chef/repos","events_url":"https://api.github.com/users/chef/events{/privacy}","received_events_url":"https://api.github.com/users/chef/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chef/chef-dk","description":"A streamlined development and deployment workflow for Chef platform.","fork":false,"url":"https://api.github.com/repos/chef/chef-dk","forks_url":"https://api.github.com/repos/chef/chef-dk/forks","keys_url":"https://api.github.com/repos/chef/chef-dk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chef/chef-dk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chef/chef-dk/teams","hooks_url":"https://api.github.com/repos/chef/chef-dk/hooks","issue_events_url":"https://api.github.com/repos/chef/chef-dk/issues/events{/number}","events_url":"https://api.github.com/repos/chef/chef-dk/events","assignees_url":"https://api.github.com/repos/chef/chef-dk/assignees{/user}","branches_url":"https://api.github.com/repos/chef/chef-dk/branches{/branch}","tags_url":"https://api.github.com/repos/chef/chef-dk/tags","blobs_url":"https://api.github.com/repos/chef/chef-dk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chef/chef-dk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chef/chef-dk/git/refs{/sha}","trees_url":"https://api.github.com/repos/chef/chef-dk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chef/chef-dk/statuses/{sha}","languages_url":"https://api.github.com/repos/chef/chef-dk/languages","stargazers_url":"https://api.github.com/repos/chef/chef-dk/stargazers","contributors_url":"https://api.github.com/repos/chef/chef-dk/contributors","subscribers_url":"https://api.github.com/repos/chef/chef-dk/subscribers","subscription_url":"https://api.github.com/repos/chef/chef-dk/subscription","commits_url":"https://api.github.com/repos/chef/chef-dk/commits{/sha}","git_commits_url":"https://api.github.com/repos/chef/chef-dk/git/commits{/sha}","comments_url":"https://api.github.com/repos/chef/chef-dk/comments{/number}","issue_comment_url":"https://api.github.com/repos/chef/chef-dk/issues/comments{/number}","contents_url":"https://api.github.com/repos/chef/chef-dk/contents/{+path}","compare_url":"https://api.github.com/repos/chef/chef-dk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chef/chef-dk/merges","archive_url":"https://api.github.com/repos/chef/chef-dk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chef/chef-dk/downloads","issues_url":"https://api.github.com/repos/chef/chef-dk/issues{/number}","pulls_url":"https://api.github.com/repos/chef/chef-dk/pulls{/number}","milestones_url":"https://api.github.com/repos/chef/chef-dk/milestones{/number}","notifications_url":"https://api.github.com/repos/chef/chef-dk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chef/chef-dk/labels{/name}","releases_url":"https://api.github.com/repos/chef/chef-dk/releases{/id}","created_at":"2014-02-28T23:59:39Z","updated_at":"2015-09-21T04:22:59Z","pushed_at":"2015-10-02T22:33:01Z","git_url":"git://github.com/chef/chef-dk.git","ssh_url":"git@github.com:chef/chef-dk.git","clone_url":"https://github.com/chef/chef-dk.git","svn_url":"https://github.com/chef/chef-dk","homepage":null,"size":4381,"stargazers_count":219,"watchers_count":219,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":66,"mirror_url":null,"open_issues_count":76,"forks":66,"open_issues":76,"watchers":219,"default_branch":"master"}},"base":{"label":"chef:master","ref":"master","sha":"3cb15bca0f1e4693370a1de5f3cbaf8701de3660","user":{"login":"chef","id":29740,"avatar_url":"https://avatars.githubusercontent.com/u/29740?v=3","gravatar_id":"","url":"https://api.github.com/users/chef","html_url":"https://github.com/chef","followers_url":"https://api.github.com/users/chef/followers","following_url":"https://api.github.com/users/chef/following{/other_user}","gists_url":"https://api.github.com/users/chef/gists{/gist_id}","starred_url":"https://api.github.com/users/chef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef/subscriptions","organizations_url":"https://api.github.com/users/chef/orgs","repos_url":"https://api.github.com/users/chef/repos","events_url":"https://api.github.com/users/chef/events{/privacy}","received_events_url":"https://api.github.com/users/chef/received_events","type":"Organization","site_admin":false},"repo":{"id":17303641,"name":"chef-dk","full_name":"chef/chef-dk","owner":{"login":"chef","id":29740,"avatar_url":"https://avatars.githubusercontent.com/u/29740?v=3","gravatar_id":"","url":"https://api.github.com/users/chef","html_url":"https://github.com/chef","followers_url":"https://api.github.com/users/chef/followers","following_url":"https://api.github.com/users/chef/following{/other_user}","gists_url":"https://api.github.com/users/chef/gists{/gist_id}","starred_url":"https://api.github.com/users/chef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef/subscriptions","organizations_url":"https://api.github.com/users/chef/orgs","repos_url":"https://api.github.com/users/chef/repos","events_url":"https://api.github.com/users/chef/events{/privacy}","received_events_url":"https://api.github.com/users/chef/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chef/chef-dk","description":"A streamlined development and deployment workflow for Chef platform.","fork":false,"url":"https://api.github.com/repos/chef/chef-dk","forks_url":"https://api.github.com/repos/chef/chef-dk/forks","keys_url":"https://api.github.com/repos/chef/chef-dk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chef/chef-dk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chef/chef-dk/teams","hooks_url":"https://api.github.com/repos/chef/chef-dk/hooks","issue_events_url":"https://api.github.com/repos/chef/chef-dk/issues/events{/number}","events_url":"https://api.github.com/repos/chef/chef-dk/events","assignees_url":"https://api.github.com/repos/chef/chef-dk/assignees{/user}","branches_url":"https://api.github.com/repos/chef/chef-dk/branches{/branch}","tags_url":"https://api.github.com/repos/chef/chef-dk/tags","blobs_url":"https://api.github.com/repos/chef/chef-dk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chef/chef-dk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chef/chef-dk/git/refs{/sha}","trees_url":"https://api.github.com/repos/chef/chef-dk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chef/chef-dk/statuses/{sha}","languages_url":"https://api.github.com/repos/chef/chef-dk/languages","stargazers_url":"https://api.github.com/repos/chef/chef-dk/stargazers","contributors_url":"https://api.github.com/repos/chef/chef-dk/contributors","subscribers_url":"https://api.github.com/repos/chef/chef-dk/subscribers","subscription_url":"https://api.github.com/repos/chef/chef-dk/subscription","commits_url":"https://api.github.com/repos/chef/chef-dk/commits{/sha}","git_commits_url":"https://api.github.com/repos/chef/chef-dk/git/commits{/sha}","comments_url":"https://api.github.com/repos/chef/chef-dk/comments{/number}","issue_comment_url":"https://api.github.com/repos/chef/chef-dk/issues/comments{/number}","contents_url":"https://api.github.com/repos/chef/chef-dk/contents/{+path}","compare_url":"https://api.github.com/repos/chef/chef-dk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chef/chef-dk/merges","archive_url":"https://api.github.com/repos/chef/chef-dk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chef/chef-dk/downloads","issues_url":"https://api.github.com/repos/chef/chef-dk/issues{/number}","pulls_url":"https://api.github.com/repos/chef/chef-dk/pulls{/number}","milestones_url":"https://api.github.com/repos/chef/chef-dk/milestones{/number}","notifications_url":"https://api.github.com/repos/chef/chef-dk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chef/chef-dk/labels{/name}","releases_url":"https://api.github.com/repos/chef/chef-dk/releases{/id}","created_at":"2014-02-28T23:59:39Z","updated_at":"2015-09-21T04:22:59Z","pushed_at":"2015-10-02T22:33:01Z","git_url":"git://github.com/chef/chef-dk.git","ssh_url":"git@github.com:chef/chef-dk.git","clone_url":"https://github.com/chef/chef-dk.git","svn_url":"https://github.com/chef/chef-dk","homepage":null,"size":4381,"stargazers_count":219,"watchers_count":219,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":66,"mirror_url":null,"open_issues_count":76,"forks":66,"open_issues":76,"watchers":219,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chef/chef-dk/pulls/545"},"html":{"href":"https://github.com/chef/chef-dk/pull/545"},"issue":{"href":"https://api.github.com/repos/chef/chef-dk/issues/545"},"comments":{"href":"https://api.github.com/repos/chef/chef-dk/issues/545/comments"},"review_comments":{"href":"https://api.github.com/repos/chef/chef-dk/pulls/545/comments"},"review_comment":{"href":"https://api.github.com/repos/chef/chef-dk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chef/chef-dk/pulls/545/commits"},"statuses":{"href":"https://api.github.com/repos/chef/chef-dk/statuses/56140252265d0c68eba8c1adc38a08bfbbf8a92c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":30,"deletions":1,"changed_files":1}}