{"action":"created","comment":{"url":"https://api.github.com/repos/linagora/spews-importer-obm/pulls/comments/79607443","id":79607443,"diff_hunk":"@@ -92,7 +96,7 @@ export class PapiClient {\n     }\n \n     private findBatchErrors(batch): BatchError[] {\n-        return batch.operations.filter(o => o.status === \"ERROR\" || o.error);\n+        return batch.operations.filter(o => o.error || o.status === BatchOperationStatus[BatchOperationStatus.ERROR]);","path":"src/papi-client.ts","position":null,"original_position":41,"commit_id":"ff599f7e7872d2a4b9dbb55eee80a241c4a884a1","original_commit_id":"ff599f7e7872d2a4b9dbb55eee80a241c4a884a1","user":{"login":"fvn-linagora","id":15813847,"avatar_url":"https://avatars.githubusercontent.com/u/15813847?v=3","gravatar_id":"","url":"https://api.github.com/users/fvn-linagora","html_url":"https://github.com/fvn-linagora","followers_url":"https://api.github.com/users/fvn-linagora/followers","following_url":"https://api.github.com/users/fvn-linagora/following{/other_user}","gists_url":"https://api.github.com/users/fvn-linagora/gists{/gist_id}","starred_url":"https://api.github.com/users/fvn-linagora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fvn-linagora/subscriptions","organizations_url":"https://api.github.com/users/fvn-linagora/orgs","repos_url":"https://api.github.com/users/fvn-linagora/repos","events_url":"https://api.github.com/users/fvn-linagora/events{/privacy}","received_events_url":"https://api.github.com/users/fvn-linagora/received_events","type":"User","site_admin":false},"body":"yet again (ie convert o.status to enum before comparing)","created_at":"2016-09-20T13:17:25Z","updated_at":"2016-09-20T13:17:25Z","html_url":"https://github.com/linagora/spews-importer-obm/pull/8#discussion_r79607443","pull_request_url":"https://api.github.com/repos/linagora/spews-importer-obm/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/linagora/spews-importer-obm/pulls/comments/79607443"},"html":{"href":"https://github.com/linagora/spews-importer-obm/pull/8#discussion_r79607443"},"pull_request":{"href":"https://api.github.com/repos/linagora/spews-importer-obm/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/linagora/spews-importer-obm/pulls/8","id":85763451,"html_url":"https://github.com/linagora/spews-importer-obm/pull/8","diff_url":"https://github.com/linagora/spews-importer-obm/pull/8.diff","patch_url":"https://github.com/linagora/spews-importer-obm/pull/8.patch","issue_url":"https://api.github.com/repos/linagora/spews-importer-obm/issues/8","number":8,"state":"open","locked":false,"title":"Log batch errors in a specific file then requeue all","user":{"login":"thomas-hilaire","id":563178,"avatar_url":"https://avatars.githubusercontent.com/u/563178?v=3","gravatar_id":"","url":"https://api.github.com/users/thomas-hilaire","html_url":"https://github.com/thomas-hilaire","followers_url":"https://api.github.com/users/thomas-hilaire/followers","following_url":"https://api.github.com/users/thomas-hilaire/following{/other_user}","gists_url":"https://api.github.com/users/thomas-hilaire/gists{/gist_id}","starred_url":"https://api.github.com/users/thomas-hilaire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomas-hilaire/subscriptions","organizations_url":"https://api.github.com/users/thomas-hilaire/orgs","repos_url":"https://api.github.com/users/thomas-hilaire/repos","events_url":"https://api.github.com/users/thomas-hilaire/events{/privacy}","received_events_url":"https://api.github.com/users/thomas-hilaire/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-19T09:45:46Z","updated_at":"2016-09-20T13:17:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f65559d236777a0f354aa4b70f6d03691072e735","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/linagora/spews-importer-obm/pulls/8/commits","review_comments_url":"https://api.github.com/repos/linagora/spews-importer-obm/pulls/8/comments","review_comment_url":"https://api.github.com/repos/linagora/spews-importer-obm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/linagora/spews-importer-obm/issues/8/comments","statuses_url":"https://api.github.com/repos/linagora/spews-importer-obm/statuses/ff599f7e7872d2a4b9dbb55eee80a241c4a884a1","head":{"label":"thomas-hilaire:5-handle-errors","ref":"5-handle-errors","sha":"ff599f7e7872d2a4b9dbb55eee80a241c4a884a1","user":{"login":"thomas-hilaire","id":563178,"avatar_url":"https://avatars.githubusercontent.com/u/563178?v=3","gravatar_id":"","url":"https://api.github.com/users/thomas-hilaire","html_url":"https://github.com/thomas-hilaire","followers_url":"https://api.github.com/users/thomas-hilaire/followers","following_url":"https://api.github.com/users/thomas-hilaire/following{/other_user}","gists_url":"https://api.github.com/users/thomas-hilaire/gists{/gist_id}","starred_url":"https://api.github.com/users/thomas-hilaire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomas-hilaire/subscriptions","organizations_url":"https://api.github.com/users/thomas-hilaire/orgs","repos_url":"https://api.github.com/users/thomas-hilaire/repos","events_url":"https://api.github.com/users/thomas-hilaire/events{/privacy}","received_events_url":"https://api.github.com/users/thomas-hilaire/received_events","type":"User","site_admin":false},"repo":{"id":66477357,"name":"spews-importer-obm","full_name":"thomas-hilaire/spews-importer-obm","owner":{"login":"thomas-hilaire","id":563178,"avatar_url":"https://avatars.githubusercontent.com/u/563178?v=3","gravatar_id":"","url":"https://api.github.com/users/thomas-hilaire","html_url":"https://github.com/thomas-hilaire","followers_url":"https://api.github.com/users/thomas-hilaire/followers","following_url":"https://api.github.com/users/thomas-hilaire/following{/other_user}","gists_url":"https://api.github.com/users/thomas-hilaire/gists{/gist_id}","starred_url":"https://api.github.com/users/thomas-hilaire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomas-hilaire/subscriptions","organizations_url":"https://api.github.com/users/thomas-hilaire/orgs","repos_url":"https://api.github.com/users/thomas-hilaire/repos","events_url":"https://api.github.com/users/thomas-hilaire/events{/privacy}","received_events_url":"https://api.github.com/users/thomas-hilaire/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thomas-hilaire/spews-importer-obm","description":"Tools that read SPEWS specific data, to migrate them to OBM using its provisioning API","fork":true,"url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm","forks_url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm/forks","keys_url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm/teams","hooks_url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm/hooks","issue_events_url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm/issues/events{/number}","events_url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm/events","assignees_url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm/assignees{/user}","branches_url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm/branches{/branch}","tags_url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm/tags","blobs_url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm/git/refs{/sha}","trees_url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm/statuses/{sha}","languages_url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm/languages","stargazers_url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm/stargazers","contributors_url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm/contributors","subscribers_url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm/subscribers","subscription_url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm/subscription","commits_url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm/commits{/sha}","git_commits_url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm/git/commits{/sha}","comments_url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm/comments{/number}","issue_comment_url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm/issues/comments{/number}","contents_url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm/contents/{+path}","compare_url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm/merges","archive_url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm/downloads","issues_url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm/issues{/number}","pulls_url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm/pulls{/number}","milestones_url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm/milestones{/number}","notifications_url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm/labels{/name}","releases_url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm/releases{/id}","deployments_url":"https://api.github.com/repos/thomas-hilaire/spews-importer-obm/deployments","created_at":"2016-08-24T15:44:47Z","updated_at":"2016-08-24T15:34:53Z","pushed_at":"2016-09-20T13:00:10Z","git_url":"git://github.com/thomas-hilaire/spews-importer-obm.git","ssh_url":"git@github.com:thomas-hilaire/spews-importer-obm.git","clone_url":"https://github.com/thomas-hilaire/spews-importer-obm.git","svn_url":"https://github.com/thomas-hilaire/spews-importer-obm","homepage":null,"size":26,"stargazers_count":0,"watchers_count":0,"language":null,"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":"linagora:master","ref":"master","sha":"dcc52160e0e5dfd866aaef62ce2430ed54681ee3","user":{"login":"linagora","id":1230365,"avatar_url":"https://avatars.githubusercontent.com/u/1230365?v=3","gravatar_id":"","url":"https://api.github.com/users/linagora","html_url":"https://github.com/linagora","followers_url":"https://api.github.com/users/linagora/followers","following_url":"https://api.github.com/users/linagora/following{/other_user}","gists_url":"https://api.github.com/users/linagora/gists{/gist_id}","starred_url":"https://api.github.com/users/linagora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linagora/subscriptions","organizations_url":"https://api.github.com/users/linagora/orgs","repos_url":"https://api.github.com/users/linagora/repos","events_url":"https://api.github.com/users/linagora/events{/privacy}","received_events_url":"https://api.github.com/users/linagora/received_events","type":"Organization","site_admin":false},"repo":{"id":66476610,"name":"spews-importer-obm","full_name":"linagora/spews-importer-obm","owner":{"login":"linagora","id":1230365,"avatar_url":"https://avatars.githubusercontent.com/u/1230365?v=3","gravatar_id":"","url":"https://api.github.com/users/linagora","html_url":"https://github.com/linagora","followers_url":"https://api.github.com/users/linagora/followers","following_url":"https://api.github.com/users/linagora/following{/other_user}","gists_url":"https://api.github.com/users/linagora/gists{/gist_id}","starred_url":"https://api.github.com/users/linagora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linagora/subscriptions","organizations_url":"https://api.github.com/users/linagora/orgs","repos_url":"https://api.github.com/users/linagora/repos","events_url":"https://api.github.com/users/linagora/events{/privacy}","received_events_url":"https://api.github.com/users/linagora/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/linagora/spews-importer-obm","description":"Tools that read SPEWS specific data, to migrate them to OBM using its provisioning API","fork":false,"url":"https://api.github.com/repos/linagora/spews-importer-obm","forks_url":"https://api.github.com/repos/linagora/spews-importer-obm/forks","keys_url":"https://api.github.com/repos/linagora/spews-importer-obm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/linagora/spews-importer-obm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/linagora/spews-importer-obm/teams","hooks_url":"https://api.github.com/repos/linagora/spews-importer-obm/hooks","issue_events_url":"https://api.github.com/repos/linagora/spews-importer-obm/issues/events{/number}","events_url":"https://api.github.com/repos/linagora/spews-importer-obm/events","assignees_url":"https://api.github.com/repos/linagora/spews-importer-obm/assignees{/user}","branches_url":"https://api.github.com/repos/linagora/spews-importer-obm/branches{/branch}","tags_url":"https://api.github.com/repos/linagora/spews-importer-obm/tags","blobs_url":"https://api.github.com/repos/linagora/spews-importer-obm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/linagora/spews-importer-obm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/linagora/spews-importer-obm/git/refs{/sha}","trees_url":"https://api.github.com/repos/linagora/spews-importer-obm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/linagora/spews-importer-obm/statuses/{sha}","languages_url":"https://api.github.com/repos/linagora/spews-importer-obm/languages","stargazers_url":"https://api.github.com/repos/linagora/spews-importer-obm/stargazers","contributors_url":"https://api.github.com/repos/linagora/spews-importer-obm/contributors","subscribers_url":"https://api.github.com/repos/linagora/spews-importer-obm/subscribers","subscription_url":"https://api.github.com/repos/linagora/spews-importer-obm/subscription","commits_url":"https://api.github.com/repos/linagora/spews-importer-obm/commits{/sha}","git_commits_url":"https://api.github.com/repos/linagora/spews-importer-obm/git/commits{/sha}","comments_url":"https://api.github.com/repos/linagora/spews-importer-obm/comments{/number}","issue_comment_url":"https://api.github.com/repos/linagora/spews-importer-obm/issues/comments{/number}","contents_url":"https://api.github.com/repos/linagora/spews-importer-obm/contents/{+path}","compare_url":"https://api.github.com/repos/linagora/spews-importer-obm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/linagora/spews-importer-obm/merges","archive_url":"https://api.github.com/repos/linagora/spews-importer-obm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/linagora/spews-importer-obm/downloads","issues_url":"https://api.github.com/repos/linagora/spews-importer-obm/issues{/number}","pulls_url":"https://api.github.com/repos/linagora/spews-importer-obm/pulls{/number}","milestones_url":"https://api.github.com/repos/linagora/spews-importer-obm/milestones{/number}","notifications_url":"https://api.github.com/repos/linagora/spews-importer-obm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/linagora/spews-importer-obm/labels{/name}","releases_url":"https://api.github.com/repos/linagora/spews-importer-obm/releases{/id}","deployments_url":"https://api.github.com/repos/linagora/spews-importer-obm/deployments","created_at":"2016-08-24T15:34:53Z","updated_at":"2016-08-25T16:15:15Z","pushed_at":"2016-09-20T13:00:12Z","git_url":"git://github.com/linagora/spews-importer-obm.git","ssh_url":"git@github.com:linagora/spews-importer-obm.git","clone_url":"https://github.com/linagora/spews-importer-obm.git","svn_url":"https://github.com/linagora/spews-importer-obm","homepage":null,"size":16,"stargazers_count":1,"watchers_count":1,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/linagora/spews-importer-obm/pulls/8"},"html":{"href":"https://github.com/linagora/spews-importer-obm/pull/8"},"issue":{"href":"https://api.github.com/repos/linagora/spews-importer-obm/issues/8"},"comments":{"href":"https://api.github.com/repos/linagora/spews-importer-obm/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/linagora/spews-importer-obm/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/linagora/spews-importer-obm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/linagora/spews-importer-obm/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/linagora/spews-importer-obm/statuses/ff599f7e7872d2a4b9dbb55eee80a241c4a884a1"}}}}
{"actor":{"display_login":"fvn-linagora"}}