{"action":"created","issue":{"url":"https://api.github.com/repos/dylanaraps/fetch/issues/71","repository_url":"https://api.github.com/repos/dylanaraps/fetch","labels_url":"https://api.github.com/repos/dylanaraps/fetch/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/dylanaraps/fetch/issues/71/comments","events_url":"https://api.github.com/repos/dylanaraps/fetch/issues/71/events","html_url":"https://github.com/dylanaraps/fetch/pull/71","id":133590414,"number":71,"title":"Check for packages based on which package manager is installed.","user":{"login":"dylanaraps","id":6799467,"avatar_url":"https://avatars.githubusercontent.com/u/6799467?v=3","gravatar_id":"","url":"https://api.github.com/users/dylanaraps","html_url":"https://github.com/dylanaraps","followers_url":"https://api.github.com/users/dylanaraps/followers","following_url":"https://api.github.com/users/dylanaraps/following{/other_user}","gists_url":"https://api.github.com/users/dylanaraps/gists{/gist_id}","starred_url":"https://api.github.com/users/dylanaraps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylanaraps/subscriptions","organizations_url":"https://api.github.com/users/dylanaraps/orgs","repos_url":"https://api.github.com/users/dylanaraps/repos","events_url":"https://api.github.com/users/dylanaraps/events{/privacy}","received_events_url":"https://api.github.com/users/dylanaraps/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dylanaraps/fetch/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-02-14T23:03:06Z","updated_at":"2016-02-15T12:56:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dylanaraps/fetch/pulls/71","html_url":"https://github.com/dylanaraps/fetch/pull/71","diff_url":"https://github.com/dylanaraps/fetch/pull/71.diff","patch_url":"https://github.com/dylanaraps/fetch/pull/71.patch"},"body":"This PR changes the way we get package count by checking which\r\npackage manager is installed instead of hardcoding a list of distros.\r\n\r\nThis means that all we will need to do to add a new linux distro is\r\nadd the ascii art/colors.\r\n\r\n**Cons**: \r\n- Slightly slower on Linux if the package manager is towards the bottom\r\nof the if block. (All other OS had a speedup.)\r\n\r\nThanks @tudurom for the idea! :)"},"comment":{"url":"https://api.github.com/repos/dylanaraps/fetch/issues/comments/184195839","html_url":"https://github.com/dylanaraps/fetch/pull/71#issuecomment-184195839","issue_url":"https://api.github.com/repos/dylanaraps/fetch/issues/71","id":184195839,"user":{"login":"dylanaraps","id":6799467,"avatar_url":"https://avatars.githubusercontent.com/u/6799467?v=3","gravatar_id":"","url":"https://api.github.com/users/dylanaraps","html_url":"https://github.com/dylanaraps","followers_url":"https://api.github.com/users/dylanaraps/followers","following_url":"https://api.github.com/users/dylanaraps/following{/other_user}","gists_url":"https://api.github.com/users/dylanaraps/gists{/gist_id}","starred_url":"https://api.github.com/users/dylanaraps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylanaraps/subscriptions","organizations_url":"https://api.github.com/users/dylanaraps/orgs","repos_url":"https://api.github.com/users/dylanaraps/repos","events_url":"https://api.github.com/users/dylanaraps/events{/privacy}","received_events_url":"https://api.github.com/users/dylanaraps/received_events","type":"User","site_admin":false},"created_at":"2016-02-15T12:56:53Z","updated_at":"2016-02-15T12:56:53Z","body":"If all looks good I'll merge this. (I'm in the gitter chat btw)"}}