{"action":"opened","number":3,"pull_request":{"url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/pulls/3","id":160052893,"html_url":"https://github.com/ArchiveTeam/NewsGrabber-Warrior/pull/3","diff_url":"https://github.com/ArchiveTeam/NewsGrabber-Warrior/pull/3.diff","patch_url":"https://github.com/ArchiveTeam/NewsGrabber-Warrior/pull/3.patch","issue_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/issues/3","number":3,"state":"open","locked":false,"title":"move dedupe to a separate script and run it with ExternalProcess","user":{"login":"jcj83429","id":5402600,"avatar_url":"https://avatars0.githubusercontent.com/u/5402600?v=4","gravatar_id":"","url":"https://api.github.com/users/jcj83429","html_url":"https://github.com/jcj83429","followers_url":"https://api.github.com/users/jcj83429/followers","following_url":"https://api.github.com/users/jcj83429/following{/other_user}","gists_url":"https://api.github.com/users/jcj83429/gists{/gist_id}","starred_url":"https://api.github.com/users/jcj83429/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcj83429/subscriptions","organizations_url":"https://api.github.com/users/jcj83429/orgs","repos_url":"https://api.github.com/users/jcj83429/repos","events_url":"https://api.github.com/users/jcj83429/events{/privacy}","received_events_url":"https://api.github.com/users/jcj83429/received_events","type":"User","site_admin":false},"body":"This way dedupe won't stall the wpull download, rsync upload and web ui, and multiple items can be deduped at the same time. For now I limit the concurrent dedupes to 1 to stay closer the existing behaviour.\r\n\r\nAlso, I added a timeout to the dedupe request in case it gets stuck due to crappy home routers dropping connections.","created_at":"2017-12-25T12:49:13Z","updated_at":"2017-12-25T12:49:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/pulls/3/commits","review_comments_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/pulls/3/comments","review_comment_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/issues/3/comments","statuses_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/statuses/51c1b822937f200755ace841cd8582718c42533a","head":{"label":"jcj83429:extproc-dedupe","ref":"extproc-dedupe","sha":"51c1b822937f200755ace841cd8582718c42533a","user":{"login":"jcj83429","id":5402600,"avatar_url":"https://avatars0.githubusercontent.com/u/5402600?v=4","gravatar_id":"","url":"https://api.github.com/users/jcj83429","html_url":"https://github.com/jcj83429","followers_url":"https://api.github.com/users/jcj83429/followers","following_url":"https://api.github.com/users/jcj83429/following{/other_user}","gists_url":"https://api.github.com/users/jcj83429/gists{/gist_id}","starred_url":"https://api.github.com/users/jcj83429/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcj83429/subscriptions","organizations_url":"https://api.github.com/users/jcj83429/orgs","repos_url":"https://api.github.com/users/jcj83429/repos","events_url":"https://api.github.com/users/jcj83429/events{/privacy}","received_events_url":"https://api.github.com/users/jcj83429/received_events","type":"User","site_admin":false},"repo":{"id":115336796,"name":"NewsGrabber-Warrior","full_name":"jcj83429/NewsGrabber-Warrior","owner":{"login":"jcj83429","id":5402600,"avatar_url":"https://avatars0.githubusercontent.com/u/5402600?v=4","gravatar_id":"","url":"https://api.github.com/users/jcj83429","html_url":"https://github.com/jcj83429","followers_url":"https://api.github.com/users/jcj83429/followers","following_url":"https://api.github.com/users/jcj83429/following{/other_user}","gists_url":"https://api.github.com/users/jcj83429/gists{/gist_id}","starred_url":"https://api.github.com/users/jcj83429/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcj83429/subscriptions","organizations_url":"https://api.github.com/users/jcj83429/orgs","repos_url":"https://api.github.com/users/jcj83429/repos","events_url":"https://api.github.com/users/jcj83429/events{/privacy}","received_events_url":"https://api.github.com/users/jcj83429/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jcj83429/NewsGrabber-Warrior","description":null,"fork":true,"url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior","forks_url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior/forks","keys_url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior/teams","hooks_url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior/hooks","issue_events_url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior/issues/events{/number}","events_url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior/events","assignees_url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior/assignees{/user}","branches_url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior/branches{/branch}","tags_url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior/tags","blobs_url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior/git/refs{/sha}","trees_url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior/statuses/{sha}","languages_url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior/languages","stargazers_url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior/stargazers","contributors_url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior/contributors","subscribers_url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior/subscribers","subscription_url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior/subscription","commits_url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior/commits{/sha}","git_commits_url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior/git/commits{/sha}","comments_url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior/comments{/number}","issue_comment_url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior/issues/comments{/number}","contents_url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior/contents/{+path}","compare_url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior/merges","archive_url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior/downloads","issues_url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior/issues{/number}","pulls_url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior/pulls{/number}","milestones_url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior/milestones{/number}","notifications_url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior/labels{/name}","releases_url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior/releases{/id}","deployments_url":"https://api.github.com/repos/jcj83429/NewsGrabber-Warrior/deployments","created_at":"2017-12-25T12:35:44Z","updated_at":"2017-12-25T12:35:45Z","pushed_at":"2017-12-25T12:48:30Z","git_url":"git://github.com/jcj83429/NewsGrabber-Warrior.git","ssh_url":"git@github.com:jcj83429/NewsGrabber-Warrior.git","clone_url":"https://github.com/jcj83429/NewsGrabber-Warrior.git","svn_url":"https://github.com/jcj83429/NewsGrabber-Warrior","homepage":null,"size":38,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ArchiveTeam:master","ref":"master","sha":"1dde1a0890673a24034d8df341f9aa75b5d55956","user":{"login":"ArchiveTeam","id":774774,"avatar_url":"https://avatars3.githubusercontent.com/u/774774?v=4","gravatar_id":"","url":"https://api.github.com/users/ArchiveTeam","html_url":"https://github.com/ArchiveTeam","followers_url":"https://api.github.com/users/ArchiveTeam/followers","following_url":"https://api.github.com/users/ArchiveTeam/following{/other_user}","gists_url":"https://api.github.com/users/ArchiveTeam/gists{/gist_id}","starred_url":"https://api.github.com/users/ArchiveTeam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArchiveTeam/subscriptions","organizations_url":"https://api.github.com/users/ArchiveTeam/orgs","repos_url":"https://api.github.com/users/ArchiveTeam/repos","events_url":"https://api.github.com/users/ArchiveTeam/events{/privacy}","received_events_url":"https://api.github.com/users/ArchiveTeam/received_events","type":"Organization","site_admin":false},"repo":{"id":88302747,"name":"NewsGrabber-Warrior","full_name":"ArchiveTeam/NewsGrabber-Warrior","owner":{"login":"ArchiveTeam","id":774774,"avatar_url":"https://avatars3.githubusercontent.com/u/774774?v=4","gravatar_id":"","url":"https://api.github.com/users/ArchiveTeam","html_url":"https://github.com/ArchiveTeam","followers_url":"https://api.github.com/users/ArchiveTeam/followers","following_url":"https://api.github.com/users/ArchiveTeam/following{/other_user}","gists_url":"https://api.github.com/users/ArchiveTeam/gists{/gist_id}","starred_url":"https://api.github.com/users/ArchiveTeam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArchiveTeam/subscriptions","organizations_url":"https://api.github.com/users/ArchiveTeam/orgs","repos_url":"https://api.github.com/users/ArchiveTeam/repos","events_url":"https://api.github.com/users/ArchiveTeam/events{/privacy}","received_events_url":"https://api.github.com/users/ArchiveTeam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ArchiveTeam/NewsGrabber-Warrior","description":null,"fork":false,"url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior","forks_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/forks","keys_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/teams","hooks_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/hooks","issue_events_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/issues/events{/number}","events_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/events","assignees_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/assignees{/user}","branches_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/branches{/branch}","tags_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/tags","blobs_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/git/refs{/sha}","trees_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/statuses/{sha}","languages_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/languages","stargazers_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/stargazers","contributors_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/contributors","subscribers_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/subscribers","subscription_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/subscription","commits_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/commits{/sha}","git_commits_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/git/commits{/sha}","comments_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/comments{/number}","issue_comment_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/issues/comments{/number}","contents_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/contents/{+path}","compare_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/merges","archive_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/downloads","issues_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/issues{/number}","pulls_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/pulls{/number}","milestones_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/milestones{/number}","notifications_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/labels{/name}","releases_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/releases{/id}","deployments_url":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/deployments","created_at":"2017-04-14T20:54:47Z","updated_at":"2017-11-18T16:18:04Z","pushed_at":"2017-11-09T20:10:07Z","git_url":"git://github.com/ArchiveTeam/NewsGrabber-Warrior.git","ssh_url":"git@github.com:ArchiveTeam/NewsGrabber-Warrior.git","clone_url":"https://github.com/ArchiveTeam/NewsGrabber-Warrior.git","svn_url":"https://github.com/ArchiveTeam/NewsGrabber-Warrior","homepage":null,"size":38,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"unlicense","name":"The Unlicense","spdx_id":"Unlicense","url":"https://api.github.com/licenses/unlicense"},"forks":2,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/pulls/3"},"html":{"href":"https://github.com/ArchiveTeam/NewsGrabber-Warrior/pull/3"},"issue":{"href":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/issues/3"},"comments":{"href":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/ArchiveTeam/NewsGrabber-Warrior/statuses/51c1b822937f200755ace841cd8582718c42533a"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":105,"deletions":65,"changed_files":2}}
{"actor":{"display_login":"jcj83429"}}