{"action":"closed","number":18,"pull_request":{"url":"https://api.github.com/repos/ephraim/lcurse/pulls/18","id":76881090,"html_url":"https://github.com/ephraim/lcurse/pull/18","diff_url":"https://github.com/ephraim/lcurse/pull/18.diff","patch_url":"https://github.com/ephraim/lcurse/pull/18.patch","issue_url":"https://api.github.com/repos/ephraim/lcurse/issues/18","number":18,"state":"closed","locked":false,"title":"Perform max 5 retries on URL fetches to cope with timeouts","user":{"login":"MathyV","id":6393603,"avatar_url":"https://avatars.githubusercontent.com/u/6393603?v=3","gravatar_id":"","url":"https://api.github.com/users/MathyV","html_url":"https://github.com/MathyV","followers_url":"https://api.github.com/users/MathyV/followers","following_url":"https://api.github.com/users/MathyV/following{/other_user}","gists_url":"https://api.github.com/users/MathyV/gists{/gist_id}","starred_url":"https://api.github.com/users/MathyV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MathyV/subscriptions","organizations_url":"https://api.github.com/users/MathyV/orgs","repos_url":"https://api.github.com/users/MathyV/repos","events_url":"https://api.github.com/users/MathyV/events{/privacy}","received_events_url":"https://api.github.com/users/MathyV/received_events","type":"User","site_admin":false},"body":"Because I have a lot of addons, the Curse server was blocking some of the requests, making it impossible for me to update all of them at the same time as failure of one results in a complete stop of the process.\r\n\r\nI added a try-catch loop which retries a request maximum 5 times which solves the problems for me.\r\n\r\nThis should also solve #15 for the same reasons. I also experienced that issue and that too is gone now.\r\n\r\nAnother solution might be not to throw all the requests to the server at the same time, if you don't like this patch :-)","created_at":"2016-07-10T19:12:10Z","updated_at":"2016-07-12T20:15:51Z","closed_at":"2016-07-12T20:15:51Z","merged_at":"2016-07-12T20:15:51Z","merge_commit_sha":"bc3cc21f708a57a90114d2eb50c2297ea7cd5023","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ephraim/lcurse/pulls/18/commits","review_comments_url":"https://api.github.com/repos/ephraim/lcurse/pulls/18/comments","review_comment_url":"https://api.github.com/repos/ephraim/lcurse/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ephraim/lcurse/issues/18/comments","statuses_url":"https://api.github.com/repos/ephraim/lcurse/statuses/48cb8f61f61024b0f14b1e1feb8f070af9d90c31","head":{"label":"MathyV:master","ref":"master","sha":"48cb8f61f61024b0f14b1e1feb8f070af9d90c31","user":{"login":"MathyV","id":6393603,"avatar_url":"https://avatars.githubusercontent.com/u/6393603?v=3","gravatar_id":"","url":"https://api.github.com/users/MathyV","html_url":"https://github.com/MathyV","followers_url":"https://api.github.com/users/MathyV/followers","following_url":"https://api.github.com/users/MathyV/following{/other_user}","gists_url":"https://api.github.com/users/MathyV/gists{/gist_id}","starred_url":"https://api.github.com/users/MathyV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MathyV/subscriptions","organizations_url":"https://api.github.com/users/MathyV/orgs","repos_url":"https://api.github.com/users/MathyV/repos","events_url":"https://api.github.com/users/MathyV/events{/privacy}","received_events_url":"https://api.github.com/users/MathyV/received_events","type":"User","site_admin":false},"repo":{"id":63013572,"name":"lcurse","full_name":"MathyV/lcurse","owner":{"login":"MathyV","id":6393603,"avatar_url":"https://avatars.githubusercontent.com/u/6393603?v=3","gravatar_id":"","url":"https://api.github.com/users/MathyV","html_url":"https://github.com/MathyV","followers_url":"https://api.github.com/users/MathyV/followers","following_url":"https://api.github.com/users/MathyV/following{/other_user}","gists_url":"https://api.github.com/users/MathyV/gists{/gist_id}","starred_url":"https://api.github.com/users/MathyV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MathyV/subscriptions","organizations_url":"https://api.github.com/users/MathyV/orgs","repos_url":"https://api.github.com/users/MathyV/repos","events_url":"https://api.github.com/users/MathyV/events{/privacy}","received_events_url":"https://api.github.com/users/MathyV/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MathyV/lcurse","description":"Python script to have a \"curse\" compatible client for linux","fork":true,"url":"https://api.github.com/repos/MathyV/lcurse","forks_url":"https://api.github.com/repos/MathyV/lcurse/forks","keys_url":"https://api.github.com/repos/MathyV/lcurse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MathyV/lcurse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MathyV/lcurse/teams","hooks_url":"https://api.github.com/repos/MathyV/lcurse/hooks","issue_events_url":"https://api.github.com/repos/MathyV/lcurse/issues/events{/number}","events_url":"https://api.github.com/repos/MathyV/lcurse/events","assignees_url":"https://api.github.com/repos/MathyV/lcurse/assignees{/user}","branches_url":"https://api.github.com/repos/MathyV/lcurse/branches{/branch}","tags_url":"https://api.github.com/repos/MathyV/lcurse/tags","blobs_url":"https://api.github.com/repos/MathyV/lcurse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MathyV/lcurse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MathyV/lcurse/git/refs{/sha}","trees_url":"https://api.github.com/repos/MathyV/lcurse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MathyV/lcurse/statuses/{sha}","languages_url":"https://api.github.com/repos/MathyV/lcurse/languages","stargazers_url":"https://api.github.com/repos/MathyV/lcurse/stargazers","contributors_url":"https://api.github.com/repos/MathyV/lcurse/contributors","subscribers_url":"https://api.github.com/repos/MathyV/lcurse/subscribers","subscription_url":"https://api.github.com/repos/MathyV/lcurse/subscription","commits_url":"https://api.github.com/repos/MathyV/lcurse/commits{/sha}","git_commits_url":"https://api.github.com/repos/MathyV/lcurse/git/commits{/sha}","comments_url":"https://api.github.com/repos/MathyV/lcurse/comments{/number}","issue_comment_url":"https://api.github.com/repos/MathyV/lcurse/issues/comments{/number}","contents_url":"https://api.github.com/repos/MathyV/lcurse/contents/{+path}","compare_url":"https://api.github.com/repos/MathyV/lcurse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MathyV/lcurse/merges","archive_url":"https://api.github.com/repos/MathyV/lcurse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MathyV/lcurse/downloads","issues_url":"https://api.github.com/repos/MathyV/lcurse/issues{/number}","pulls_url":"https://api.github.com/repos/MathyV/lcurse/pulls{/number}","milestones_url":"https://api.github.com/repos/MathyV/lcurse/milestones{/number}","notifications_url":"https://api.github.com/repos/MathyV/lcurse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MathyV/lcurse/labels{/name}","releases_url":"https://api.github.com/repos/MathyV/lcurse/releases{/id}","deployments_url":"https://api.github.com/repos/MathyV/lcurse/deployments","created_at":"2016-07-10T18:48:36Z","updated_at":"2016-07-10T18:48:37Z","pushed_at":"2016-07-10T19:00:00Z","git_url":"git://github.com/MathyV/lcurse.git","ssh_url":"git@github.com:MathyV/lcurse.git","clone_url":"https://github.com/MathyV/lcurse.git","svn_url":"https://github.com/MathyV/lcurse","homepage":null,"size":62,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"ephraim:master","ref":"master","sha":"2a27ee1aedbbf9df1f3de5347b6f0a8d478d77c3","user":{"login":"ephraim","id":20429,"avatar_url":"https://avatars.githubusercontent.com/u/20429?v=3","gravatar_id":"","url":"https://api.github.com/users/ephraim","html_url":"https://github.com/ephraim","followers_url":"https://api.github.com/users/ephraim/followers","following_url":"https://api.github.com/users/ephraim/following{/other_user}","gists_url":"https://api.github.com/users/ephraim/gists{/gist_id}","starred_url":"https://api.github.com/users/ephraim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ephraim/subscriptions","organizations_url":"https://api.github.com/users/ephraim/orgs","repos_url":"https://api.github.com/users/ephraim/repos","events_url":"https://api.github.com/users/ephraim/events{/privacy}","received_events_url":"https://api.github.com/users/ephraim/received_events","type":"User","site_admin":false},"repo":{"id":15357865,"name":"lcurse","full_name":"ephraim/lcurse","owner":{"login":"ephraim","id":20429,"avatar_url":"https://avatars.githubusercontent.com/u/20429?v=3","gravatar_id":"","url":"https://api.github.com/users/ephraim","html_url":"https://github.com/ephraim","followers_url":"https://api.github.com/users/ephraim/followers","following_url":"https://api.github.com/users/ephraim/following{/other_user}","gists_url":"https://api.github.com/users/ephraim/gists{/gist_id}","starred_url":"https://api.github.com/users/ephraim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ephraim/subscriptions","organizations_url":"https://api.github.com/users/ephraim/orgs","repos_url":"https://api.github.com/users/ephraim/repos","events_url":"https://api.github.com/users/ephraim/events{/privacy}","received_events_url":"https://api.github.com/users/ephraim/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ephraim/lcurse","description":"Python script to have a \"curse\" compatible client for linux","fork":false,"url":"https://api.github.com/repos/ephraim/lcurse","forks_url":"https://api.github.com/repos/ephraim/lcurse/forks","keys_url":"https://api.github.com/repos/ephraim/lcurse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ephraim/lcurse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ephraim/lcurse/teams","hooks_url":"https://api.github.com/repos/ephraim/lcurse/hooks","issue_events_url":"https://api.github.com/repos/ephraim/lcurse/issues/events{/number}","events_url":"https://api.github.com/repos/ephraim/lcurse/events","assignees_url":"https://api.github.com/repos/ephraim/lcurse/assignees{/user}","branches_url":"https://api.github.com/repos/ephraim/lcurse/branches{/branch}","tags_url":"https://api.github.com/repos/ephraim/lcurse/tags","blobs_url":"https://api.github.com/repos/ephraim/lcurse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ephraim/lcurse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ephraim/lcurse/git/refs{/sha}","trees_url":"https://api.github.com/repos/ephraim/lcurse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ephraim/lcurse/statuses/{sha}","languages_url":"https://api.github.com/repos/ephraim/lcurse/languages","stargazers_url":"https://api.github.com/repos/ephraim/lcurse/stargazers","contributors_url":"https://api.github.com/repos/ephraim/lcurse/contributors","subscribers_url":"https://api.github.com/repos/ephraim/lcurse/subscribers","subscription_url":"https://api.github.com/repos/ephraim/lcurse/subscription","commits_url":"https://api.github.com/repos/ephraim/lcurse/commits{/sha}","git_commits_url":"https://api.github.com/repos/ephraim/lcurse/git/commits{/sha}","comments_url":"https://api.github.com/repos/ephraim/lcurse/comments{/number}","issue_comment_url":"https://api.github.com/repos/ephraim/lcurse/issues/comments{/number}","contents_url":"https://api.github.com/repos/ephraim/lcurse/contents/{+path}","compare_url":"https://api.github.com/repos/ephraim/lcurse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ephraim/lcurse/merges","archive_url":"https://api.github.com/repos/ephraim/lcurse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ephraim/lcurse/downloads","issues_url":"https://api.github.com/repos/ephraim/lcurse/issues{/number}","pulls_url":"https://api.github.com/repos/ephraim/lcurse/pulls{/number}","milestones_url":"https://api.github.com/repos/ephraim/lcurse/milestones{/number}","notifications_url":"https://api.github.com/repos/ephraim/lcurse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ephraim/lcurse/labels{/name}","releases_url":"https://api.github.com/repos/ephraim/lcurse/releases{/id}","deployments_url":"https://api.github.com/repos/ephraim/lcurse/deployments","created_at":"2013-12-21T11:24:22Z","updated_at":"2016-05-11T17:32:39Z","pushed_at":"2016-07-12T20:15:51Z","git_url":"git://github.com/ephraim/lcurse.git","ssh_url":"git@github.com:ephraim/lcurse.git","clone_url":"https://github.com/ephraim/lcurse.git","svn_url":"https://github.com/ephraim/lcurse","homepage":null,"size":91,"stargazers_count":18,"watchers_count":18,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":5,"forks":8,"open_issues":5,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ephraim/lcurse/pulls/18"},"html":{"href":"https://github.com/ephraim/lcurse/pull/18"},"issue":{"href":"https://api.github.com/repos/ephraim/lcurse/issues/18"},"comments":{"href":"https://api.github.com/repos/ephraim/lcurse/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/ephraim/lcurse/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/ephraim/lcurse/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ephraim/lcurse/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/ephraim/lcurse/statuses/48cb8f61f61024b0f14b1e1feb8f070af9d90c31"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ephraim","id":20429,"avatar_url":"https://avatars.githubusercontent.com/u/20429?v=3","gravatar_id":"","url":"https://api.github.com/users/ephraim","html_url":"https://github.com/ephraim","followers_url":"https://api.github.com/users/ephraim/followers","following_url":"https://api.github.com/users/ephraim/following{/other_user}","gists_url":"https://api.github.com/users/ephraim/gists{/gist_id}","starred_url":"https://api.github.com/users/ephraim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ephraim/subscriptions","organizations_url":"https://api.github.com/users/ephraim/orgs","repos_url":"https://api.github.com/users/ephraim/repos","events_url":"https://api.github.com/users/ephraim/events{/privacy}","received_events_url":"https://api.github.com/users/ephraim/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":31,"deletions":13,"changed_files":1}}
{"actor":{"display_login":"ephraim"}}