{"action":"opened","number":2160,"pull_request":{"url":"https://api.github.com/repos/librariesio/libraries.io/pulls/2160","id":191833226,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkxODMzMjI2","html_url":"https://github.com/librariesio/libraries.io/pull/2160","diff_url":"https://github.com/librariesio/libraries.io/pull/2160.diff","patch_url":"https://github.com/librariesio/libraries.io/pull/2160.patch","issue_url":"https://api.github.com/repos/librariesio/libraries.io/issues/2160","number":2160,"state":"open","locked":false,"title":"Use dependent_repos_count to avoid additional queries","user":{"login":"katzj","id":141657,"node_id":"MDQ6VXNlcjE0MTY1Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/141657?v=4","gravatar_id":"","url":"https://api.github.com/users/katzj","html_url":"https://github.com/katzj","followers_url":"https://api.github.com/users/katzj/followers","following_url":"https://api.github.com/users/katzj/following{/other_user}","gists_url":"https://api.github.com/users/katzj/gists{/gist_id}","starred_url":"https://api.github.com/users/katzj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katzj/subscriptions","organizations_url":"https://api.github.com/users/katzj/orgs","repos_url":"https://api.github.com/users/katzj/repos","events_url":"https://api.github.com/users/katzj/events{/privacy}","received_events_url":"https://api.github.com/users/katzj/received_events","type":"User","site_admin":false},"body":"Using dependent_repos.count requires a COUNT(*) across all dependent\r\nrepos. Use the denormalized count to speed things up\r\n","created_at":"2018-05-31T18:13:42Z","updated_at":"2018-05-31T18:13:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/librariesio/libraries.io/pulls/2160/commits","review_comments_url":"https://api.github.com/repos/librariesio/libraries.io/pulls/2160/comments","review_comment_url":"https://api.github.com/repos/librariesio/libraries.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/librariesio/libraries.io/issues/2160/comments","statuses_url":"https://api.github.com/repos/librariesio/libraries.io/statuses/35ad396beb706c49355c381d32bec460763da4cd","head":{"label":"librariesio:dependent-repo-count","ref":"dependent-repo-count","sha":"35ad396beb706c49355c381d32bec460763da4cd","user":{"login":"librariesio","id":11243589,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMjQzNTg5","avatar_url":"https://avatars2.githubusercontent.com/u/11243589?v=4","gravatar_id":"","url":"https://api.github.com/users/librariesio","html_url":"https://github.com/librariesio","followers_url":"https://api.github.com/users/librariesio/followers","following_url":"https://api.github.com/users/librariesio/following{/other_user}","gists_url":"https://api.github.com/users/librariesio/gists{/gist_id}","starred_url":"https://api.github.com/users/librariesio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/librariesio/subscriptions","organizations_url":"https://api.github.com/users/librariesio/orgs","repos_url":"https://api.github.com/users/librariesio/repos","events_url":"https://api.github.com/users/librariesio/events{/privacy}","received_events_url":"https://api.github.com/users/librariesio/received_events","type":"Organization","site_admin":false},"repo":{"id":24641222,"node_id":"MDEwOlJlcG9zaXRvcnkyNDY0MTIyMg==","name":"libraries.io","full_name":"librariesio/libraries.io","owner":{"login":"librariesio","id":11243589,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMjQzNTg5","avatar_url":"https://avatars2.githubusercontent.com/u/11243589?v=4","gravatar_id":"","url":"https://api.github.com/users/librariesio","html_url":"https://github.com/librariesio","followers_url":"https://api.github.com/users/librariesio/followers","following_url":"https://api.github.com/users/librariesio/following{/other_user}","gists_url":"https://api.github.com/users/librariesio/gists{/gist_id}","starred_url":"https://api.github.com/users/librariesio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/librariesio/subscriptions","organizations_url":"https://api.github.com/users/librariesio/orgs","repos_url":"https://api.github.com/users/librariesio/repos","events_url":"https://api.github.com/users/librariesio/events{/privacy}","received_events_url":"https://api.github.com/users/librariesio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/librariesio/libraries.io","description":":books: The Open Source Discovery Service","fork":false,"url":"https://api.github.com/repos/librariesio/libraries.io","forks_url":"https://api.github.com/repos/librariesio/libraries.io/forks","keys_url":"https://api.github.com/repos/librariesio/libraries.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/librariesio/libraries.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/librariesio/libraries.io/teams","hooks_url":"https://api.github.com/repos/librariesio/libraries.io/hooks","issue_events_url":"https://api.github.com/repos/librariesio/libraries.io/issues/events{/number}","events_url":"https://api.github.com/repos/librariesio/libraries.io/events","assignees_url":"https://api.github.com/repos/librariesio/libraries.io/assignees{/user}","branches_url":"https://api.github.com/repos/librariesio/libraries.io/branches{/branch}","tags_url":"https://api.github.com/repos/librariesio/libraries.io/tags","blobs_url":"https://api.github.com/repos/librariesio/libraries.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/librariesio/libraries.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/librariesio/libraries.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/librariesio/libraries.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/librariesio/libraries.io/statuses/{sha}","languages_url":"https://api.github.com/repos/librariesio/libraries.io/languages","stargazers_url":"https://api.github.com/repos/librariesio/libraries.io/stargazers","contributors_url":"https://api.github.com/repos/librariesio/libraries.io/contributors","subscribers_url":"https://api.github.com/repos/librariesio/libraries.io/subscribers","subscription_url":"https://api.github.com/repos/librariesio/libraries.io/subscription","commits_url":"https://api.github.com/repos/librariesio/libraries.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/librariesio/libraries.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/librariesio/libraries.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/librariesio/libraries.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/librariesio/libraries.io/contents/{+path}","compare_url":"https://api.github.com/repos/librariesio/libraries.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/librariesio/libraries.io/merges","archive_url":"https://api.github.com/repos/librariesio/libraries.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/librariesio/libraries.io/downloads","issues_url":"https://api.github.com/repos/librariesio/libraries.io/issues{/number}","pulls_url":"https://api.github.com/repos/librariesio/libraries.io/pulls{/number}","milestones_url":"https://api.github.com/repos/librariesio/libraries.io/milestones{/number}","notifications_url":"https://api.github.com/repos/librariesio/libraries.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/librariesio/libraries.io/labels{/name}","releases_url":"https://api.github.com/repos/librariesio/libraries.io/releases{/id}","deployments_url":"https://api.github.com/repos/librariesio/libraries.io/deployments","created_at":"2014-09-30T14:26:33Z","updated_at":"2018-05-31T00:46:40Z","pushed_at":"2018-05-31T18:13:25Z","git_url":"git://github.com/librariesio/libraries.io.git","ssh_url":"git@github.com:librariesio/libraries.io.git","clone_url":"https://github.com/librariesio/libraries.io.git","svn_url":"https://github.com/librariesio/libraries.io","homepage":"https://libraries.io","size":19492,"stargazers_count":636,"watchers_count":636,"language":"Ruby","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":105,"mirror_url":null,"archived":false,"open_issues_count":152,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":105,"open_issues":152,"watchers":636,"default_branch":"master"}},"base":{"label":"librariesio:master","ref":"master","sha":"d9734d63e8068a44f5d6ba487fa995b4e21e1b2d","user":{"login":"librariesio","id":11243589,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMjQzNTg5","avatar_url":"https://avatars2.githubusercontent.com/u/11243589?v=4","gravatar_id":"","url":"https://api.github.com/users/librariesio","html_url":"https://github.com/librariesio","followers_url":"https://api.github.com/users/librariesio/followers","following_url":"https://api.github.com/users/librariesio/following{/other_user}","gists_url":"https://api.github.com/users/librariesio/gists{/gist_id}","starred_url":"https://api.github.com/users/librariesio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/librariesio/subscriptions","organizations_url":"https://api.github.com/users/librariesio/orgs","repos_url":"https://api.github.com/users/librariesio/repos","events_url":"https://api.github.com/users/librariesio/events{/privacy}","received_events_url":"https://api.github.com/users/librariesio/received_events","type":"Organization","site_admin":false},"repo":{"id":24641222,"node_id":"MDEwOlJlcG9zaXRvcnkyNDY0MTIyMg==","name":"libraries.io","full_name":"librariesio/libraries.io","owner":{"login":"librariesio","id":11243589,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMjQzNTg5","avatar_url":"https://avatars2.githubusercontent.com/u/11243589?v=4","gravatar_id":"","url":"https://api.github.com/users/librariesio","html_url":"https://github.com/librariesio","followers_url":"https://api.github.com/users/librariesio/followers","following_url":"https://api.github.com/users/librariesio/following{/other_user}","gists_url":"https://api.github.com/users/librariesio/gists{/gist_id}","starred_url":"https://api.github.com/users/librariesio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/librariesio/subscriptions","organizations_url":"https://api.github.com/users/librariesio/orgs","repos_url":"https://api.github.com/users/librariesio/repos","events_url":"https://api.github.com/users/librariesio/events{/privacy}","received_events_url":"https://api.github.com/users/librariesio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/librariesio/libraries.io","description":":books: The Open Source Discovery Service","fork":false,"url":"https://api.github.com/repos/librariesio/libraries.io","forks_url":"https://api.github.com/repos/librariesio/libraries.io/forks","keys_url":"https://api.github.com/repos/librariesio/libraries.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/librariesio/libraries.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/librariesio/libraries.io/teams","hooks_url":"https://api.github.com/repos/librariesio/libraries.io/hooks","issue_events_url":"https://api.github.com/repos/librariesio/libraries.io/issues/events{/number}","events_url":"https://api.github.com/repos/librariesio/libraries.io/events","assignees_url":"https://api.github.com/repos/librariesio/libraries.io/assignees{/user}","branches_url":"https://api.github.com/repos/librariesio/libraries.io/branches{/branch}","tags_url":"https://api.github.com/repos/librariesio/libraries.io/tags","blobs_url":"https://api.github.com/repos/librariesio/libraries.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/librariesio/libraries.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/librariesio/libraries.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/librariesio/libraries.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/librariesio/libraries.io/statuses/{sha}","languages_url":"https://api.github.com/repos/librariesio/libraries.io/languages","stargazers_url":"https://api.github.com/repos/librariesio/libraries.io/stargazers","contributors_url":"https://api.github.com/repos/librariesio/libraries.io/contributors","subscribers_url":"https://api.github.com/repos/librariesio/libraries.io/subscribers","subscription_url":"https://api.github.com/repos/librariesio/libraries.io/subscription","commits_url":"https://api.github.com/repos/librariesio/libraries.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/librariesio/libraries.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/librariesio/libraries.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/librariesio/libraries.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/librariesio/libraries.io/contents/{+path}","compare_url":"https://api.github.com/repos/librariesio/libraries.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/librariesio/libraries.io/merges","archive_url":"https://api.github.com/repos/librariesio/libraries.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/librariesio/libraries.io/downloads","issues_url":"https://api.github.com/repos/librariesio/libraries.io/issues{/number}","pulls_url":"https://api.github.com/repos/librariesio/libraries.io/pulls{/number}","milestones_url":"https://api.github.com/repos/librariesio/libraries.io/milestones{/number}","notifications_url":"https://api.github.com/repos/librariesio/libraries.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/librariesio/libraries.io/labels{/name}","releases_url":"https://api.github.com/repos/librariesio/libraries.io/releases{/id}","deployments_url":"https://api.github.com/repos/librariesio/libraries.io/deployments","created_at":"2014-09-30T14:26:33Z","updated_at":"2018-05-31T00:46:40Z","pushed_at":"2018-05-31T18:13:25Z","git_url":"git://github.com/librariesio/libraries.io.git","ssh_url":"git@github.com:librariesio/libraries.io.git","clone_url":"https://github.com/librariesio/libraries.io.git","svn_url":"https://github.com/librariesio/libraries.io","homepage":"https://libraries.io","size":19492,"stargazers_count":636,"watchers_count":636,"language":"Ruby","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":105,"mirror_url":null,"archived":false,"open_issues_count":152,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":105,"open_issues":152,"watchers":636,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/librariesio/libraries.io/pulls/2160"},"html":{"href":"https://github.com/librariesio/libraries.io/pull/2160"},"issue":{"href":"https://api.github.com/repos/librariesio/libraries.io/issues/2160"},"comments":{"href":"https://api.github.com/repos/librariesio/libraries.io/issues/2160/comments"},"review_comments":{"href":"https://api.github.com/repos/librariesio/libraries.io/pulls/2160/comments"},"review_comment":{"href":"https://api.github.com/repos/librariesio/libraries.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/librariesio/libraries.io/pulls/2160/commits"},"statuses":{"href":"https://api.github.com/repos/librariesio/libraries.io/statuses/35ad396beb706c49355c381d32bec460763da4cd"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":3,"deletions":3,"changed_files":1}}
{"actor":{"display_login":"katzj"}}