{"action":"created","comment":{"url":"https://api.github.com/repos/tducasse/go-instabot/pulls/comments/191061373","pull_request_review_id":123569270,"id":191061373,"diff_hunk":"@@ -175,6 +182,11 @@ func goThrough(images response.TagFeedsResponse) {\n \t\t\tcontinue\n \t\t}\n \n+\t\t// Check if we should fetch new images for tag\n+\t\tif i >= limits[\"follow\"] && i >= limits[\"like\"] && i >= limits[\"comment\"] {","path":"insta.go","position":33,"original_position":33,"commit_id":"e4b350b058feb0f61cd98b21e5a8cf6d6a094c55","original_commit_id":"e4b350b058feb0f61cd98b21e5a8cf6d6a094c55","user":{"login":"tducasse","id":11507599,"avatar_url":"https://avatars0.githubusercontent.com/u/11507599?v=4","gravatar_id":"","url":"https://api.github.com/users/tducasse","html_url":"https://github.com/tducasse","followers_url":"https://api.github.com/users/tducasse/followers","following_url":"https://api.github.com/users/tducasse/following{/other_user}","gists_url":"https://api.github.com/users/tducasse/gists{/gist_id}","starred_url":"https://api.github.com/users/tducasse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tducasse/subscriptions","organizations_url":"https://api.github.com/users/tducasse/orgs","repos_url":"https://api.github.com/users/tducasse/repos","events_url":"https://api.github.com/users/tducasse/events{/privacy}","received_events_url":"https://api.github.com/users/tducasse/received_events","type":"User","site_admin":false},"body":"This is fine by me","created_at":"2018-05-27T00:19:01Z","updated_at":"2018-05-27T00:19:42Z","html_url":"https://github.com/tducasse/go-instabot/pull/8#discussion_r191061373","pull_request_url":"https://api.github.com/repos/tducasse/go-instabot/pulls/8","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/tducasse/go-instabot/pulls/comments/191061373"},"html":{"href":"https://github.com/tducasse/go-instabot/pull/8#discussion_r191061373"},"pull_request":{"href":"https://api.github.com/repos/tducasse/go-instabot/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/tducasse/go-instabot/pulls/8","id":190439206,"html_url":"https://github.com/tducasse/go-instabot/pull/8","diff_url":"https://github.com/tducasse/go-instabot/pull/8.diff","patch_url":"https://github.com/tducasse/go-instabot/pull/8.patch","issue_url":"https://api.github.com/repos/tducasse/go-instabot/issues/8","number":8,"state":"open","locked":false,"title":"Fix: Don't iterate forever over image list for a single tag","user":{"login":"sklinkert","id":4770842,"avatar_url":"https://avatars0.githubusercontent.com/u/4770842?v=4","gravatar_id":"","url":"https://api.github.com/users/sklinkert","html_url":"https://github.com/sklinkert","followers_url":"https://api.github.com/users/sklinkert/followers","following_url":"https://api.github.com/users/sklinkert/following{/other_user}","gists_url":"https://api.github.com/users/sklinkert/gists{/gist_id}","starred_url":"https://api.github.com/users/sklinkert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sklinkert/subscriptions","organizations_url":"https://api.github.com/users/sklinkert/orgs","repos_url":"https://api.github.com/users/sklinkert/repos","events_url":"https://api.github.com/users/sklinkert/events{/privacy}","received_events_url":"https://api.github.com/users/sklinkert/received_events","type":"User","site_admin":false},"body":"...if there aren't enough images to complete all like, comment, and follow\r\njobs. The bot will now try to get some fresh images for tags. Furthermore,\r\nwith the new config parameter \"limits.maxRetry\" you are able to configure\r\nhow often the bot will try to get new images for the current tag until the\r\nnext tag will be checked. Tag limits (e.g. number of likes) in config.json\r\nwill be handled on a 'best effort' basis.","created_at":"2018-05-24T22:39:18Z","updated_at":"2018-05-27T00:19:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ee78d8b7779df7e6d6cec06d44006581540a6392","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/tducasse/go-instabot/pulls/8/commits","review_comments_url":"https://api.github.com/repos/tducasse/go-instabot/pulls/8/comments","review_comment_url":"https://api.github.com/repos/tducasse/go-instabot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tducasse/go-instabot/issues/8/comments","statuses_url":"https://api.github.com/repos/tducasse/go-instabot/statuses/e4b350b058feb0f61cd98b21e5a8cf6d6a094c55","head":{"label":"sklinkert:max-retry","ref":"max-retry","sha":"e4b350b058feb0f61cd98b21e5a8cf6d6a094c55","user":{"login":"sklinkert","id":4770842,"avatar_url":"https://avatars0.githubusercontent.com/u/4770842?v=4","gravatar_id":"","url":"https://api.github.com/users/sklinkert","html_url":"https://github.com/sklinkert","followers_url":"https://api.github.com/users/sklinkert/followers","following_url":"https://api.github.com/users/sklinkert/following{/other_user}","gists_url":"https://api.github.com/users/sklinkert/gists{/gist_id}","starred_url":"https://api.github.com/users/sklinkert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sklinkert/subscriptions","organizations_url":"https://api.github.com/users/sklinkert/orgs","repos_url":"https://api.github.com/users/sklinkert/repos","events_url":"https://api.github.com/users/sklinkert/events{/privacy}","received_events_url":"https://api.github.com/users/sklinkert/received_events","type":"User","site_admin":false},"repo":{"id":133851892,"name":"go-instabot","full_name":"sklinkert/go-instabot","owner":{"login":"sklinkert","id":4770842,"avatar_url":"https://avatars0.githubusercontent.com/u/4770842?v=4","gravatar_id":"","url":"https://api.github.com/users/sklinkert","html_url":"https://github.com/sklinkert","followers_url":"https://api.github.com/users/sklinkert/followers","following_url":"https://api.github.com/users/sklinkert/following{/other_user}","gists_url":"https://api.github.com/users/sklinkert/gists{/gist_id}","starred_url":"https://api.github.com/users/sklinkert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sklinkert/subscriptions","organizations_url":"https://api.github.com/users/sklinkert/orgs","repos_url":"https://api.github.com/users/sklinkert/repos","events_url":"https://api.github.com/users/sklinkert/events{/privacy}","received_events_url":"https://api.github.com/users/sklinkert/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sklinkert/go-instabot","description":"Automatically follow, like, and comment on instagram","fork":true,"url":"https://api.github.com/repos/sklinkert/go-instabot","forks_url":"https://api.github.com/repos/sklinkert/go-instabot/forks","keys_url":"https://api.github.com/repos/sklinkert/go-instabot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sklinkert/go-instabot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sklinkert/go-instabot/teams","hooks_url":"https://api.github.com/repos/sklinkert/go-instabot/hooks","issue_events_url":"https://api.github.com/repos/sklinkert/go-instabot/issues/events{/number}","events_url":"https://api.github.com/repos/sklinkert/go-instabot/events","assignees_url":"https://api.github.com/repos/sklinkert/go-instabot/assignees{/user}","branches_url":"https://api.github.com/repos/sklinkert/go-instabot/branches{/branch}","tags_url":"https://api.github.com/repos/sklinkert/go-instabot/tags","blobs_url":"https://api.github.com/repos/sklinkert/go-instabot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sklinkert/go-instabot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sklinkert/go-instabot/git/refs{/sha}","trees_url":"https://api.github.com/repos/sklinkert/go-instabot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sklinkert/go-instabot/statuses/{sha}","languages_url":"https://api.github.com/repos/sklinkert/go-instabot/languages","stargazers_url":"https://api.github.com/repos/sklinkert/go-instabot/stargazers","contributors_url":"https://api.github.com/repos/sklinkert/go-instabot/contributors","subscribers_url":"https://api.github.com/repos/sklinkert/go-instabot/subscribers","subscription_url":"https://api.github.com/repos/sklinkert/go-instabot/subscription","commits_url":"https://api.github.com/repos/sklinkert/go-instabot/commits{/sha}","git_commits_url":"https://api.github.com/repos/sklinkert/go-instabot/git/commits{/sha}","comments_url":"https://api.github.com/repos/sklinkert/go-instabot/comments{/number}","issue_comment_url":"https://api.github.com/repos/sklinkert/go-instabot/issues/comments{/number}","contents_url":"https://api.github.com/repos/sklinkert/go-instabot/contents/{+path}","compare_url":"https://api.github.com/repos/sklinkert/go-instabot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sklinkert/go-instabot/merges","archive_url":"https://api.github.com/repos/sklinkert/go-instabot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sklinkert/go-instabot/downloads","issues_url":"https://api.github.com/repos/sklinkert/go-instabot/issues{/number}","pulls_url":"https://api.github.com/repos/sklinkert/go-instabot/pulls{/number}","milestones_url":"https://api.github.com/repos/sklinkert/go-instabot/milestones{/number}","notifications_url":"https://api.github.com/repos/sklinkert/go-instabot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sklinkert/go-instabot/labels{/name}","releases_url":"https://api.github.com/repos/sklinkert/go-instabot/releases{/id}","deployments_url":"https://api.github.com/repos/sklinkert/go-instabot/deployments","created_at":"2018-05-17T18:17:05Z","updated_at":"2018-05-24T08:44:16Z","pushed_at":"2018-05-24T22:16:19Z","git_url":"git://github.com/sklinkert/go-instabot.git","ssh_url":"git@github.com:sklinkert/go-instabot.git","clone_url":"https://github.com/sklinkert/go-instabot.git","svn_url":"https://github.com/sklinkert/go-instabot","homepage":null,"size":700,"stargazers_count":0,"watchers_count":0,"language":"Go","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":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tducasse:master","ref":"master","sha":"3d3ab9de51d4e1d25258f1f3bc2e5eed0946833c","user":{"login":"tducasse","id":11507599,"avatar_url":"https://avatars0.githubusercontent.com/u/11507599?v=4","gravatar_id":"","url":"https://api.github.com/users/tducasse","html_url":"https://github.com/tducasse","followers_url":"https://api.github.com/users/tducasse/followers","following_url":"https://api.github.com/users/tducasse/following{/other_user}","gists_url":"https://api.github.com/users/tducasse/gists{/gist_id}","starred_url":"https://api.github.com/users/tducasse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tducasse/subscriptions","organizations_url":"https://api.github.com/users/tducasse/orgs","repos_url":"https://api.github.com/users/tducasse/repos","events_url":"https://api.github.com/users/tducasse/events{/privacy}","received_events_url":"https://api.github.com/users/tducasse/received_events","type":"User","site_admin":false},"repo":{"id":98921671,"name":"go-instabot","full_name":"tducasse/go-instabot","owner":{"login":"tducasse","id":11507599,"avatar_url":"https://avatars0.githubusercontent.com/u/11507599?v=4","gravatar_id":"","url":"https://api.github.com/users/tducasse","html_url":"https://github.com/tducasse","followers_url":"https://api.github.com/users/tducasse/followers","following_url":"https://api.github.com/users/tducasse/following{/other_user}","gists_url":"https://api.github.com/users/tducasse/gists{/gist_id}","starred_url":"https://api.github.com/users/tducasse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tducasse/subscriptions","organizations_url":"https://api.github.com/users/tducasse/orgs","repos_url":"https://api.github.com/users/tducasse/repos","events_url":"https://api.github.com/users/tducasse/events{/privacy}","received_events_url":"https://api.github.com/users/tducasse/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tducasse/go-instabot","description":"Automatically follow, like, and comment on instagram","fork":false,"url":"https://api.github.com/repos/tducasse/go-instabot","forks_url":"https://api.github.com/repos/tducasse/go-instabot/forks","keys_url":"https://api.github.com/repos/tducasse/go-instabot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tducasse/go-instabot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tducasse/go-instabot/teams","hooks_url":"https://api.github.com/repos/tducasse/go-instabot/hooks","issue_events_url":"https://api.github.com/repos/tducasse/go-instabot/issues/events{/number}","events_url":"https://api.github.com/repos/tducasse/go-instabot/events","assignees_url":"https://api.github.com/repos/tducasse/go-instabot/assignees{/user}","branches_url":"https://api.github.com/repos/tducasse/go-instabot/branches{/branch}","tags_url":"https://api.github.com/repos/tducasse/go-instabot/tags","blobs_url":"https://api.github.com/repos/tducasse/go-instabot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tducasse/go-instabot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tducasse/go-instabot/git/refs{/sha}","trees_url":"https://api.github.com/repos/tducasse/go-instabot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tducasse/go-instabot/statuses/{sha}","languages_url":"https://api.github.com/repos/tducasse/go-instabot/languages","stargazers_url":"https://api.github.com/repos/tducasse/go-instabot/stargazers","contributors_url":"https://api.github.com/repos/tducasse/go-instabot/contributors","subscribers_url":"https://api.github.com/repos/tducasse/go-instabot/subscribers","subscription_url":"https://api.github.com/repos/tducasse/go-instabot/subscription","commits_url":"https://api.github.com/repos/tducasse/go-instabot/commits{/sha}","git_commits_url":"https://api.github.com/repos/tducasse/go-instabot/git/commits{/sha}","comments_url":"https://api.github.com/repos/tducasse/go-instabot/comments{/number}","issue_comment_url":"https://api.github.com/repos/tducasse/go-instabot/issues/comments{/number}","contents_url":"https://api.github.com/repos/tducasse/go-instabot/contents/{+path}","compare_url":"https://api.github.com/repos/tducasse/go-instabot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tducasse/go-instabot/merges","archive_url":"https://api.github.com/repos/tducasse/go-instabot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tducasse/go-instabot/downloads","issues_url":"https://api.github.com/repos/tducasse/go-instabot/issues{/number}","pulls_url":"https://api.github.com/repos/tducasse/go-instabot/pulls{/number}","milestones_url":"https://api.github.com/repos/tducasse/go-instabot/milestones{/number}","notifications_url":"https://api.github.com/repos/tducasse/go-instabot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tducasse/go-instabot/labels{/name}","releases_url":"https://api.github.com/repos/tducasse/go-instabot/releases{/id}","deployments_url":"https://api.github.com/repos/tducasse/go-instabot/deployments","created_at":"2017-07-31T19:18:28Z","updated_at":"2018-05-22T08:09:04Z","pushed_at":"2018-05-24T22:39:19Z","git_url":"git://github.com/tducasse/go-instabot.git","ssh_url":"git@github.com:tducasse/go-instabot.git","clone_url":"https://github.com/tducasse/go-instabot.git","svn_url":"https://github.com/tducasse/go-instabot","homepage":null,"size":698,"stargazers_count":37,"watchers_count":37,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":12,"open_issues":2,"watchers":37,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tducasse/go-instabot/pulls/8"},"html":{"href":"https://github.com/tducasse/go-instabot/pull/8"},"issue":{"href":"https://api.github.com/repos/tducasse/go-instabot/issues/8"},"comments":{"href":"https://api.github.com/repos/tducasse/go-instabot/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/tducasse/go-instabot/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/tducasse/go-instabot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tducasse/go-instabot/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/tducasse/go-instabot/statuses/e4b350b058feb0f61cd98b21e5a8cf6d6a094c55"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"tducasse"}}