{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/pulls/2","id":168636652,"html_url":"https://github.com/Financial-Times/publish-failure-resolver-go/pull/2","diff_url":"https://github.com/Financial-Times/publish-failure-resolver-go/pull/2.diff","patch_url":"https://github.com/Financial-Times/publish-failure-resolver-go/pull/2.patch","issue_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/issues/2","number":2,"state":"open","locked":false,"title":"ImageSet republishing changes","user":{"login":"khatton-ft","id":13764345,"avatar_url":"https://avatars0.githubusercontent.com/u/13764345?v=4","gravatar_id":"","url":"https://api.github.com/users/khatton-ft","html_url":"https://github.com/khatton-ft","followers_url":"https://api.github.com/users/khatton-ft/followers","following_url":"https://api.github.com/users/khatton-ft/following{/other_user}","gists_url":"https://api.github.com/users/khatton-ft/gists{/gist_id}","starred_url":"https://api.github.com/users/khatton-ft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khatton-ft/subscriptions","organizations_url":"https://api.github.com/users/khatton-ft/orgs","repos_url":"https://api.github.com/users/khatton-ft/repos","events_url":"https://api.github.com/users/khatton-ft/events{/privacy}","received_events_url":"https://api.github.com/users/khatton-ft/received_events","type":"User","site_admin":false},"body":"I abandoned my previous 10-percent time changes to assist republishing, which was a server-side solution in nativerw, because this does most of what I was trying to achieve there. However there are a few things I found, such as the requirement that an image set has already been published successfully somewhere, which I was keen to avoid, so there are some changes here to make that optional. I'm also not convinced that parallel republishing is useful, so I've made it optional. The main other change is to return a non-zero status unless the code posts every UUID to the notifier successfully. This should cause the Jenkins job to fail visibly, which would be more useful than appearing to succeed when it may not actually have republished anything.","created_at":"2018-02-12T17:09:40Z","updated_at":"2018-02-12T17:09:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/pulls/2/commits","review_comments_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/pulls/2/comments","review_comment_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/issues/2/comments","statuses_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/statuses/66154eb46ea9790c411fb185997b70dda49ef642","head":{"label":"Financial-Times:10pc/image-set-changes","ref":"10pc/image-set-changes","sha":"66154eb46ea9790c411fb185997b70dda49ef642","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars1.githubusercontent.com/u/3502508?v=4","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":114903499,"name":"publish-failure-resolver-go","full_name":"Financial-Times/publish-failure-resolver-go","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars1.githubusercontent.com/u/3502508?v=4","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/publish-failure-resolver-go","description":"Reimport and/or republish content and lists in UPP.","fork":false,"url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go","forks_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/forks","keys_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/teams","hooks_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/events","assignees_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/tags","blobs_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/subscription","commits_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/merges","archive_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/downloads","issues_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/releases{/id}","deployments_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/deployments","created_at":"2017-12-20T15:37:18Z","updated_at":"2018-01-19T14:11:15Z","pushed_at":"2018-02-12T17:00:35Z","git_url":"git://github.com/Financial-Times/publish-failure-resolver-go.git","ssh_url":"git@github.com:Financial-Times/publish-failure-resolver-go.git","clone_url":"https://github.com/Financial-Times/publish-failure-resolver-go.git","svn_url":"https://github.com/Financial-Times/publish-failure-resolver-go","homepage":"","size":92,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Financial-Times:master","ref":"master","sha":"b9de9c90f593ca1918113b55fec43c4afb0f6cea","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars1.githubusercontent.com/u/3502508?v=4","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":114903499,"name":"publish-failure-resolver-go","full_name":"Financial-Times/publish-failure-resolver-go","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars1.githubusercontent.com/u/3502508?v=4","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/publish-failure-resolver-go","description":"Reimport and/or republish content and lists in UPP.","fork":false,"url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go","forks_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/forks","keys_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/teams","hooks_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/events","assignees_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/tags","blobs_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/subscription","commits_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/merges","archive_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/downloads","issues_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/releases{/id}","deployments_url":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/deployments","created_at":"2017-12-20T15:37:18Z","updated_at":"2018-01-19T14:11:15Z","pushed_at":"2018-02-12T17:00:35Z","git_url":"git://github.com/Financial-Times/publish-failure-resolver-go.git","ssh_url":"git@github.com:Financial-Times/publish-failure-resolver-go.git","clone_url":"https://github.com/Financial-Times/publish-failure-resolver-go.git","svn_url":"https://github.com/Financial-Times/publish-failure-resolver-go","homepage":"","size":92,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/pulls/2"},"html":{"href":"https://github.com/Financial-Times/publish-failure-resolver-go/pull/2"},"issue":{"href":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/issues/2"},"comments":{"href":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/Financial-Times/publish-failure-resolver-go/statuses/66154eb46ea9790c411fb185997b70dda49ef642"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":5,"additions":247,"deletions":30,"changed_files":10}}
{"actor":{"display_login":"khatton-ft"}}