{"action":"opened","number":146,"pull_request":{"url":"https://api.github.com/repos/rapid7/propsd/pulls/146","id":71760642,"html_url":"https://github.com/rapid7/propsd/pull/146","diff_url":"https://github.com/rapid7/propsd/pull/146.diff","patch_url":"https://github.com/rapid7/propsd/pull/146.patch","issue_url":"https://api.github.com/repos/rapid7/propsd/issues/146","number":146,"state":"open","locked":false,"title":"Fix: Better logic around source reloading","user":{"login":"dgreene-r7","id":15327249,"avatar_url":"https://avatars.githubusercontent.com/u/15327249?v=3","gravatar_id":"","url":"https://api.github.com/users/dgreene-r7","html_url":"https://github.com/dgreene-r7","followers_url":"https://api.github.com/users/dgreene-r7/followers","following_url":"https://api.github.com/users/dgreene-r7/following{/other_user}","gists_url":"https://api.github.com/users/dgreene-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/dgreene-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgreene-r7/subscriptions","organizations_url":"https://api.github.com/users/dgreene-r7/orgs","repos_url":"https://api.github.com/users/dgreene-r7/repos","events_url":"https://api.github.com/users/dgreene-r7/events{/privacy}","received_events_url":"https://api.github.com/users/dgreene-r7/received_events","type":"User","site_admin":false},"body":"This PR improves the way we handle source reloading. Instead of removing all sources and rebuilding the index, this adds sources if they aren't in `storage.sources` and are in the new index and removes them if they're in `storage.sources` but aren't in the new index.\r\n\r\nThis is a naive solution and can definitely be improved.","created_at":"2016-05-27T19:18:29Z","updated_at":"2016-05-27T19:18:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rapid7/propsd/pulls/146/commits","review_comments_url":"https://api.github.com/repos/rapid7/propsd/pulls/146/comments","review_comment_url":"https://api.github.com/repos/rapid7/propsd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rapid7/propsd/issues/146/comments","statuses_url":"https://api.github.com/repos/rapid7/propsd/statuses/61b59d1483dba06e9134f1053b11c190920a4c53","head":{"label":"rapid7:fix-better-logic-around-source-reloading","ref":"fix-better-logic-around-source-reloading","sha":"61b59d1483dba06e9134f1053b11c190920a4c53","user":{"login":"rapid7","id":1013671,"avatar_url":"https://avatars.githubusercontent.com/u/1013671?v=3","gravatar_id":"","url":"https://api.github.com/users/rapid7","html_url":"https://github.com/rapid7","followers_url":"https://api.github.com/users/rapid7/followers","following_url":"https://api.github.com/users/rapid7/following{/other_user}","gists_url":"https://api.github.com/users/rapid7/gists{/gist_id}","starred_url":"https://api.github.com/users/rapid7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rapid7/subscriptions","organizations_url":"https://api.github.com/users/rapid7/orgs","repos_url":"https://api.github.com/users/rapid7/repos","events_url":"https://api.github.com/users/rapid7/events{/privacy}","received_events_url":"https://api.github.com/users/rapid7/received_events","type":"Organization","site_admin":false},"repo":{"id":49164078,"name":"propsd","full_name":"rapid7/propsd","owner":{"login":"rapid7","id":1013671,"avatar_url":"https://avatars.githubusercontent.com/u/1013671?v=3","gravatar_id":"","url":"https://api.github.com/users/rapid7","html_url":"https://github.com/rapid7","followers_url":"https://api.github.com/users/rapid7/followers","following_url":"https://api.github.com/users/rapid7/following{/other_user}","gists_url":"https://api.github.com/users/rapid7/gists{/gist_id}","starred_url":"https://api.github.com/users/rapid7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rapid7/subscriptions","organizations_url":"https://api.github.com/users/rapid7/orgs","repos_url":"https://api.github.com/users/rapid7/repos","events_url":"https://api.github.com/users/rapid7/events{/privacy}","received_events_url":"https://api.github.com/users/rapid7/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rapid7/propsd","description":"","fork":false,"url":"https://api.github.com/repos/rapid7/propsd","forks_url":"https://api.github.com/repos/rapid7/propsd/forks","keys_url":"https://api.github.com/repos/rapid7/propsd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rapid7/propsd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rapid7/propsd/teams","hooks_url":"https://api.github.com/repos/rapid7/propsd/hooks","issue_events_url":"https://api.github.com/repos/rapid7/propsd/issues/events{/number}","events_url":"https://api.github.com/repos/rapid7/propsd/events","assignees_url":"https://api.github.com/repos/rapid7/propsd/assignees{/user}","branches_url":"https://api.github.com/repos/rapid7/propsd/branches{/branch}","tags_url":"https://api.github.com/repos/rapid7/propsd/tags","blobs_url":"https://api.github.com/repos/rapid7/propsd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rapid7/propsd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rapid7/propsd/git/refs{/sha}","trees_url":"https://api.github.com/repos/rapid7/propsd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rapid7/propsd/statuses/{sha}","languages_url":"https://api.github.com/repos/rapid7/propsd/languages","stargazers_url":"https://api.github.com/repos/rapid7/propsd/stargazers","contributors_url":"https://api.github.com/repos/rapid7/propsd/contributors","subscribers_url":"https://api.github.com/repos/rapid7/propsd/subscribers","subscription_url":"https://api.github.com/repos/rapid7/propsd/subscription","commits_url":"https://api.github.com/repos/rapid7/propsd/commits{/sha}","git_commits_url":"https://api.github.com/repos/rapid7/propsd/git/commits{/sha}","comments_url":"https://api.github.com/repos/rapid7/propsd/comments{/number}","issue_comment_url":"https://api.github.com/repos/rapid7/propsd/issues/comments{/number}","contents_url":"https://api.github.com/repos/rapid7/propsd/contents/{+path}","compare_url":"https://api.github.com/repos/rapid7/propsd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rapid7/propsd/merges","archive_url":"https://api.github.com/repos/rapid7/propsd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rapid7/propsd/downloads","issues_url":"https://api.github.com/repos/rapid7/propsd/issues{/number}","pulls_url":"https://api.github.com/repos/rapid7/propsd/pulls{/number}","milestones_url":"https://api.github.com/repos/rapid7/propsd/milestones{/number}","notifications_url":"https://api.github.com/repos/rapid7/propsd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rapid7/propsd/labels{/name}","releases_url":"https://api.github.com/repos/rapid7/propsd/releases{/id}","deployments_url":"https://api.github.com/repos/rapid7/propsd/deployments","created_at":"2016-01-06T21:53:55Z","updated_at":"2016-05-03T18:18:21Z","pushed_at":"2016-05-27T19:16:46Z","git_url":"git://github.com/rapid7/propsd.git","ssh_url":"git@github.com:rapid7/propsd.git","clone_url":"https://github.com/rapid7/propsd.git","svn_url":"https://github.com/rapid7/propsd","homepage":null,"size":410,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":18,"forks":0,"open_issues":18,"watchers":2,"default_branch":"master"}},"base":{"label":"rapid7:master","ref":"master","sha":"6a38b3e80b380dc74b07bbfe9056c7b8435c7ad8","user":{"login":"rapid7","id":1013671,"avatar_url":"https://avatars.githubusercontent.com/u/1013671?v=3","gravatar_id":"","url":"https://api.github.com/users/rapid7","html_url":"https://github.com/rapid7","followers_url":"https://api.github.com/users/rapid7/followers","following_url":"https://api.github.com/users/rapid7/following{/other_user}","gists_url":"https://api.github.com/users/rapid7/gists{/gist_id}","starred_url":"https://api.github.com/users/rapid7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rapid7/subscriptions","organizations_url":"https://api.github.com/users/rapid7/orgs","repos_url":"https://api.github.com/users/rapid7/repos","events_url":"https://api.github.com/users/rapid7/events{/privacy}","received_events_url":"https://api.github.com/users/rapid7/received_events","type":"Organization","site_admin":false},"repo":{"id":49164078,"name":"propsd","full_name":"rapid7/propsd","owner":{"login":"rapid7","id":1013671,"avatar_url":"https://avatars.githubusercontent.com/u/1013671?v=3","gravatar_id":"","url":"https://api.github.com/users/rapid7","html_url":"https://github.com/rapid7","followers_url":"https://api.github.com/users/rapid7/followers","following_url":"https://api.github.com/users/rapid7/following{/other_user}","gists_url":"https://api.github.com/users/rapid7/gists{/gist_id}","starred_url":"https://api.github.com/users/rapid7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rapid7/subscriptions","organizations_url":"https://api.github.com/users/rapid7/orgs","repos_url":"https://api.github.com/users/rapid7/repos","events_url":"https://api.github.com/users/rapid7/events{/privacy}","received_events_url":"https://api.github.com/users/rapid7/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rapid7/propsd","description":"","fork":false,"url":"https://api.github.com/repos/rapid7/propsd","forks_url":"https://api.github.com/repos/rapid7/propsd/forks","keys_url":"https://api.github.com/repos/rapid7/propsd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rapid7/propsd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rapid7/propsd/teams","hooks_url":"https://api.github.com/repos/rapid7/propsd/hooks","issue_events_url":"https://api.github.com/repos/rapid7/propsd/issues/events{/number}","events_url":"https://api.github.com/repos/rapid7/propsd/events","assignees_url":"https://api.github.com/repos/rapid7/propsd/assignees{/user}","branches_url":"https://api.github.com/repos/rapid7/propsd/branches{/branch}","tags_url":"https://api.github.com/repos/rapid7/propsd/tags","blobs_url":"https://api.github.com/repos/rapid7/propsd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rapid7/propsd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rapid7/propsd/git/refs{/sha}","trees_url":"https://api.github.com/repos/rapid7/propsd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rapid7/propsd/statuses/{sha}","languages_url":"https://api.github.com/repos/rapid7/propsd/languages","stargazers_url":"https://api.github.com/repos/rapid7/propsd/stargazers","contributors_url":"https://api.github.com/repos/rapid7/propsd/contributors","subscribers_url":"https://api.github.com/repos/rapid7/propsd/subscribers","subscription_url":"https://api.github.com/repos/rapid7/propsd/subscription","commits_url":"https://api.github.com/repos/rapid7/propsd/commits{/sha}","git_commits_url":"https://api.github.com/repos/rapid7/propsd/git/commits{/sha}","comments_url":"https://api.github.com/repos/rapid7/propsd/comments{/number}","issue_comment_url":"https://api.github.com/repos/rapid7/propsd/issues/comments{/number}","contents_url":"https://api.github.com/repos/rapid7/propsd/contents/{+path}","compare_url":"https://api.github.com/repos/rapid7/propsd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rapid7/propsd/merges","archive_url":"https://api.github.com/repos/rapid7/propsd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rapid7/propsd/downloads","issues_url":"https://api.github.com/repos/rapid7/propsd/issues{/number}","pulls_url":"https://api.github.com/repos/rapid7/propsd/pulls{/number}","milestones_url":"https://api.github.com/repos/rapid7/propsd/milestones{/number}","notifications_url":"https://api.github.com/repos/rapid7/propsd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rapid7/propsd/labels{/name}","releases_url":"https://api.github.com/repos/rapid7/propsd/releases{/id}","deployments_url":"https://api.github.com/repos/rapid7/propsd/deployments","created_at":"2016-01-06T21:53:55Z","updated_at":"2016-05-03T18:18:21Z","pushed_at":"2016-05-27T19:16:46Z","git_url":"git://github.com/rapid7/propsd.git","ssh_url":"git@github.com:rapid7/propsd.git","clone_url":"https://github.com/rapid7/propsd.git","svn_url":"https://github.com/rapid7/propsd","homepage":null,"size":410,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":18,"forks":0,"open_issues":18,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rapid7/propsd/pulls/146"},"html":{"href":"https://github.com/rapid7/propsd/pull/146"},"issue":{"href":"https://api.github.com/repos/rapid7/propsd/issues/146"},"comments":{"href":"https://api.github.com/repos/rapid7/propsd/issues/146/comments"},"review_comments":{"href":"https://api.github.com/repos/rapid7/propsd/pulls/146/comments"},"review_comment":{"href":"https://api.github.com/repos/rapid7/propsd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rapid7/propsd/pulls/146/commits"},"statuses":{"href":"https://api.github.com/repos/rapid7/propsd/statuses/61b59d1483dba06e9134f1053b11c190920a4c53"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":64,"deletions":33,"changed_files":2}}
{"actor":{"display_login":"dgreene-r7"}}