{"action":"closed","number":26,"pull_request":{"url":"https://api.github.com/repos/rleonid/bisect_ppx/pulls/26","id":43900002,"html_url":"https://github.com/rleonid/bisect_ppx/pull/26","diff_url":"https://github.com/rleonid/bisect_ppx/pull/26.diff","patch_url":"https://github.com/rleonid/bisect_ppx/pull/26.patch","issue_url":"https://api.github.com/repos/rleonid/bisect_ppx/issues/26","number":26,"state":"closed","locked":false,"title":"Open output file exclusively, no need for random.","user":{"login":"rleonid","id":6570317,"avatar_url":"https://avatars.githubusercontent.com/u/6570317?v=3","gravatar_id":"","url":"https://api.github.com/users/rleonid","html_url":"https://github.com/rleonid","followers_url":"https://api.github.com/users/rleonid/followers","following_url":"https://api.github.com/users/rleonid/following{/other_user}","gists_url":"https://api.github.com/users/rleonid/gists{/gist_id}","starred_url":"https://api.github.com/users/rleonid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rleonid/subscriptions","organizations_url":"https://api.github.com/users/rleonid/orgs","repos_url":"https://api.github.com/users/rleonid/repos","events_url":"https://api.github.com/users/rleonid/events{/privacy}","received_events_url":"https://api.github.com/users/rleonid/received_events","type":"User","site_admin":false},"body":"To address #10 I had just created random integer suffixes to avoid the race condition. After putting on my thinking cap, this change reverses that style and files are open sequentially from different threads. \r\n\r\ncc @khady.","created_at":"2015-09-01T16:56:02Z","updated_at":"2015-09-02T00:04:14Z","closed_at":"2015-09-02T00:04:14Z","merged_at":"2015-09-02T00:04:14Z","merge_commit_sha":"929f39be74436f4a8bd66432998a5166cfc7fcc1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rleonid/bisect_ppx/pulls/26/commits","review_comments_url":"https://api.github.com/repos/rleonid/bisect_ppx/pulls/26/comments","review_comment_url":"https://api.github.com/repos/rleonid/bisect_ppx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rleonid/bisect_ppx/issues/26/comments","statuses_url":"https://api.github.com/repos/rleonid/bisect_ppx/statuses/39a748afe8f10491b9efd3bfd76631a315ce6878","head":{"label":"rleonid:exclusive_open","ref":"exclusive_open","sha":"39a748afe8f10491b9efd3bfd76631a315ce6878","user":{"login":"rleonid","id":6570317,"avatar_url":"https://avatars.githubusercontent.com/u/6570317?v=3","gravatar_id":"","url":"https://api.github.com/users/rleonid","html_url":"https://github.com/rleonid","followers_url":"https://api.github.com/users/rleonid/followers","following_url":"https://api.github.com/users/rleonid/following{/other_user}","gists_url":"https://api.github.com/users/rleonid/gists{/gist_id}","starred_url":"https://api.github.com/users/rleonid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rleonid/subscriptions","organizations_url":"https://api.github.com/users/rleonid/orgs","repos_url":"https://api.github.com/users/rleonid/repos","events_url":"https://api.github.com/users/rleonid/events{/privacy}","received_events_url":"https://api.github.com/users/rleonid/received_events","type":"User","site_admin":false},"repo":{"id":34832664,"name":"bisect_ppx","full_name":"rleonid/bisect_ppx","owner":{"login":"rleonid","id":6570317,"avatar_url":"https://avatars.githubusercontent.com/u/6570317?v=3","gravatar_id":"","url":"https://api.github.com/users/rleonid","html_url":"https://github.com/rleonid","followers_url":"https://api.github.com/users/rleonid/followers","following_url":"https://api.github.com/users/rleonid/following{/other_user}","gists_url":"https://api.github.com/users/rleonid/gists{/gist_id}","starred_url":"https://api.github.com/users/rleonid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rleonid/subscriptions","organizations_url":"https://api.github.com/users/rleonid/orgs","repos_url":"https://api.github.com/users/rleonid/repos","events_url":"https://api.github.com/users/rleonid/events{/privacy}","received_events_url":"https://api.github.com/users/rleonid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rleonid/bisect_ppx","description":"Bisect Code coverage via PPX.","fork":false,"url":"https://api.github.com/repos/rleonid/bisect_ppx","forks_url":"https://api.github.com/repos/rleonid/bisect_ppx/forks","keys_url":"https://api.github.com/repos/rleonid/bisect_ppx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rleonid/bisect_ppx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rleonid/bisect_ppx/teams","hooks_url":"https://api.github.com/repos/rleonid/bisect_ppx/hooks","issue_events_url":"https://api.github.com/repos/rleonid/bisect_ppx/issues/events{/number}","events_url":"https://api.github.com/repos/rleonid/bisect_ppx/events","assignees_url":"https://api.github.com/repos/rleonid/bisect_ppx/assignees{/user}","branches_url":"https://api.github.com/repos/rleonid/bisect_ppx/branches{/branch}","tags_url":"https://api.github.com/repos/rleonid/bisect_ppx/tags","blobs_url":"https://api.github.com/repos/rleonid/bisect_ppx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rleonid/bisect_ppx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rleonid/bisect_ppx/git/refs{/sha}","trees_url":"https://api.github.com/repos/rleonid/bisect_ppx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rleonid/bisect_ppx/statuses/{sha}","languages_url":"https://api.github.com/repos/rleonid/bisect_ppx/languages","stargazers_url":"https://api.github.com/repos/rleonid/bisect_ppx/stargazers","contributors_url":"https://api.github.com/repos/rleonid/bisect_ppx/contributors","subscribers_url":"https://api.github.com/repos/rleonid/bisect_ppx/subscribers","subscription_url":"https://api.github.com/repos/rleonid/bisect_ppx/subscription","commits_url":"https://api.github.com/repos/rleonid/bisect_ppx/commits{/sha}","git_commits_url":"https://api.github.com/repos/rleonid/bisect_ppx/git/commits{/sha}","comments_url":"https://api.github.com/repos/rleonid/bisect_ppx/comments{/number}","issue_comment_url":"https://api.github.com/repos/rleonid/bisect_ppx/issues/comments{/number}","contents_url":"https://api.github.com/repos/rleonid/bisect_ppx/contents/{+path}","compare_url":"https://api.github.com/repos/rleonid/bisect_ppx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rleonid/bisect_ppx/merges","archive_url":"https://api.github.com/repos/rleonid/bisect_ppx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rleonid/bisect_ppx/downloads","issues_url":"https://api.github.com/repos/rleonid/bisect_ppx/issues{/number}","pulls_url":"https://api.github.com/repos/rleonid/bisect_ppx/pulls{/number}","milestones_url":"https://api.github.com/repos/rleonid/bisect_ppx/milestones{/number}","notifications_url":"https://api.github.com/repos/rleonid/bisect_ppx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rleonid/bisect_ppx/labels{/name}","releases_url":"https://api.github.com/repos/rleonid/bisect_ppx/releases{/id}","created_at":"2015-04-30T03:42:09Z","updated_at":"2015-08-18T07:21:28Z","pushed_at":"2015-09-02T00:04:14Z","git_url":"git://github.com/rleonid/bisect_ppx.git","ssh_url":"git@github.com:rleonid/bisect_ppx.git","clone_url":"https://github.com/rleonid/bisect_ppx.git","svn_url":"https://github.com/rleonid/bisect_ppx","homepage":null,"size":2141,"stargazers_count":13,"watchers_count":13,"language":"OCaml","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":13,"default_branch":"master"}},"base":{"label":"rleonid:master","ref":"master","sha":"6c028cd546fea5cda7cf9f4e25e403e0a46953a3","user":{"login":"rleonid","id":6570317,"avatar_url":"https://avatars.githubusercontent.com/u/6570317?v=3","gravatar_id":"","url":"https://api.github.com/users/rleonid","html_url":"https://github.com/rleonid","followers_url":"https://api.github.com/users/rleonid/followers","following_url":"https://api.github.com/users/rleonid/following{/other_user}","gists_url":"https://api.github.com/users/rleonid/gists{/gist_id}","starred_url":"https://api.github.com/users/rleonid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rleonid/subscriptions","organizations_url":"https://api.github.com/users/rleonid/orgs","repos_url":"https://api.github.com/users/rleonid/repos","events_url":"https://api.github.com/users/rleonid/events{/privacy}","received_events_url":"https://api.github.com/users/rleonid/received_events","type":"User","site_admin":false},"repo":{"id":34832664,"name":"bisect_ppx","full_name":"rleonid/bisect_ppx","owner":{"login":"rleonid","id":6570317,"avatar_url":"https://avatars.githubusercontent.com/u/6570317?v=3","gravatar_id":"","url":"https://api.github.com/users/rleonid","html_url":"https://github.com/rleonid","followers_url":"https://api.github.com/users/rleonid/followers","following_url":"https://api.github.com/users/rleonid/following{/other_user}","gists_url":"https://api.github.com/users/rleonid/gists{/gist_id}","starred_url":"https://api.github.com/users/rleonid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rleonid/subscriptions","organizations_url":"https://api.github.com/users/rleonid/orgs","repos_url":"https://api.github.com/users/rleonid/repos","events_url":"https://api.github.com/users/rleonid/events{/privacy}","received_events_url":"https://api.github.com/users/rleonid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rleonid/bisect_ppx","description":"Bisect Code coverage via PPX.","fork":false,"url":"https://api.github.com/repos/rleonid/bisect_ppx","forks_url":"https://api.github.com/repos/rleonid/bisect_ppx/forks","keys_url":"https://api.github.com/repos/rleonid/bisect_ppx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rleonid/bisect_ppx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rleonid/bisect_ppx/teams","hooks_url":"https://api.github.com/repos/rleonid/bisect_ppx/hooks","issue_events_url":"https://api.github.com/repos/rleonid/bisect_ppx/issues/events{/number}","events_url":"https://api.github.com/repos/rleonid/bisect_ppx/events","assignees_url":"https://api.github.com/repos/rleonid/bisect_ppx/assignees{/user}","branches_url":"https://api.github.com/repos/rleonid/bisect_ppx/branches{/branch}","tags_url":"https://api.github.com/repos/rleonid/bisect_ppx/tags","blobs_url":"https://api.github.com/repos/rleonid/bisect_ppx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rleonid/bisect_ppx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rleonid/bisect_ppx/git/refs{/sha}","trees_url":"https://api.github.com/repos/rleonid/bisect_ppx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rleonid/bisect_ppx/statuses/{sha}","languages_url":"https://api.github.com/repos/rleonid/bisect_ppx/languages","stargazers_url":"https://api.github.com/repos/rleonid/bisect_ppx/stargazers","contributors_url":"https://api.github.com/repos/rleonid/bisect_ppx/contributors","subscribers_url":"https://api.github.com/repos/rleonid/bisect_ppx/subscribers","subscription_url":"https://api.github.com/repos/rleonid/bisect_ppx/subscription","commits_url":"https://api.github.com/repos/rleonid/bisect_ppx/commits{/sha}","git_commits_url":"https://api.github.com/repos/rleonid/bisect_ppx/git/commits{/sha}","comments_url":"https://api.github.com/repos/rleonid/bisect_ppx/comments{/number}","issue_comment_url":"https://api.github.com/repos/rleonid/bisect_ppx/issues/comments{/number}","contents_url":"https://api.github.com/repos/rleonid/bisect_ppx/contents/{+path}","compare_url":"https://api.github.com/repos/rleonid/bisect_ppx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rleonid/bisect_ppx/merges","archive_url":"https://api.github.com/repos/rleonid/bisect_ppx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rleonid/bisect_ppx/downloads","issues_url":"https://api.github.com/repos/rleonid/bisect_ppx/issues{/number}","pulls_url":"https://api.github.com/repos/rleonid/bisect_ppx/pulls{/number}","milestones_url":"https://api.github.com/repos/rleonid/bisect_ppx/milestones{/number}","notifications_url":"https://api.github.com/repos/rleonid/bisect_ppx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rleonid/bisect_ppx/labels{/name}","releases_url":"https://api.github.com/repos/rleonid/bisect_ppx/releases{/id}","created_at":"2015-04-30T03:42:09Z","updated_at":"2015-08-18T07:21:28Z","pushed_at":"2015-09-02T00:04:14Z","git_url":"git://github.com/rleonid/bisect_ppx.git","ssh_url":"git@github.com:rleonid/bisect_ppx.git","clone_url":"https://github.com/rleonid/bisect_ppx.git","svn_url":"https://github.com/rleonid/bisect_ppx","homepage":null,"size":2141,"stargazers_count":13,"watchers_count":13,"language":"OCaml","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rleonid/bisect_ppx/pulls/26"},"html":{"href":"https://github.com/rleonid/bisect_ppx/pull/26"},"issue":{"href":"https://api.github.com/repos/rleonid/bisect_ppx/issues/26"},"comments":{"href":"https://api.github.com/repos/rleonid/bisect_ppx/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/rleonid/bisect_ppx/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/rleonid/bisect_ppx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rleonid/bisect_ppx/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/rleonid/bisect_ppx/statuses/39a748afe8f10491b9efd3bfd76631a315ce6878"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"rleonid","id":6570317,"avatar_url":"https://avatars.githubusercontent.com/u/6570317?v=3","gravatar_id":"","url":"https://api.github.com/users/rleonid","html_url":"https://github.com/rleonid","followers_url":"https://api.github.com/users/rleonid/followers","following_url":"https://api.github.com/users/rleonid/following{/other_user}","gists_url":"https://api.github.com/users/rleonid/gists{/gist_id}","starred_url":"https://api.github.com/users/rleonid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rleonid/subscriptions","organizations_url":"https://api.github.com/users/rleonid/orgs","repos_url":"https://api.github.com/users/rleonid/repos","events_url":"https://api.github.com/users/rleonid/events{/privacy}","received_events_url":"https://api.github.com/users/rleonid/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":2,"additions":19,"deletions":30,"changed_files":7}}