{"action":"opened","number":886,"pull_request":{"url":"https://api.github.com/repos/NebulousLabs/Sia/pulls/886","id":54682838,"html_url":"https://github.com/NebulousLabs/Sia/pull/886","diff_url":"https://github.com/NebulousLabs/Sia/pull/886.diff","patch_url":"https://github.com/NebulousLabs/Sia/pull/886.patch","issue_url":"https://api.github.com/repos/NebulousLabs/Sia/issues/886","number":886,"state":"open","locked":false,"title":"Safefile tempfile","user":{"login":"VoidingWarranties","id":5420909,"avatar_url":"https://avatars.githubusercontent.com/u/5420909?v=3","gravatar_id":"","url":"https://api.github.com/users/VoidingWarranties","html_url":"https://github.com/VoidingWarranties","followers_url":"https://api.github.com/users/VoidingWarranties/followers","following_url":"https://api.github.com/users/VoidingWarranties/following{/other_user}","gists_url":"https://api.github.com/users/VoidingWarranties/gists{/gist_id}","starred_url":"https://api.github.com/users/VoidingWarranties/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VoidingWarranties/subscriptions","organizations_url":"https://api.github.com/users/VoidingWarranties/orgs","repos_url":"https://api.github.com/users/VoidingWarranties/repos","events_url":"https://api.github.com/users/VoidingWarranties/events{/privacy}","received_events_url":"https://api.github.com/users/VoidingWarranties/received_events","type":"User","site_admin":false},"body":"Use `ioutil.TempFile` instead of adding a \"_temp\" suffix when creating a new `safeFile`.\r\n\r\nAdded tests as well.","created_at":"2015-12-28T20:50:35Z","updated_at":"2015-12-28T20:50:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/NebulousLabs/Sia/pulls/886/commits","review_comments_url":"https://api.github.com/repos/NebulousLabs/Sia/pulls/886/comments","review_comment_url":"https://api.github.com/repos/NebulousLabs/Sia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NebulousLabs/Sia/issues/886/comments","statuses_url":"https://api.github.com/repos/NebulousLabs/Sia/statuses/080156b2a59a9456eb2b1e5cbb547e059d33ae85","head":{"label":"VoidingWarranties:safefile-tempfile","ref":"safefile-tempfile","sha":"080156b2a59a9456eb2b1e5cbb547e059d33ae85","user":{"login":"VoidingWarranties","id":5420909,"avatar_url":"https://avatars.githubusercontent.com/u/5420909?v=3","gravatar_id":"","url":"https://api.github.com/users/VoidingWarranties","html_url":"https://github.com/VoidingWarranties","followers_url":"https://api.github.com/users/VoidingWarranties/followers","following_url":"https://api.github.com/users/VoidingWarranties/following{/other_user}","gists_url":"https://api.github.com/users/VoidingWarranties/gists{/gist_id}","starred_url":"https://api.github.com/users/VoidingWarranties/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VoidingWarranties/subscriptions","organizations_url":"https://api.github.com/users/VoidingWarranties/orgs","repos_url":"https://api.github.com/users/VoidingWarranties/repos","events_url":"https://api.github.com/users/VoidingWarranties/events{/privacy}","received_events_url":"https://api.github.com/users/VoidingWarranties/received_events","type":"User","site_admin":false},"repo":{"id":48000177,"name":"Sia","full_name":"VoidingWarranties/Sia","owner":{"login":"VoidingWarranties","id":5420909,"avatar_url":"https://avatars.githubusercontent.com/u/5420909?v=3","gravatar_id":"","url":"https://api.github.com/users/VoidingWarranties","html_url":"https://github.com/VoidingWarranties","followers_url":"https://api.github.com/users/VoidingWarranties/followers","following_url":"https://api.github.com/users/VoidingWarranties/following{/other_user}","gists_url":"https://api.github.com/users/VoidingWarranties/gists{/gist_id}","starred_url":"https://api.github.com/users/VoidingWarranties/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VoidingWarranties/subscriptions","organizations_url":"https://api.github.com/users/VoidingWarranties/orgs","repos_url":"https://api.github.com/users/VoidingWarranties/repos","events_url":"https://api.github.com/users/VoidingWarranties/events{/privacy}","received_events_url":"https://api.github.com/users/VoidingWarranties/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/VoidingWarranties/Sia","description":"Blockchain-based marketplace for file storage","fork":true,"url":"https://api.github.com/repos/VoidingWarranties/Sia","forks_url":"https://api.github.com/repos/VoidingWarranties/Sia/forks","keys_url":"https://api.github.com/repos/VoidingWarranties/Sia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VoidingWarranties/Sia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VoidingWarranties/Sia/teams","hooks_url":"https://api.github.com/repos/VoidingWarranties/Sia/hooks","issue_events_url":"https://api.github.com/repos/VoidingWarranties/Sia/issues/events{/number}","events_url":"https://api.github.com/repos/VoidingWarranties/Sia/events","assignees_url":"https://api.github.com/repos/VoidingWarranties/Sia/assignees{/user}","branches_url":"https://api.github.com/repos/VoidingWarranties/Sia/branches{/branch}","tags_url":"https://api.github.com/repos/VoidingWarranties/Sia/tags","blobs_url":"https://api.github.com/repos/VoidingWarranties/Sia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VoidingWarranties/Sia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VoidingWarranties/Sia/git/refs{/sha}","trees_url":"https://api.github.com/repos/VoidingWarranties/Sia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VoidingWarranties/Sia/statuses/{sha}","languages_url":"https://api.github.com/repos/VoidingWarranties/Sia/languages","stargazers_url":"https://api.github.com/repos/VoidingWarranties/Sia/stargazers","contributors_url":"https://api.github.com/repos/VoidingWarranties/Sia/contributors","subscribers_url":"https://api.github.com/repos/VoidingWarranties/Sia/subscribers","subscription_url":"https://api.github.com/repos/VoidingWarranties/Sia/subscription","commits_url":"https://api.github.com/repos/VoidingWarranties/Sia/commits{/sha}","git_commits_url":"https://api.github.com/repos/VoidingWarranties/Sia/git/commits{/sha}","comments_url":"https://api.github.com/repos/VoidingWarranties/Sia/comments{/number}","issue_comment_url":"https://api.github.com/repos/VoidingWarranties/Sia/issues/comments{/number}","contents_url":"https://api.github.com/repos/VoidingWarranties/Sia/contents/{+path}","compare_url":"https://api.github.com/repos/VoidingWarranties/Sia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VoidingWarranties/Sia/merges","archive_url":"https://api.github.com/repos/VoidingWarranties/Sia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VoidingWarranties/Sia/downloads","issues_url":"https://api.github.com/repos/VoidingWarranties/Sia/issues{/number}","pulls_url":"https://api.github.com/repos/VoidingWarranties/Sia/pulls{/number}","milestones_url":"https://api.github.com/repos/VoidingWarranties/Sia/milestones{/number}","notifications_url":"https://api.github.com/repos/VoidingWarranties/Sia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VoidingWarranties/Sia/labels{/name}","releases_url":"https://api.github.com/repos/VoidingWarranties/Sia/releases{/id}","created_at":"2015-12-14T20:43:52Z","updated_at":"2015-12-14T20:43:53Z","pushed_at":"2015-12-28T20:48:11Z","git_url":"git://github.com/VoidingWarranties/Sia.git","ssh_url":"git@github.com:VoidingWarranties/Sia.git","clone_url":"https://github.com/VoidingWarranties/Sia.git","svn_url":"https://github.com/VoidingWarranties/Sia","homepage":"http://siacoin.com","size":5846,"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":"NebulousLabs:master","ref":"master","sha":"a568d999b9485efe40f4545a9aebb4a9fe80243e","user":{"login":"NebulousLabs","id":7471422,"avatar_url":"https://avatars.githubusercontent.com/u/7471422?v=3","gravatar_id":"","url":"https://api.github.com/users/NebulousLabs","html_url":"https://github.com/NebulousLabs","followers_url":"https://api.github.com/users/NebulousLabs/followers","following_url":"https://api.github.com/users/NebulousLabs/following{/other_user}","gists_url":"https://api.github.com/users/NebulousLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/NebulousLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NebulousLabs/subscriptions","organizations_url":"https://api.github.com/users/NebulousLabs/orgs","repos_url":"https://api.github.com/users/NebulousLabs/repos","events_url":"https://api.github.com/users/NebulousLabs/events{/privacy}","received_events_url":"https://api.github.com/users/NebulousLabs/received_events","type":"Organization","site_admin":false},"repo":{"id":25370072,"name":"Sia","full_name":"NebulousLabs/Sia","owner":{"login":"NebulousLabs","id":7471422,"avatar_url":"https://avatars.githubusercontent.com/u/7471422?v=3","gravatar_id":"","url":"https://api.github.com/users/NebulousLabs","html_url":"https://github.com/NebulousLabs","followers_url":"https://api.github.com/users/NebulousLabs/followers","following_url":"https://api.github.com/users/NebulousLabs/following{/other_user}","gists_url":"https://api.github.com/users/NebulousLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/NebulousLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NebulousLabs/subscriptions","organizations_url":"https://api.github.com/users/NebulousLabs/orgs","repos_url":"https://api.github.com/users/NebulousLabs/repos","events_url":"https://api.github.com/users/NebulousLabs/events{/privacy}","received_events_url":"https://api.github.com/users/NebulousLabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NebulousLabs/Sia","description":"Blockchain-based marketplace for file storage","fork":false,"url":"https://api.github.com/repos/NebulousLabs/Sia","forks_url":"https://api.github.com/repos/NebulousLabs/Sia/forks","keys_url":"https://api.github.com/repos/NebulousLabs/Sia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NebulousLabs/Sia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NebulousLabs/Sia/teams","hooks_url":"https://api.github.com/repos/NebulousLabs/Sia/hooks","issue_events_url":"https://api.github.com/repos/NebulousLabs/Sia/issues/events{/number}","events_url":"https://api.github.com/repos/NebulousLabs/Sia/events","assignees_url":"https://api.github.com/repos/NebulousLabs/Sia/assignees{/user}","branches_url":"https://api.github.com/repos/NebulousLabs/Sia/branches{/branch}","tags_url":"https://api.github.com/repos/NebulousLabs/Sia/tags","blobs_url":"https://api.github.com/repos/NebulousLabs/Sia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NebulousLabs/Sia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NebulousLabs/Sia/git/refs{/sha}","trees_url":"https://api.github.com/repos/NebulousLabs/Sia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NebulousLabs/Sia/statuses/{sha}","languages_url":"https://api.github.com/repos/NebulousLabs/Sia/languages","stargazers_url":"https://api.github.com/repos/NebulousLabs/Sia/stargazers","contributors_url":"https://api.github.com/repos/NebulousLabs/Sia/contributors","subscribers_url":"https://api.github.com/repos/NebulousLabs/Sia/subscribers","subscription_url":"https://api.github.com/repos/NebulousLabs/Sia/subscription","commits_url":"https://api.github.com/repos/NebulousLabs/Sia/commits{/sha}","git_commits_url":"https://api.github.com/repos/NebulousLabs/Sia/git/commits{/sha}","comments_url":"https://api.github.com/repos/NebulousLabs/Sia/comments{/number}","issue_comment_url":"https://api.github.com/repos/NebulousLabs/Sia/issues/comments{/number}","contents_url":"https://api.github.com/repos/NebulousLabs/Sia/contents/{+path}","compare_url":"https://api.github.com/repos/NebulousLabs/Sia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NebulousLabs/Sia/merges","archive_url":"https://api.github.com/repos/NebulousLabs/Sia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NebulousLabs/Sia/downloads","issues_url":"https://api.github.com/repos/NebulousLabs/Sia/issues{/number}","pulls_url":"https://api.github.com/repos/NebulousLabs/Sia/pulls{/number}","milestones_url":"https://api.github.com/repos/NebulousLabs/Sia/milestones{/number}","notifications_url":"https://api.github.com/repos/NebulousLabs/Sia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NebulousLabs/Sia/labels{/name}","releases_url":"https://api.github.com/repos/NebulousLabs/Sia/releases{/id}","created_at":"2014-10-17T17:50:25Z","updated_at":"2015-12-28T16:36:12Z","pushed_at":"2015-12-28T16:32:32Z","git_url":"git://github.com/NebulousLabs/Sia.git","ssh_url":"git@github.com:NebulousLabs/Sia.git","clone_url":"https://github.com/NebulousLabs/Sia.git","svn_url":"https://github.com/NebulousLabs/Sia","homepage":"http://siacoin.com","size":26244,"stargazers_count":137,"watchers_count":137,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":22,"forks":22,"open_issues":22,"watchers":137,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NebulousLabs/Sia/pulls/886"},"html":{"href":"https://github.com/NebulousLabs/Sia/pull/886"},"issue":{"href":"https://api.github.com/repos/NebulousLabs/Sia/issues/886"},"comments":{"href":"https://api.github.com/repos/NebulousLabs/Sia/issues/886/comments"},"review_comments":{"href":"https://api.github.com/repos/NebulousLabs/Sia/pulls/886/comments"},"review_comment":{"href":"https://api.github.com/repos/NebulousLabs/Sia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NebulousLabs/Sia/pulls/886/commits"},"statuses":{"href":"https://api.github.com/repos/NebulousLabs/Sia/statuses/080156b2a59a9456eb2b1e5cbb547e059d33ae85"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":81,"deletions":3,"changed_files":2}}