{"action":"created","comment":{"url":"https://api.github.com/repos/cozy-labs/cozy-desktop/pulls/comments/240540514","pull_request_review_id":183589442,"id":240540514,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MDU0MDUxNA==","diff_hunk":"@@ -772,4 +774,67 @@ describe('metadata', function () {\n       should(upToDate(doc).errors).be.undefined()\n     })\n   })\n+\n+  describe('generated a doc with conflict', () => {","path":"test/unit/metadata.js","position":16,"original_position":16,"commit_id":"6536da2f7ccbd33d9337c78d01af6509bb9b163b","original_commit_id":"6536da2f7ccbd33d9337c78d01af6509bb9b163b","user":{"login":"enguerran","id":701648,"node_id":"MDQ6VXNlcjcwMTY0OA==","avatar_url":"https://avatars1.githubusercontent.com/u/701648?v=4","gravatar_id":"","url":"https://api.github.com/users/enguerran","html_url":"https://github.com/enguerran","followers_url":"https://api.github.com/users/enguerran/followers","following_url":"https://api.github.com/users/enguerran/following{/other_user}","gists_url":"https://api.github.com/users/enguerran/gists{/gist_id}","starred_url":"https://api.github.com/users/enguerran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enguerran/subscriptions","organizations_url":"https://api.github.com/users/enguerran/orgs","repos_url":"https://api.github.com/users/enguerran/repos","events_url":"https://api.github.com/users/enguerran/events{/privacy}","received_events_url":"https://api.github.com/users/enguerran/received_events","type":"User","site_admin":false},"body":"Why add more coupling? What if the function name changes?","created_at":"2018-12-11T09:54:54Z","updated_at":"2018-12-11T09:54:54Z","html_url":"https://github.com/cozy-labs/cozy-desktop/pull/1333#discussion_r240540514","pull_request_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/pulls/1333","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/cozy-labs/cozy-desktop/pulls/comments/240540514"},"html":{"href":"https://github.com/cozy-labs/cozy-desktop/pull/1333#discussion_r240540514"},"pull_request":{"href":"https://api.github.com/repos/cozy-labs/cozy-desktop/pulls/1333"}},"in_reply_to_id":240510447},"pull_request":{"url":"https://api.github.com/repos/cozy-labs/cozy-desktop/pulls/1333","id":236799067,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2Nzk5MDY3","html_url":"https://github.com/cozy-labs/cozy-desktop/pull/1333","diff_url":"https://github.com/cozy-labs/cozy-desktop/pull/1333.diff","patch_url":"https://github.com/cozy-labs/cozy-desktop/pull/1333.patch","issue_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/issues/1333","number":1333,"state":"open","locked":false,"title":"test: Add tests for createConflictingDoc","user":{"login":"enguerran","id":701648,"node_id":"MDQ6VXNlcjcwMTY0OA==","avatar_url":"https://avatars1.githubusercontent.com/u/701648?v=4","gravatar_id":"","url":"https://api.github.com/users/enguerran","html_url":"https://github.com/enguerran","followers_url":"https://api.github.com/users/enguerran/followers","following_url":"https://api.github.com/users/enguerran/following{/other_user}","gists_url":"https://api.github.com/users/enguerran/gists{/gist_id}","starred_url":"https://api.github.com/users/enguerran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enguerran/subscriptions","organizations_url":"https://api.github.com/users/enguerran/orgs","repos_url":"https://api.github.com/users/enguerran/repos","events_url":"https://api.github.com/users/enguerran/events{/privacy}","received_events_url":"https://api.github.com/users/enguerran/received_events","type":"User","site_admin":false},"body":"The function were extracted to metadata.js,\nthen covered by tests.\n\n\nPlease make sure the following boxes are checked:\n\n- [x] PR is not too big\n- [x] it improves UX & DX in some way\n- [x] it includes tests matching the implementation changes\n- [ ] it includes relevant documentation","created_at":"2018-12-07T09:13:40Z","updated_at":"2018-12-11T09:54:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0139a87ef4e0cf4e805d187ae0151a45d7014a5e","assignee":null,"assignees":[],"requested_reviewers":[{"login":"aenario","id":1580287,"node_id":"MDQ6VXNlcjE1ODAyODc=","avatar_url":"https://avatars3.githubusercontent.com/u/1580287?v=4","gravatar_id":"","url":"https://api.github.com/users/aenario","html_url":"https://github.com/aenario","followers_url":"https://api.github.com/users/aenario/followers","following_url":"https://api.github.com/users/aenario/following{/other_user}","gists_url":"https://api.github.com/users/aenario/gists{/gist_id}","starred_url":"https://api.github.com/users/aenario/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aenario/subscriptions","organizations_url":"https://api.github.com/users/aenario/orgs","repos_url":"https://api.github.com/users/aenario/repos","events_url":"https://api.github.com/users/aenario/events{/privacy}","received_events_url":"https://api.github.com/users/aenario/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/pulls/1333/commits","review_comments_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/pulls/1333/comments","review_comment_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/issues/1333/comments","statuses_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/statuses/6536da2f7ccbd33d9337c78d01af6509bb9b163b","head":{"label":"cozy-labs:fix/conflictingdocname","ref":"fix/conflictingdocname","sha":"6536da2f7ccbd33d9337c78d01af6509bb9b163b","user":{"login":"cozy-labs","id":8415593,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg0MTU1OTM=","avatar_url":"https://avatars0.githubusercontent.com/u/8415593?v=4","gravatar_id":"","url":"https://api.github.com/users/cozy-labs","html_url":"https://github.com/cozy-labs","followers_url":"https://api.github.com/users/cozy-labs/followers","following_url":"https://api.github.com/users/cozy-labs/following{/other_user}","gists_url":"https://api.github.com/users/cozy-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/cozy-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cozy-labs/subscriptions","organizations_url":"https://api.github.com/users/cozy-labs/orgs","repos_url":"https://api.github.com/users/cozy-labs/repos","events_url":"https://api.github.com/users/cozy-labs/events{/privacy}","received_events_url":"https://api.github.com/users/cozy-labs/received_events","type":"Organization","site_admin":false},"repo":{"id":23385363,"node_id":"MDEwOlJlcG9zaXRvcnkyMzM4NTM2Mw==","name":"cozy-desktop","full_name":"cozy-labs/cozy-desktop","private":false,"owner":{"login":"cozy-labs","id":8415593,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg0MTU1OTM=","avatar_url":"https://avatars0.githubusercontent.com/u/8415593?v=4","gravatar_id":"","url":"https://api.github.com/users/cozy-labs","html_url":"https://github.com/cozy-labs","followers_url":"https://api.github.com/users/cozy-labs/followers","following_url":"https://api.github.com/users/cozy-labs/following{/other_user}","gists_url":"https://api.github.com/users/cozy-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/cozy-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cozy-labs/subscriptions","organizations_url":"https://api.github.com/users/cozy-labs/orgs","repos_url":"https://api.github.com/users/cozy-labs/repos","events_url":"https://api.github.com/users/cozy-labs/events{/privacy}","received_events_url":"https://api.github.com/users/cozy-labs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/cozy-labs/cozy-desktop","description":"File Synchronisation for Cozy on Desktop and Laptop","fork":false,"url":"https://api.github.com/repos/cozy-labs/cozy-desktop","forks_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/forks","keys_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/teams","hooks_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/hooks","issue_events_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/issues/events{/number}","events_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/events","assignees_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/assignees{/user}","branches_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/branches{/branch}","tags_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/tags","blobs_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/git/refs{/sha}","trees_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/statuses/{sha}","languages_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/languages","stargazers_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/stargazers","contributors_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/contributors","subscribers_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/subscribers","subscription_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/subscription","commits_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/commits{/sha}","git_commits_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/git/commits{/sha}","comments_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/comments{/number}","issue_comment_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/issues/comments{/number}","contents_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/contents/{+path}","compare_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/merges","archive_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/downloads","issues_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/issues{/number}","pulls_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/pulls{/number}","milestones_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/milestones{/number}","notifications_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/labels{/name}","releases_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/releases{/id}","deployments_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/deployments","created_at":"2014-08-27T10:10:38Z","updated_at":"2018-12-11T07:28:11Z","pushed_at":"2018-12-11T09:46:35Z","git_url":"git://github.com/cozy-labs/cozy-desktop.git","ssh_url":"git@github.com:cozy-labs/cozy-desktop.git","clone_url":"https://github.com/cozy-labs/cozy-desktop.git","svn_url":"https://github.com/cozy-labs/cozy-desktop","homepage":"https://cozy-labs.github.io/cozy-desktop/","size":10363,"stargazers_count":45,"watchers_count":45,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":32,"mirror_url":null,"archived":false,"open_issues_count":17,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":32,"open_issues":17,"watchers":45,"default_branch":"master"}},"base":{"label":"cozy-labs:master","ref":"master","sha":"84688058e7d7373aaceaf1e2f4c0f8eb0cd071f7","user":{"login":"cozy-labs","id":8415593,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg0MTU1OTM=","avatar_url":"https://avatars0.githubusercontent.com/u/8415593?v=4","gravatar_id":"","url":"https://api.github.com/users/cozy-labs","html_url":"https://github.com/cozy-labs","followers_url":"https://api.github.com/users/cozy-labs/followers","following_url":"https://api.github.com/users/cozy-labs/following{/other_user}","gists_url":"https://api.github.com/users/cozy-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/cozy-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cozy-labs/subscriptions","organizations_url":"https://api.github.com/users/cozy-labs/orgs","repos_url":"https://api.github.com/users/cozy-labs/repos","events_url":"https://api.github.com/users/cozy-labs/events{/privacy}","received_events_url":"https://api.github.com/users/cozy-labs/received_events","type":"Organization","site_admin":false},"repo":{"id":23385363,"node_id":"MDEwOlJlcG9zaXRvcnkyMzM4NTM2Mw==","name":"cozy-desktop","full_name":"cozy-labs/cozy-desktop","private":false,"owner":{"login":"cozy-labs","id":8415593,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg0MTU1OTM=","avatar_url":"https://avatars0.githubusercontent.com/u/8415593?v=4","gravatar_id":"","url":"https://api.github.com/users/cozy-labs","html_url":"https://github.com/cozy-labs","followers_url":"https://api.github.com/users/cozy-labs/followers","following_url":"https://api.github.com/users/cozy-labs/following{/other_user}","gists_url":"https://api.github.com/users/cozy-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/cozy-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cozy-labs/subscriptions","organizations_url":"https://api.github.com/users/cozy-labs/orgs","repos_url":"https://api.github.com/users/cozy-labs/repos","events_url":"https://api.github.com/users/cozy-labs/events{/privacy}","received_events_url":"https://api.github.com/users/cozy-labs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/cozy-labs/cozy-desktop","description":"File Synchronisation for Cozy on Desktop and Laptop","fork":false,"url":"https://api.github.com/repos/cozy-labs/cozy-desktop","forks_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/forks","keys_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/teams","hooks_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/hooks","issue_events_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/issues/events{/number}","events_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/events","assignees_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/assignees{/user}","branches_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/branches{/branch}","tags_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/tags","blobs_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/git/refs{/sha}","trees_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/statuses/{sha}","languages_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/languages","stargazers_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/stargazers","contributors_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/contributors","subscribers_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/subscribers","subscription_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/subscription","commits_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/commits{/sha}","git_commits_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/git/commits{/sha}","comments_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/comments{/number}","issue_comment_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/issues/comments{/number}","contents_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/contents/{+path}","compare_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/merges","archive_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/downloads","issues_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/issues{/number}","pulls_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/pulls{/number}","milestones_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/milestones{/number}","notifications_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/labels{/name}","releases_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/releases{/id}","deployments_url":"https://api.github.com/repos/cozy-labs/cozy-desktop/deployments","created_at":"2014-08-27T10:10:38Z","updated_at":"2018-12-11T07:28:11Z","pushed_at":"2018-12-11T09:46:35Z","git_url":"git://github.com/cozy-labs/cozy-desktop.git","ssh_url":"git@github.com:cozy-labs/cozy-desktop.git","clone_url":"https://github.com/cozy-labs/cozy-desktop.git","svn_url":"https://github.com/cozy-labs/cozy-desktop","homepage":"https://cozy-labs.github.io/cozy-desktop/","size":10363,"stargazers_count":45,"watchers_count":45,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":32,"mirror_url":null,"archived":false,"open_issues_count":17,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":32,"open_issues":17,"watchers":45,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cozy-labs/cozy-desktop/pulls/1333"},"html":{"href":"https://github.com/cozy-labs/cozy-desktop/pull/1333"},"issue":{"href":"https://api.github.com/repos/cozy-labs/cozy-desktop/issues/1333"},"comments":{"href":"https://api.github.com/repos/cozy-labs/cozy-desktop/issues/1333/comments"},"review_comments":{"href":"https://api.github.com/repos/cozy-labs/cozy-desktop/pulls/1333/comments"},"review_comment":{"href":"https://api.github.com/repos/cozy-labs/cozy-desktop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cozy-labs/cozy-desktop/pulls/1333/commits"},"statuses":{"href":"https://api.github.com/repos/cozy-labs/cozy-desktop/statuses/6536da2f7ccbd33d9337c78d01af6509bb9b163b"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"enguerran"}}