{"action":"opened","number":632,"pull_request":{"url":"https://api.github.com/repos/square/p2/pulls/632","id":83560612,"html_url":"https://github.com/square/p2/pull/632","diff_url":"https://github.com/square/p2/pull/632.diff","patch_url":"https://github.com/square/p2/pull/632.patch","issue_url":"https://api.github.com/repos/square/p2/issues/632","number":632,"state":"open","locked":false,"title":"[WIP] only replicate to nodes that we need to","user":{"login":"rudle","id":41385,"avatar_url":"https://avatars.githubusercontent.com/u/41385?v=3","gravatar_id":"","url":"https://api.github.com/users/rudle","html_url":"https://github.com/rudle","followers_url":"https://api.github.com/users/rudle/followers","following_url":"https://api.github.com/users/rudle/following{/other_user}","gists_url":"https://api.github.com/users/rudle/gists{/gist_id}","starred_url":"https://api.github.com/users/rudle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rudle/subscriptions","organizations_url":"https://api.github.com/users/rudle/orgs","repos_url":"https://api.github.com/users/rudle/repos","events_url":"https://api.github.com/users/rudle/events{/privacy}","received_events_url":"https://api.github.com/users/rudle/received_events","type":"User","site_admin":false},"body":"We scan reality before attempting to schedule any pods on any host\r\nwhatsoever. This will improve the performance and scalability of daemon\r\nsets triggered by host restarts or changes in node label matches (ie. imaging).\r\n\r\nThis is a proof of concept - I still need to write tests for it.","created_at":"2016-09-01T02:25:19Z","updated_at":"2016-09-01T02:25:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/square/p2/pulls/632/commits","review_comments_url":"https://api.github.com/repos/square/p2/pulls/632/comments","review_comment_url":"https://api.github.com/repos/square/p2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/square/p2/issues/632/comments","statuses_url":"https://api.github.com/repos/square/p2/statuses/1ef4318fb6ed14a6a1ffa50de0f26e01f1624506","head":{"label":"rudle:narrow-replica-set","ref":"narrow-replica-set","sha":"1ef4318fb6ed14a6a1ffa50de0f26e01f1624506","user":{"login":"rudle","id":41385,"avatar_url":"https://avatars.githubusercontent.com/u/41385?v=3","gravatar_id":"","url":"https://api.github.com/users/rudle","html_url":"https://github.com/rudle","followers_url":"https://api.github.com/users/rudle/followers","following_url":"https://api.github.com/users/rudle/following{/other_user}","gists_url":"https://api.github.com/users/rudle/gists{/gist_id}","starred_url":"https://api.github.com/users/rudle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rudle/subscriptions","organizations_url":"https://api.github.com/users/rudle/orgs","repos_url":"https://api.github.com/users/rudle/repos","events_url":"https://api.github.com/users/rudle/events{/privacy}","received_events_url":"https://api.github.com/users/rudle/received_events","type":"User","site_admin":false},"repo":{"id":43720299,"name":"p2","full_name":"rudle/p2","owner":{"login":"rudle","id":41385,"avatar_url":"https://avatars.githubusercontent.com/u/41385?v=3","gravatar_id":"","url":"https://api.github.com/users/rudle","html_url":"https://github.com/rudle","followers_url":"https://api.github.com/users/rudle/followers","following_url":"https://api.github.com/users/rudle/following{/other_user}","gists_url":"https://api.github.com/users/rudle/gists{/gist_id}","starred_url":"https://api.github.com/users/rudle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rudle/subscriptions","organizations_url":"https://api.github.com/users/rudle/orgs","repos_url":"https://api.github.com/users/rudle/repos","events_url":"https://api.github.com/users/rudle/events{/privacy}","received_events_url":"https://api.github.com/users/rudle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rudle/p2","description":"Platypus Platform: Tools for Scalable Deployment","fork":true,"url":"https://api.github.com/repos/rudle/p2","forks_url":"https://api.github.com/repos/rudle/p2/forks","keys_url":"https://api.github.com/repos/rudle/p2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rudle/p2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rudle/p2/teams","hooks_url":"https://api.github.com/repos/rudle/p2/hooks","issue_events_url":"https://api.github.com/repos/rudle/p2/issues/events{/number}","events_url":"https://api.github.com/repos/rudle/p2/events","assignees_url":"https://api.github.com/repos/rudle/p2/assignees{/user}","branches_url":"https://api.github.com/repos/rudle/p2/branches{/branch}","tags_url":"https://api.github.com/repos/rudle/p2/tags","blobs_url":"https://api.github.com/repos/rudle/p2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rudle/p2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rudle/p2/git/refs{/sha}","trees_url":"https://api.github.com/repos/rudle/p2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rudle/p2/statuses/{sha}","languages_url":"https://api.github.com/repos/rudle/p2/languages","stargazers_url":"https://api.github.com/repos/rudle/p2/stargazers","contributors_url":"https://api.github.com/repos/rudle/p2/contributors","subscribers_url":"https://api.github.com/repos/rudle/p2/subscribers","subscription_url":"https://api.github.com/repos/rudle/p2/subscription","commits_url":"https://api.github.com/repos/rudle/p2/commits{/sha}","git_commits_url":"https://api.github.com/repos/rudle/p2/git/commits{/sha}","comments_url":"https://api.github.com/repos/rudle/p2/comments{/number}","issue_comment_url":"https://api.github.com/repos/rudle/p2/issues/comments{/number}","contents_url":"https://api.github.com/repos/rudle/p2/contents/{+path}","compare_url":"https://api.github.com/repos/rudle/p2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rudle/p2/merges","archive_url":"https://api.github.com/repos/rudle/p2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rudle/p2/downloads","issues_url":"https://api.github.com/repos/rudle/p2/issues{/number}","pulls_url":"https://api.github.com/repos/rudle/p2/pulls{/number}","milestones_url":"https://api.github.com/repos/rudle/p2/milestones{/number}","notifications_url":"https://api.github.com/repos/rudle/p2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rudle/p2/labels{/name}","releases_url":"https://api.github.com/repos/rudle/p2/releases{/id}","deployments_url":"https://api.github.com/repos/rudle/p2/deployments","created_at":"2015-10-05T23:46:14Z","updated_at":"2016-01-21T18:20:01Z","pushed_at":"2016-09-01T02:24:49Z","git_url":"git://github.com/rudle/p2.git","ssh_url":"git@github.com:rudle/p2.git","clone_url":"https://github.com/rudle/p2.git","svn_url":"https://github.com/rudle/p2","homepage":"","size":49303,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"square:master","ref":"master","sha":"65061dda07e7050be213705206cba0bc85eb2f7a","user":{"login":"square","id":82592,"avatar_url":"https://avatars.githubusercontent.com/u/82592?v=3","gravatar_id":"","url":"https://api.github.com/users/square","html_url":"https://github.com/square","followers_url":"https://api.github.com/users/square/followers","following_url":"https://api.github.com/users/square/following{/other_user}","gists_url":"https://api.github.com/users/square/gists{/gist_id}","starred_url":"https://api.github.com/users/square/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/square/subscriptions","organizations_url":"https://api.github.com/users/square/orgs","repos_url":"https://api.github.com/users/square/repos","events_url":"https://api.github.com/users/square/events{/privacy}","received_events_url":"https://api.github.com/users/square/received_events","type":"Organization","site_admin":false},"repo":{"id":25320424,"name":"p2","full_name":"square/p2","owner":{"login":"square","id":82592,"avatar_url":"https://avatars.githubusercontent.com/u/82592?v=3","gravatar_id":"","url":"https://api.github.com/users/square","html_url":"https://github.com/square","followers_url":"https://api.github.com/users/square/followers","following_url":"https://api.github.com/users/square/following{/other_user}","gists_url":"https://api.github.com/users/square/gists{/gist_id}","starred_url":"https://api.github.com/users/square/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/square/subscriptions","organizations_url":"https://api.github.com/users/square/orgs","repos_url":"https://api.github.com/users/square/repos","events_url":"https://api.github.com/users/square/events{/privacy}","received_events_url":"https://api.github.com/users/square/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/square/p2","description":"Platypus Platform: Tools for Scalable Deployment","fork":false,"url":"https://api.github.com/repos/square/p2","forks_url":"https://api.github.com/repos/square/p2/forks","keys_url":"https://api.github.com/repos/square/p2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/square/p2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/square/p2/teams","hooks_url":"https://api.github.com/repos/square/p2/hooks","issue_events_url":"https://api.github.com/repos/square/p2/issues/events{/number}","events_url":"https://api.github.com/repos/square/p2/events","assignees_url":"https://api.github.com/repos/square/p2/assignees{/user}","branches_url":"https://api.github.com/repos/square/p2/branches{/branch}","tags_url":"https://api.github.com/repos/square/p2/tags","blobs_url":"https://api.github.com/repos/square/p2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/square/p2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/square/p2/git/refs{/sha}","trees_url":"https://api.github.com/repos/square/p2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/square/p2/statuses/{sha}","languages_url":"https://api.github.com/repos/square/p2/languages","stargazers_url":"https://api.github.com/repos/square/p2/stargazers","contributors_url":"https://api.github.com/repos/square/p2/contributors","subscribers_url":"https://api.github.com/repos/square/p2/subscribers","subscription_url":"https://api.github.com/repos/square/p2/subscription","commits_url":"https://api.github.com/repos/square/p2/commits{/sha}","git_commits_url":"https://api.github.com/repos/square/p2/git/commits{/sha}","comments_url":"https://api.github.com/repos/square/p2/comments{/number}","issue_comment_url":"https://api.github.com/repos/square/p2/issues/comments{/number}","contents_url":"https://api.github.com/repos/square/p2/contents/{+path}","compare_url":"https://api.github.com/repos/square/p2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/square/p2/merges","archive_url":"https://api.github.com/repos/square/p2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/square/p2/downloads","issues_url":"https://api.github.com/repos/square/p2/issues{/number}","pulls_url":"https://api.github.com/repos/square/p2/pulls{/number}","milestones_url":"https://api.github.com/repos/square/p2/milestones{/number}","notifications_url":"https://api.github.com/repos/square/p2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/square/p2/labels{/name}","releases_url":"https://api.github.com/repos/square/p2/releases{/id}","deployments_url":"https://api.github.com/repos/square/p2/deployments","created_at":"2014-10-16T20:31:12Z","updated_at":"2016-08-24T07:06:56Z","pushed_at":"2016-09-01T00:39:38Z","git_url":"git://github.com/square/p2.git","ssh_url":"git@github.com:square/p2.git","clone_url":"https://github.com/square/p2.git","svn_url":"https://github.com/square/p2","homepage":"","size":41453,"stargazers_count":122,"watchers_count":122,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":11,"forks":21,"open_issues":11,"watchers":122,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/square/p2/pulls/632"},"html":{"href":"https://github.com/square/p2/pull/632"},"issue":{"href":"https://api.github.com/repos/square/p2/issues/632"},"comments":{"href":"https://api.github.com/repos/square/p2/issues/632/comments"},"review_comments":{"href":"https://api.github.com/repos/square/p2/pulls/632/comments"},"review_comment":{"href":"https://api.github.com/repos/square/p2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/square/p2/pulls/632/commits"},"statuses":{"href":"https://api.github.com/repos/square/p2/statuses/1ef4318fb6ed14a6a1ffa50de0f26e01f1624506"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":37,"deletions":4,"changed_files":1}}
{"actor":{"display_login":"rudle"}}