{"action":"opened","number":87,"pull_request":{"url":"https://api.github.com/repos/getcarina/dvm/pulls/87","id":60440898,"html_url":"https://github.com/getcarina/dvm/pull/87","diff_url":"https://github.com/getcarina/dvm/pull/87.diff","patch_url":"https://github.com/getcarina/dvm/pull/87.patch","issue_url":"https://api.github.com/repos/getcarina/dvm/issues/87","number":87,"state":"open","locked":false,"title":"Race condition when removing \"$DVM_DIR/.tmp/dvm-output.sh\"","user":{"login":"aheuermann","id":1296154,"avatar_url":"https://avatars.githubusercontent.com/u/1296154?v=3","gravatar_id":"","url":"https://api.github.com/users/aheuermann","html_url":"https://github.com/aheuermann","followers_url":"https://api.github.com/users/aheuermann/followers","following_url":"https://api.github.com/users/aheuermann/following{/other_user}","gists_url":"https://api.github.com/users/aheuermann/gists{/gist_id}","starred_url":"https://api.github.com/users/aheuermann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aheuermann/subscriptions","organizations_url":"https://api.github.com/users/aheuermann/orgs","repos_url":"https://api.github.com/users/aheuermann/repos","events_url":"https://api.github.com/users/aheuermann/events{/privacy}","received_events_url":"https://api.github.com/users/aheuermann/received_events","type":"User","site_admin":false},"body":"I run `dvm use` in my `.zshrc`. If I open multiple windows at once there seems to be a race condition when deleting this file. This seems to fix it.\r\n\r\nThanks for dvm!","created_at":"2016-02-24T01:20:55Z","updated_at":"2016-02-24T01:20:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"22eb35542f1249f03ba39ac5b92888c8a8faa8a9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/getcarina/dvm/pulls/87/commits","review_comments_url":"https://api.github.com/repos/getcarina/dvm/pulls/87/comments","review_comment_url":"https://api.github.com/repos/getcarina/dvm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/getcarina/dvm/issues/87/comments","statuses_url":"https://api.github.com/repos/getcarina/dvm/statuses/b48f908924e0e523cf4c3a95dd4ddd9ada2f06bc","head":{"label":"aheuermann:no_such_file","ref":"no_such_file","sha":"b48f908924e0e523cf4c3a95dd4ddd9ada2f06bc","user":{"login":"aheuermann","id":1296154,"avatar_url":"https://avatars.githubusercontent.com/u/1296154?v=3","gravatar_id":"","url":"https://api.github.com/users/aheuermann","html_url":"https://github.com/aheuermann","followers_url":"https://api.github.com/users/aheuermann/followers","following_url":"https://api.github.com/users/aheuermann/following{/other_user}","gists_url":"https://api.github.com/users/aheuermann/gists{/gist_id}","starred_url":"https://api.github.com/users/aheuermann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aheuermann/subscriptions","organizations_url":"https://api.github.com/users/aheuermann/orgs","repos_url":"https://api.github.com/users/aheuermann/repos","events_url":"https://api.github.com/users/aheuermann/events{/privacy}","received_events_url":"https://api.github.com/users/aheuermann/received_events","type":"User","site_admin":false},"repo":{"id":48496644,"name":"dvm","full_name":"aheuermann/dvm","owner":{"login":"aheuermann","id":1296154,"avatar_url":"https://avatars.githubusercontent.com/u/1296154?v=3","gravatar_id":"","url":"https://api.github.com/users/aheuermann","html_url":"https://github.com/aheuermann","followers_url":"https://api.github.com/users/aheuermann/followers","following_url":"https://api.github.com/users/aheuermann/following{/other_user}","gists_url":"https://api.github.com/users/aheuermann/gists{/gist_id}","starred_url":"https://api.github.com/users/aheuermann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aheuermann/subscriptions","organizations_url":"https://api.github.com/users/aheuermann/orgs","repos_url":"https://api.github.com/users/aheuermann/repos","events_url":"https://api.github.com/users/aheuermann/events{/privacy}","received_events_url":"https://api.github.com/users/aheuermann/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aheuermann/dvm","description":"Docker Version Manager","fork":true,"url":"https://api.github.com/repos/aheuermann/dvm","forks_url":"https://api.github.com/repos/aheuermann/dvm/forks","keys_url":"https://api.github.com/repos/aheuermann/dvm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aheuermann/dvm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aheuermann/dvm/teams","hooks_url":"https://api.github.com/repos/aheuermann/dvm/hooks","issue_events_url":"https://api.github.com/repos/aheuermann/dvm/issues/events{/number}","events_url":"https://api.github.com/repos/aheuermann/dvm/events","assignees_url":"https://api.github.com/repos/aheuermann/dvm/assignees{/user}","branches_url":"https://api.github.com/repos/aheuermann/dvm/branches{/branch}","tags_url":"https://api.github.com/repos/aheuermann/dvm/tags","blobs_url":"https://api.github.com/repos/aheuermann/dvm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aheuermann/dvm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aheuermann/dvm/git/refs{/sha}","trees_url":"https://api.github.com/repos/aheuermann/dvm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aheuermann/dvm/statuses/{sha}","languages_url":"https://api.github.com/repos/aheuermann/dvm/languages","stargazers_url":"https://api.github.com/repos/aheuermann/dvm/stargazers","contributors_url":"https://api.github.com/repos/aheuermann/dvm/contributors","subscribers_url":"https://api.github.com/repos/aheuermann/dvm/subscribers","subscription_url":"https://api.github.com/repos/aheuermann/dvm/subscription","commits_url":"https://api.github.com/repos/aheuermann/dvm/commits{/sha}","git_commits_url":"https://api.github.com/repos/aheuermann/dvm/git/commits{/sha}","comments_url":"https://api.github.com/repos/aheuermann/dvm/comments{/number}","issue_comment_url":"https://api.github.com/repos/aheuermann/dvm/issues/comments{/number}","contents_url":"https://api.github.com/repos/aheuermann/dvm/contents/{+path}","compare_url":"https://api.github.com/repos/aheuermann/dvm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aheuermann/dvm/merges","archive_url":"https://api.github.com/repos/aheuermann/dvm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aheuermann/dvm/downloads","issues_url":"https://api.github.com/repos/aheuermann/dvm/issues{/number}","pulls_url":"https://api.github.com/repos/aheuermann/dvm/pulls{/number}","milestones_url":"https://api.github.com/repos/aheuermann/dvm/milestones{/number}","notifications_url":"https://api.github.com/repos/aheuermann/dvm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aheuermann/dvm/labels{/name}","releases_url":"https://api.github.com/repos/aheuermann/dvm/releases{/id}","deployments_url":"https://api.github.com/repos/aheuermann/dvm/deployments","created_at":"2015-12-23T15:11:44Z","updated_at":"2015-12-23T15:11:44Z","pushed_at":"2016-02-24T01:15:38Z","git_url":"git://github.com/aheuermann/dvm.git","ssh_url":"git@github.com:aheuermann/dvm.git","clone_url":"https://github.com/aheuermann/dvm.git","svn_url":"https://github.com/aheuermann/dvm","homepage":null,"size":129,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"getcarina:master","ref":"master","sha":"9a9ee0222391da1e72baabad831c815f7904a3a1","user":{"login":"getcarina","id":15111063,"avatar_url":"https://avatars.githubusercontent.com/u/15111063?v=3","gravatar_id":"","url":"https://api.github.com/users/getcarina","html_url":"https://github.com/getcarina","followers_url":"https://api.github.com/users/getcarina/followers","following_url":"https://api.github.com/users/getcarina/following{/other_user}","gists_url":"https://api.github.com/users/getcarina/gists{/gist_id}","starred_url":"https://api.github.com/users/getcarina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/getcarina/subscriptions","organizations_url":"https://api.github.com/users/getcarina/orgs","repos_url":"https://api.github.com/users/getcarina/repos","events_url":"https://api.github.com/users/getcarina/events{/privacy}","received_events_url":"https://api.github.com/users/getcarina/received_events","type":"Organization","site_admin":false},"repo":{"id":42531199,"name":"dvm","full_name":"getcarina/dvm","owner":{"login":"getcarina","id":15111063,"avatar_url":"https://avatars.githubusercontent.com/u/15111063?v=3","gravatar_id":"","url":"https://api.github.com/users/getcarina","html_url":"https://github.com/getcarina","followers_url":"https://api.github.com/users/getcarina/followers","following_url":"https://api.github.com/users/getcarina/following{/other_user}","gists_url":"https://api.github.com/users/getcarina/gists{/gist_id}","starred_url":"https://api.github.com/users/getcarina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/getcarina/subscriptions","organizations_url":"https://api.github.com/users/getcarina/orgs","repos_url":"https://api.github.com/users/getcarina/repos","events_url":"https://api.github.com/users/getcarina/events{/privacy}","received_events_url":"https://api.github.com/users/getcarina/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/getcarina/dvm","description":"Docker Version Manager","fork":false,"url":"https://api.github.com/repos/getcarina/dvm","forks_url":"https://api.github.com/repos/getcarina/dvm/forks","keys_url":"https://api.github.com/repos/getcarina/dvm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/getcarina/dvm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/getcarina/dvm/teams","hooks_url":"https://api.github.com/repos/getcarina/dvm/hooks","issue_events_url":"https://api.github.com/repos/getcarina/dvm/issues/events{/number}","events_url":"https://api.github.com/repos/getcarina/dvm/events","assignees_url":"https://api.github.com/repos/getcarina/dvm/assignees{/user}","branches_url":"https://api.github.com/repos/getcarina/dvm/branches{/branch}","tags_url":"https://api.github.com/repos/getcarina/dvm/tags","blobs_url":"https://api.github.com/repos/getcarina/dvm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/getcarina/dvm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/getcarina/dvm/git/refs{/sha}","trees_url":"https://api.github.com/repos/getcarina/dvm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/getcarina/dvm/statuses/{sha}","languages_url":"https://api.github.com/repos/getcarina/dvm/languages","stargazers_url":"https://api.github.com/repos/getcarina/dvm/stargazers","contributors_url":"https://api.github.com/repos/getcarina/dvm/contributors","subscribers_url":"https://api.github.com/repos/getcarina/dvm/subscribers","subscription_url":"https://api.github.com/repos/getcarina/dvm/subscription","commits_url":"https://api.github.com/repos/getcarina/dvm/commits{/sha}","git_commits_url":"https://api.github.com/repos/getcarina/dvm/git/commits{/sha}","comments_url":"https://api.github.com/repos/getcarina/dvm/comments{/number}","issue_comment_url":"https://api.github.com/repos/getcarina/dvm/issues/comments{/number}","contents_url":"https://api.github.com/repos/getcarina/dvm/contents/{+path}","compare_url":"https://api.github.com/repos/getcarina/dvm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/getcarina/dvm/merges","archive_url":"https://api.github.com/repos/getcarina/dvm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/getcarina/dvm/downloads","issues_url":"https://api.github.com/repos/getcarina/dvm/issues{/number}","pulls_url":"https://api.github.com/repos/getcarina/dvm/pulls{/number}","milestones_url":"https://api.github.com/repos/getcarina/dvm/milestones{/number}","notifications_url":"https://api.github.com/repos/getcarina/dvm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/getcarina/dvm/labels{/name}","releases_url":"https://api.github.com/repos/getcarina/dvm/releases{/id}","deployments_url":"https://api.github.com/repos/getcarina/dvm/deployments","created_at":"2015-09-15T16:18:09Z","updated_at":"2016-02-17T22:42:22Z","pushed_at":"2016-02-24T01:20:55Z","git_url":"git://github.com/getcarina/dvm.git","ssh_url":"git@github.com:getcarina/dvm.git","clone_url":"https://github.com/getcarina/dvm.git","svn_url":"https://github.com/getcarina/dvm","homepage":null,"size":129,"stargazers_count":75,"watchers_count":75,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":9,"forks":10,"open_issues":9,"watchers":75,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/getcarina/dvm/pulls/87"},"html":{"href":"https://github.com/getcarina/dvm/pull/87"},"issue":{"href":"https://api.github.com/repos/getcarina/dvm/issues/87"},"comments":{"href":"https://api.github.com/repos/getcarina/dvm/issues/87/comments"},"review_comments":{"href":"https://api.github.com/repos/getcarina/dvm/pulls/87/comments"},"review_comment":{"href":"https://api.github.com/repos/getcarina/dvm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/getcarina/dvm/pulls/87/commits"},"statuses":{"href":"https://api.github.com/repos/getcarina/dvm/statuses/b48f908924e0e523cf4c3a95dd4ddd9ada2f06bc"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":4,"changed_files":1}}