{"action":"closed","number":115,"pull_request":{"url":"https://api.github.com/repos/pytorch/ignite/pulls/115","id":175735684,"html_url":"https://github.com/pytorch/ignite/pull/115","diff_url":"https://github.com/pytorch/ignite/pull/115.diff","patch_url":"https://github.com/pytorch/ignite/pull/115.patch","issue_url":"https://api.github.com/repos/pytorch/ignite/issues/115","number":115,"state":"closed","locked":false,"title":"During atomic save in checkpoint, save temporary file to target directory rather than to default TMPDIR.","user":{"login":"veugene","id":8798047,"avatar_url":"https://avatars3.githubusercontent.com/u/8798047?v=4","gravatar_id":"","url":"https://api.github.com/users/veugene","html_url":"https://github.com/veugene","followers_url":"https://api.github.com/users/veugene/followers","following_url":"https://api.github.com/users/veugene/following{/other_user}","gists_url":"https://api.github.com/users/veugene/gists{/gist_id}","starred_url":"https://api.github.com/users/veugene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veugene/subscriptions","organizations_url":"https://api.github.com/users/veugene/orgs","repos_url":"https://api.github.com/users/veugene/repos","events_url":"https://api.github.com/users/veugene/events{/privacy}","received_events_url":"https://api.github.com/users/veugene/received_events","type":"User","site_admin":false},"body":"Addresses bug #114.\r\n\r\n> Currently, ModelCheckpoint uses the default destination in tempfile when saving a temporary file for an atomic checkpoint write. This is potentially problematic: it assumes that the default tempfile.tempdir is on the same volume as the user-specified destination directory (dirname); it also causes the issue described above. It should create the temporary file in the user-specified destination directory prior to renaming it (NamedTemporaryFile should take dir=dirname).","created_at":"2018-03-18T05:09:54Z","updated_at":"2018-03-19T16:39:01Z","closed_at":"2018-03-19T16:39:01Z","merged_at":"2018-03-19T16:39:01Z","merge_commit_sha":"907e20908be7784c376f0a83712f66720fdc69d4","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pytorch/ignite/pulls/115/commits","review_comments_url":"https://api.github.com/repos/pytorch/ignite/pulls/115/comments","review_comment_url":"https://api.github.com/repos/pytorch/ignite/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pytorch/ignite/issues/115/comments","statuses_url":"https://api.github.com/repos/pytorch/ignite/statuses/38251476537cd44084800e3188ac26f81e4f8e06","head":{"label":"veugene:bugfix_114","ref":"bugfix_114","sha":"38251476537cd44084800e3188ac26f81e4f8e06","user":{"login":"veugene","id":8798047,"avatar_url":"https://avatars3.githubusercontent.com/u/8798047?v=4","gravatar_id":"","url":"https://api.github.com/users/veugene","html_url":"https://github.com/veugene","followers_url":"https://api.github.com/users/veugene/followers","following_url":"https://api.github.com/users/veugene/following{/other_user}","gists_url":"https://api.github.com/users/veugene/gists{/gist_id}","starred_url":"https://api.github.com/users/veugene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veugene/subscriptions","organizations_url":"https://api.github.com/users/veugene/orgs","repos_url":"https://api.github.com/users/veugene/repos","events_url":"https://api.github.com/users/veugene/events{/privacy}","received_events_url":"https://api.github.com/users/veugene/received_events","type":"User","site_admin":false},"repo":{"id":125692907,"name":"ignite","full_name":"veugene/ignite","owner":{"login":"veugene","id":8798047,"avatar_url":"https://avatars3.githubusercontent.com/u/8798047?v=4","gravatar_id":"","url":"https://api.github.com/users/veugene","html_url":"https://github.com/veugene","followers_url":"https://api.github.com/users/veugene/followers","following_url":"https://api.github.com/users/veugene/following{/other_user}","gists_url":"https://api.github.com/users/veugene/gists{/gist_id}","starred_url":"https://api.github.com/users/veugene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veugene/subscriptions","organizations_url":"https://api.github.com/users/veugene/orgs","repos_url":"https://api.github.com/users/veugene/repos","events_url":"https://api.github.com/users/veugene/events{/privacy}","received_events_url":"https://api.github.com/users/veugene/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/veugene/ignite","description":null,"fork":true,"url":"https://api.github.com/repos/veugene/ignite","forks_url":"https://api.github.com/repos/veugene/ignite/forks","keys_url":"https://api.github.com/repos/veugene/ignite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/veugene/ignite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/veugene/ignite/teams","hooks_url":"https://api.github.com/repos/veugene/ignite/hooks","issue_events_url":"https://api.github.com/repos/veugene/ignite/issues/events{/number}","events_url":"https://api.github.com/repos/veugene/ignite/events","assignees_url":"https://api.github.com/repos/veugene/ignite/assignees{/user}","branches_url":"https://api.github.com/repos/veugene/ignite/branches{/branch}","tags_url":"https://api.github.com/repos/veugene/ignite/tags","blobs_url":"https://api.github.com/repos/veugene/ignite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/veugene/ignite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/veugene/ignite/git/refs{/sha}","trees_url":"https://api.github.com/repos/veugene/ignite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/veugene/ignite/statuses/{sha}","languages_url":"https://api.github.com/repos/veugene/ignite/languages","stargazers_url":"https://api.github.com/repos/veugene/ignite/stargazers","contributors_url":"https://api.github.com/repos/veugene/ignite/contributors","subscribers_url":"https://api.github.com/repos/veugene/ignite/subscribers","subscription_url":"https://api.github.com/repos/veugene/ignite/subscription","commits_url":"https://api.github.com/repos/veugene/ignite/commits{/sha}","git_commits_url":"https://api.github.com/repos/veugene/ignite/git/commits{/sha}","comments_url":"https://api.github.com/repos/veugene/ignite/comments{/number}","issue_comment_url":"https://api.github.com/repos/veugene/ignite/issues/comments{/number}","contents_url":"https://api.github.com/repos/veugene/ignite/contents/{+path}","compare_url":"https://api.github.com/repos/veugene/ignite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/veugene/ignite/merges","archive_url":"https://api.github.com/repos/veugene/ignite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/veugene/ignite/downloads","issues_url":"https://api.github.com/repos/veugene/ignite/issues{/number}","pulls_url":"https://api.github.com/repos/veugene/ignite/pulls{/number}","milestones_url":"https://api.github.com/repos/veugene/ignite/milestones{/number}","notifications_url":"https://api.github.com/repos/veugene/ignite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/veugene/ignite/labels{/name}","releases_url":"https://api.github.com/repos/veugene/ignite/releases{/id}","deployments_url":"https://api.github.com/repos/veugene/ignite/deployments","created_at":"2018-03-18T04:38:38Z","updated_at":"2018-03-18T04:38:39Z","pushed_at":"2018-03-19T05:19:59Z","git_url":"git://github.com/veugene/ignite.git","ssh_url":"git@github.com:veugene/ignite.git","clone_url":"https://github.com/veugene/ignite.git","svn_url":"https://github.com/veugene/ignite","homepage":null,"size":128,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pytorch:master","ref":"master","sha":"3d8dcc8d5a99795948e5a323fda7780052f55d5a","user":{"login":"pytorch","id":21003710,"avatar_url":"https://avatars3.githubusercontent.com/u/21003710?v=4","gravatar_id":"","url":"https://api.github.com/users/pytorch","html_url":"https://github.com/pytorch","followers_url":"https://api.github.com/users/pytorch/followers","following_url":"https://api.github.com/users/pytorch/following{/other_user}","gists_url":"https://api.github.com/users/pytorch/gists{/gist_id}","starred_url":"https://api.github.com/users/pytorch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pytorch/subscriptions","organizations_url":"https://api.github.com/users/pytorch/orgs","repos_url":"https://api.github.com/users/pytorch/repos","events_url":"https://api.github.com/users/pytorch/events{/privacy}","received_events_url":"https://api.github.com/users/pytorch/received_events","type":"Organization","site_admin":false},"repo":{"id":111835796,"name":"ignite","full_name":"pytorch/ignite","owner":{"login":"pytorch","id":21003710,"avatar_url":"https://avatars3.githubusercontent.com/u/21003710?v=4","gravatar_id":"","url":"https://api.github.com/users/pytorch","html_url":"https://github.com/pytorch","followers_url":"https://api.github.com/users/pytorch/followers","following_url":"https://api.github.com/users/pytorch/following{/other_user}","gists_url":"https://api.github.com/users/pytorch/gists{/gist_id}","starred_url":"https://api.github.com/users/pytorch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pytorch/subscriptions","organizations_url":"https://api.github.com/users/pytorch/orgs","repos_url":"https://api.github.com/users/pytorch/repos","events_url":"https://api.github.com/users/pytorch/events{/privacy}","received_events_url":"https://api.github.com/users/pytorch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pytorch/ignite","description":null,"fork":false,"url":"https://api.github.com/repos/pytorch/ignite","forks_url":"https://api.github.com/repos/pytorch/ignite/forks","keys_url":"https://api.github.com/repos/pytorch/ignite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pytorch/ignite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pytorch/ignite/teams","hooks_url":"https://api.github.com/repos/pytorch/ignite/hooks","issue_events_url":"https://api.github.com/repos/pytorch/ignite/issues/events{/number}","events_url":"https://api.github.com/repos/pytorch/ignite/events","assignees_url":"https://api.github.com/repos/pytorch/ignite/assignees{/user}","branches_url":"https://api.github.com/repos/pytorch/ignite/branches{/branch}","tags_url":"https://api.github.com/repos/pytorch/ignite/tags","blobs_url":"https://api.github.com/repos/pytorch/ignite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pytorch/ignite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pytorch/ignite/git/refs{/sha}","trees_url":"https://api.github.com/repos/pytorch/ignite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pytorch/ignite/statuses/{sha}","languages_url":"https://api.github.com/repos/pytorch/ignite/languages","stargazers_url":"https://api.github.com/repos/pytorch/ignite/stargazers","contributors_url":"https://api.github.com/repos/pytorch/ignite/contributors","subscribers_url":"https://api.github.com/repos/pytorch/ignite/subscribers","subscription_url":"https://api.github.com/repos/pytorch/ignite/subscription","commits_url":"https://api.github.com/repos/pytorch/ignite/commits{/sha}","git_commits_url":"https://api.github.com/repos/pytorch/ignite/git/commits{/sha}","comments_url":"https://api.github.com/repos/pytorch/ignite/comments{/number}","issue_comment_url":"https://api.github.com/repos/pytorch/ignite/issues/comments{/number}","contents_url":"https://api.github.com/repos/pytorch/ignite/contents/{+path}","compare_url":"https://api.github.com/repos/pytorch/ignite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pytorch/ignite/merges","archive_url":"https://api.github.com/repos/pytorch/ignite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pytorch/ignite/downloads","issues_url":"https://api.github.com/repos/pytorch/ignite/issues{/number}","pulls_url":"https://api.github.com/repos/pytorch/ignite/pulls{/number}","milestones_url":"https://api.github.com/repos/pytorch/ignite/milestones{/number}","notifications_url":"https://api.github.com/repos/pytorch/ignite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pytorch/ignite/labels{/name}","releases_url":"https://api.github.com/repos/pytorch/ignite/releases{/id}","deployments_url":"https://api.github.com/repos/pytorch/ignite/deployments","created_at":"2017-11-23T17:31:21Z","updated_at":"2018-03-19T16:17:16Z","pushed_at":"2018-03-19T16:39:01Z","git_url":"git://github.com/pytorch/ignite.git","ssh_url":"git@github.com:pytorch/ignite.git","clone_url":"https://github.com/pytorch/ignite.git","svn_url":"https://github.com/pytorch/ignite","homepage":null,"size":131,"stargazers_count":280,"watchers_count":280,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause"},"forks":28,"open_issues":11,"watchers":280,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pytorch/ignite/pulls/115"},"html":{"href":"https://github.com/pytorch/ignite/pull/115"},"issue":{"href":"https://api.github.com/repos/pytorch/ignite/issues/115"},"comments":{"href":"https://api.github.com/repos/pytorch/ignite/issues/115/comments"},"review_comments":{"href":"https://api.github.com/repos/pytorch/ignite/pulls/115/comments"},"review_comment":{"href":"https://api.github.com/repos/pytorch/ignite/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pytorch/ignite/pulls/115/commits"},"statuses":{"href":"https://api.github.com/repos/pytorch/ignite/statuses/38251476537cd44084800e3188ac26f81e4f8e06"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"alykhantejani","id":687194,"avatar_url":"https://avatars1.githubusercontent.com/u/687194?v=4","gravatar_id":"","url":"https://api.github.com/users/alykhantejani","html_url":"https://github.com/alykhantejani","followers_url":"https://api.github.com/users/alykhantejani/followers","following_url":"https://api.github.com/users/alykhantejani/following{/other_user}","gists_url":"https://api.github.com/users/alykhantejani/gists{/gist_id}","starred_url":"https://api.github.com/users/alykhantejani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alykhantejani/subscriptions","organizations_url":"https://api.github.com/users/alykhantejani/orgs","repos_url":"https://api.github.com/users/alykhantejani/repos","events_url":"https://api.github.com/users/alykhantejani/events{/privacy}","received_events_url":"https://api.github.com/users/alykhantejani/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"alykhantejani"}}