{"action":"created","issue":{"url":"https://api.github.com/repos/chef/chef/issues/4165","labels_url":"https://api.github.com/repos/chef/chef/issues/4165/labels{/name}","comments_url":"https://api.github.com/repos/chef/chef/issues/4165/comments","events_url":"https://api.github.com/repos/chef/chef/issues/4165/events","html_url":"https://github.com/chef/chef/pull/4165","id":116860648,"number":4165,"title":"Multipackage internal API improvements","user":{"login":"lamont-granquist","id":454857,"avatar_url":"https://avatars.githubusercontent.com/u/454857?v=3","gravatar_id":"","url":"https://api.github.com/users/lamont-granquist","html_url":"https://github.com/lamont-granquist","followers_url":"https://api.github.com/users/lamont-granquist/followers","following_url":"https://api.github.com/users/lamont-granquist/following{/other_user}","gists_url":"https://api.github.com/users/lamont-granquist/gists{/gist_id}","starred_url":"https://api.github.com/users/lamont-granquist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lamont-granquist/subscriptions","organizations_url":"https://api.github.com/users/lamont-granquist/orgs","repos_url":"https://api.github.com/users/lamont-granquist/repos","events_url":"https://api.github.com/users/lamont-granquist/events{/privacy}","received_events_url":"https://api.github.com/users/lamont-granquist/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-13T21:51:32Z","updated_at":"2015-11-13T21:52:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/chef/chef/pulls/4165","html_url":"https://github.com/chef/chef/pull/4165","diff_url":"https://github.com/chef/chef/pull/4165.diff","patch_url":"https://github.com/chef/chef/pull/4165.patch"},"body":"This allows a subclass of Chef::Provider::Package to declare package_class_supports_arrays which will cause the superclass to only pass arrays into the child class.  This gets rid of most of the need for the subclass to have `.is_a?(Array)` checks everywhere and just use Arrays internally.\r\n\r\nI developed this against #4106, but that got stalled due to unrelated chocolatey.org issues, and want to use this in the Zypper provider to rework #4102 (along with eventually using this in the yum and apt providers, but those are large yaks for another day...)"},"comment":{"url":"https://api.github.com/repos/chef/chef/issues/comments/156569618","html_url":"https://github.com/chef/chef/pull/4165#issuecomment-156569618","issue_url":"https://api.github.com/repos/chef/chef/issues/4165","id":156569618,"user":{"login":"lamont-granquist","id":454857,"avatar_url":"https://avatars.githubusercontent.com/u/454857?v=3","gravatar_id":"","url":"https://api.github.com/users/lamont-granquist","html_url":"https://github.com/lamont-granquist","followers_url":"https://api.github.com/users/lamont-granquist/followers","following_url":"https://api.github.com/users/lamont-granquist/following{/other_user}","gists_url":"https://api.github.com/users/lamont-granquist/gists{/gist_id}","starred_url":"https://api.github.com/users/lamont-granquist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lamont-granquist/subscriptions","organizations_url":"https://api.github.com/users/lamont-granquist/orgs","repos_url":"https://api.github.com/users/lamont-granquist/repos","events_url":"https://api.github.com/users/lamont-granquist/events{/privacy}","received_events_url":"https://api.github.com/users/lamont-granquist/received_events","type":"User","site_admin":false},"created_at":"2015-11-13T21:52:08Z","updated_at":"2015-11-13T21:52:08Z","body":"@chef/client-core needs some review love"}}