{"action":"opened","number":245,"pull_request":{"url":"https://api.github.com/repos/geminabox/geminabox/pulls/245","id":88211384,"html_url":"https://github.com/geminabox/geminabox/pull/245","diff_url":"https://github.com/geminabox/geminabox/pull/245.diff","patch_url":"https://github.com/geminabox/geminabox/pull/245.patch","issue_url":"https://api.github.com/repos/geminabox/geminabox/issues/245","number":245,"state":"open","locked":false,"title":"Atomic writes proxy latest specs","user":{"login":"dsolsona","id":876945,"avatar_url":"https://avatars.githubusercontent.com/u/876945?v=3","gravatar_id":"","url":"https://api.github.com/users/dsolsona","html_url":"https://github.com/dsolsona","followers_url":"https://api.github.com/users/dsolsona/followers","following_url":"https://api.github.com/users/dsolsona/following{/other_user}","gists_url":"https://api.github.com/users/dsolsona/gists{/gist_id}","starred_url":"https://api.github.com/users/dsolsona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsolsona/subscriptions","organizations_url":"https://api.github.com/users/dsolsona/orgs","repos_url":"https://api.github.com/users/dsolsona/repos","events_url":"https://api.github.com/users/dsolsona/events{/privacy}","received_events_url":"https://api.github.com/users/dsolsona/received_events","type":"User","site_admin":false},"body":"I believe we are hitting the same race condition that was reported in https://github.com/geminabox/geminabox/issues/202\r\n\r\nThis PR should fix that race condition by creating a temporary file for the latest_specs and then doing an atomic move.\r\n\r\nI have been running this for a few weeks and it solved the issues we had, everything seems to work smoothly.","created_at":"2016-10-06T07:33:24Z","updated_at":"2016-10-06T07:33:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/geminabox/geminabox/pulls/245/commits","review_comments_url":"https://api.github.com/repos/geminabox/geminabox/pulls/245/comments","review_comment_url":"https://api.github.com/repos/geminabox/geminabox/pulls/comments{/number}","comments_url":"https://api.github.com/repos/geminabox/geminabox/issues/245/comments","statuses_url":"https://api.github.com/repos/geminabox/geminabox/statuses/9c55e897ae0f9490d6b7369a592a470c0d7ba11d","head":{"label":"dsolsona:atomic_writes_proxy_latest_specs","ref":"atomic_writes_proxy_latest_specs","sha":"9c55e897ae0f9490d6b7369a592a470c0d7ba11d","user":{"login":"dsolsona","id":876945,"avatar_url":"https://avatars.githubusercontent.com/u/876945?v=3","gravatar_id":"","url":"https://api.github.com/users/dsolsona","html_url":"https://github.com/dsolsona","followers_url":"https://api.github.com/users/dsolsona/followers","following_url":"https://api.github.com/users/dsolsona/following{/other_user}","gists_url":"https://api.github.com/users/dsolsona/gists{/gist_id}","starred_url":"https://api.github.com/users/dsolsona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsolsona/subscriptions","organizations_url":"https://api.github.com/users/dsolsona/orgs","repos_url":"https://api.github.com/users/dsolsona/repos","events_url":"https://api.github.com/users/dsolsona/events{/privacy}","received_events_url":"https://api.github.com/users/dsolsona/received_events","type":"User","site_admin":false},"repo":{"id":67178798,"name":"geminabox","full_name":"dsolsona/geminabox","owner":{"login":"dsolsona","id":876945,"avatar_url":"https://avatars.githubusercontent.com/u/876945?v=3","gravatar_id":"","url":"https://api.github.com/users/dsolsona","html_url":"https://github.com/dsolsona","followers_url":"https://api.github.com/users/dsolsona/followers","following_url":"https://api.github.com/users/dsolsona/following{/other_user}","gists_url":"https://api.github.com/users/dsolsona/gists{/gist_id}","starred_url":"https://api.github.com/users/dsolsona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsolsona/subscriptions","organizations_url":"https://api.github.com/users/dsolsona/orgs","repos_url":"https://api.github.com/users/dsolsona/repos","events_url":"https://api.github.com/users/dsolsona/events{/privacy}","received_events_url":"https://api.github.com/users/dsolsona/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dsolsona/geminabox","description":"Really simple rubygem hosting","fork":true,"url":"https://api.github.com/repos/dsolsona/geminabox","forks_url":"https://api.github.com/repos/dsolsona/geminabox/forks","keys_url":"https://api.github.com/repos/dsolsona/geminabox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dsolsona/geminabox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dsolsona/geminabox/teams","hooks_url":"https://api.github.com/repos/dsolsona/geminabox/hooks","issue_events_url":"https://api.github.com/repos/dsolsona/geminabox/issues/events{/number}","events_url":"https://api.github.com/repos/dsolsona/geminabox/events","assignees_url":"https://api.github.com/repos/dsolsona/geminabox/assignees{/user}","branches_url":"https://api.github.com/repos/dsolsona/geminabox/branches{/branch}","tags_url":"https://api.github.com/repos/dsolsona/geminabox/tags","blobs_url":"https://api.github.com/repos/dsolsona/geminabox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dsolsona/geminabox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dsolsona/geminabox/git/refs{/sha}","trees_url":"https://api.github.com/repos/dsolsona/geminabox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dsolsona/geminabox/statuses/{sha}","languages_url":"https://api.github.com/repos/dsolsona/geminabox/languages","stargazers_url":"https://api.github.com/repos/dsolsona/geminabox/stargazers","contributors_url":"https://api.github.com/repos/dsolsona/geminabox/contributors","subscribers_url":"https://api.github.com/repos/dsolsona/geminabox/subscribers","subscription_url":"https://api.github.com/repos/dsolsona/geminabox/subscription","commits_url":"https://api.github.com/repos/dsolsona/geminabox/commits{/sha}","git_commits_url":"https://api.github.com/repos/dsolsona/geminabox/git/commits{/sha}","comments_url":"https://api.github.com/repos/dsolsona/geminabox/comments{/number}","issue_comment_url":"https://api.github.com/repos/dsolsona/geminabox/issues/comments{/number}","contents_url":"https://api.github.com/repos/dsolsona/geminabox/contents/{+path}","compare_url":"https://api.github.com/repos/dsolsona/geminabox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dsolsona/geminabox/merges","archive_url":"https://api.github.com/repos/dsolsona/geminabox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dsolsona/geminabox/downloads","issues_url":"https://api.github.com/repos/dsolsona/geminabox/issues{/number}","pulls_url":"https://api.github.com/repos/dsolsona/geminabox/pulls{/number}","milestones_url":"https://api.github.com/repos/dsolsona/geminabox/milestones{/number}","notifications_url":"https://api.github.com/repos/dsolsona/geminabox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dsolsona/geminabox/labels{/name}","releases_url":"https://api.github.com/repos/dsolsona/geminabox/releases{/id}","deployments_url":"https://api.github.com/repos/dsolsona/geminabox/deployments","created_at":"2016-09-02T01:17:02Z","updated_at":"2016-09-02T01:17:03Z","pushed_at":"2016-09-02T05:20:48Z","git_url":"git://github.com/dsolsona/geminabox.git","ssh_url":"git@github.com:dsolsona/geminabox.git","clone_url":"https://github.com/dsolsona/geminabox.git","svn_url":"https://github.com/dsolsona/geminabox","homepage":"http://tomlea.co.uk/p/gem-in-a-box","size":382,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"geminabox:master","ref":"master","sha":"17fb93709ad40a2ddaf02e3d43e19e1b0f4b8b6e","user":{"login":"geminabox","id":4691833,"avatar_url":"https://avatars.githubusercontent.com/u/4691833?v=3","gravatar_id":"","url":"https://api.github.com/users/geminabox","html_url":"https://github.com/geminabox","followers_url":"https://api.github.com/users/geminabox/followers","following_url":"https://api.github.com/users/geminabox/following{/other_user}","gists_url":"https://api.github.com/users/geminabox/gists{/gist_id}","starred_url":"https://api.github.com/users/geminabox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geminabox/subscriptions","organizations_url":"https://api.github.com/users/geminabox/orgs","repos_url":"https://api.github.com/users/geminabox/repos","events_url":"https://api.github.com/users/geminabox/events{/privacy}","received_events_url":"https://api.github.com/users/geminabox/received_events","type":"Organization","site_admin":false},"repo":{"id":463074,"name":"geminabox","full_name":"geminabox/geminabox","owner":{"login":"geminabox","id":4691833,"avatar_url":"https://avatars.githubusercontent.com/u/4691833?v=3","gravatar_id":"","url":"https://api.github.com/users/geminabox","html_url":"https://github.com/geminabox","followers_url":"https://api.github.com/users/geminabox/followers","following_url":"https://api.github.com/users/geminabox/following{/other_user}","gists_url":"https://api.github.com/users/geminabox/gists{/gist_id}","starred_url":"https://api.github.com/users/geminabox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geminabox/subscriptions","organizations_url":"https://api.github.com/users/geminabox/orgs","repos_url":"https://api.github.com/users/geminabox/repos","events_url":"https://api.github.com/users/geminabox/events{/privacy}","received_events_url":"https://api.github.com/users/geminabox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/geminabox/geminabox","description":"Really simple rubygem hosting","fork":false,"url":"https://api.github.com/repos/geminabox/geminabox","forks_url":"https://api.github.com/repos/geminabox/geminabox/forks","keys_url":"https://api.github.com/repos/geminabox/geminabox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/geminabox/geminabox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/geminabox/geminabox/teams","hooks_url":"https://api.github.com/repos/geminabox/geminabox/hooks","issue_events_url":"https://api.github.com/repos/geminabox/geminabox/issues/events{/number}","events_url":"https://api.github.com/repos/geminabox/geminabox/events","assignees_url":"https://api.github.com/repos/geminabox/geminabox/assignees{/user}","branches_url":"https://api.github.com/repos/geminabox/geminabox/branches{/branch}","tags_url":"https://api.github.com/repos/geminabox/geminabox/tags","blobs_url":"https://api.github.com/repos/geminabox/geminabox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/geminabox/geminabox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/geminabox/geminabox/git/refs{/sha}","trees_url":"https://api.github.com/repos/geminabox/geminabox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/geminabox/geminabox/statuses/{sha}","languages_url":"https://api.github.com/repos/geminabox/geminabox/languages","stargazers_url":"https://api.github.com/repos/geminabox/geminabox/stargazers","contributors_url":"https://api.github.com/repos/geminabox/geminabox/contributors","subscribers_url":"https://api.github.com/repos/geminabox/geminabox/subscribers","subscription_url":"https://api.github.com/repos/geminabox/geminabox/subscription","commits_url":"https://api.github.com/repos/geminabox/geminabox/commits{/sha}","git_commits_url":"https://api.github.com/repos/geminabox/geminabox/git/commits{/sha}","comments_url":"https://api.github.com/repos/geminabox/geminabox/comments{/number}","issue_comment_url":"https://api.github.com/repos/geminabox/geminabox/issues/comments{/number}","contents_url":"https://api.github.com/repos/geminabox/geminabox/contents/{+path}","compare_url":"https://api.github.com/repos/geminabox/geminabox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/geminabox/geminabox/merges","archive_url":"https://api.github.com/repos/geminabox/geminabox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/geminabox/geminabox/downloads","issues_url":"https://api.github.com/repos/geminabox/geminabox/issues{/number}","pulls_url":"https://api.github.com/repos/geminabox/geminabox/pulls{/number}","milestones_url":"https://api.github.com/repos/geminabox/geminabox/milestones{/number}","notifications_url":"https://api.github.com/repos/geminabox/geminabox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/geminabox/geminabox/labels{/name}","releases_url":"https://api.github.com/repos/geminabox/geminabox/releases{/id}","deployments_url":"https://api.github.com/repos/geminabox/geminabox/deployments","created_at":"2010-01-07T23:05:13Z","updated_at":"2016-10-04T01:53:24Z","pushed_at":"2016-10-05T15:13:56Z","git_url":"git://github.com/geminabox/geminabox.git","ssh_url":"git@github.com:geminabox/geminabox.git","clone_url":"https://github.com/geminabox/geminabox.git","svn_url":"https://github.com/geminabox/geminabox","homepage":"http://tomlea.co.uk/p/gem-in-a-box","size":1046,"stargazers_count":1117,"watchers_count":1117,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":264,"mirror_url":null,"open_issues_count":10,"forks":264,"open_issues":10,"watchers":1117,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/geminabox/geminabox/pulls/245"},"html":{"href":"https://github.com/geminabox/geminabox/pull/245"},"issue":{"href":"https://api.github.com/repos/geminabox/geminabox/issues/245"},"comments":{"href":"https://api.github.com/repos/geminabox/geminabox/issues/245/comments"},"review_comments":{"href":"https://api.github.com/repos/geminabox/geminabox/pulls/245/comments"},"review_comment":{"href":"https://api.github.com/repos/geminabox/geminabox/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/geminabox/geminabox/pulls/245/commits"},"statuses":{"href":"https://api.github.com/repos/geminabox/geminabox/statuses/9c55e897ae0f9490d6b7369a592a470c0d7ba11d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":23,"deletions":8,"changed_files":6}}
{"actor":{"display_login":"dsolsona"}}