{"action":"created","comment":{"url":"https://api.github.com/repos/spotify/luigi/pulls/comments/23374626","id":23374626,"diff_hunk":"@@ -79,7 +80,7 @@ class EnvironmentParamsContainer(task.Task):\n         is_global=True, default=False,\n         description='Ignore if similar process is already running')\n     lock_pid_dir = parameter.Parameter(\n-        is_global=True, default='/var/tmp/luigi',\n+        is_global=True, default=os.path.join(tempfile.gettempdir(), 'luigi'),","path":"luigi/interface.py","position":13,"original_position":13,"commit_id":"bbbc5444a407daddedf42d7b7f17d2b248552435","original_commit_id":"bbbc5444a407daddedf42d7b7f17d2b248552435","user":{"login":"themalkolm","id":864186,"avatar_url":"https://avatars.githubusercontent.com/u/864186?v=3","gravatar_id":"","url":"https://api.github.com/users/themalkolm","html_url":"https://github.com/themalkolm","followers_url":"https://api.github.com/users/themalkolm/followers","following_url":"https://api.github.com/users/themalkolm/following{/other_user}","gists_url":"https://api.github.com/users/themalkolm/gists{/gist_id}","starred_url":"https://api.github.com/users/themalkolm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/themalkolm/subscriptions","organizations_url":"https://api.github.com/users/themalkolm/orgs","repos_url":"https://api.github.com/users/themalkolm/repos","events_url":"https://api.github.com/users/themalkolm/events{/privacy}","received_events_url":"https://api.github.com/users/themalkolm/received_events","type":"User","site_admin":false},"body":"https://docs.python.org/2/library/tempfile.html#tempfile.tempdir","created_at":"2015-01-22T13:29:05Z","updated_at":"2015-01-22T13:29:05Z","html_url":"https://github.com/spotify/luigi/pull/622#discussion_r23374626","pull_request_url":"https://api.github.com/repos/spotify/luigi/pulls/622","_links":{"self":{"href":"https://api.github.com/repos/spotify/luigi/pulls/comments/23374626"},"html":{"href":"https://github.com/spotify/luigi/pull/622#discussion_r23374626"},"pull_request":{"href":"https://api.github.com/repos/spotify/luigi/pulls/622"}}},"pull_request":{"url":"https://api.github.com/repos/spotify/luigi/pulls/622","id":27802986,"html_url":"https://github.com/spotify/luigi/pull/622","diff_url":"https://github.com/spotify/luigi/pull/622.diff","patch_url":"https://github.com/spotify/luigi/pull/622.patch","issue_url":"https://api.github.com/repos/spotify/luigi/issues/622","number":622,"state":"closed","locked":false,"title":"Set default temp directory in a Windows friendly way.","user":{"login":"themalkolm","id":864186,"avatar_url":"https://avatars.githubusercontent.com/u/864186?v=3","gravatar_id":"","url":"https://api.github.com/users/themalkolm","html_url":"https://github.com/themalkolm","followers_url":"https://api.github.com/users/themalkolm/followers","following_url":"https://api.github.com/users/themalkolm/following{/other_user}","gists_url":"https://api.github.com/users/themalkolm/gists{/gist_id}","starred_url":"https://api.github.com/users/themalkolm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/themalkolm/subscriptions","organizations_url":"https://api.github.com/users/themalkolm/orgs","repos_url":"https://api.github.com/users/themalkolm/repos","events_url":"https://api.github.com/users/themalkolm/events{/privacy}","received_events_url":"https://api.github.com/users/themalkolm/received_events","type":"User","site_admin":false},"body":"Using tempfile.gettempdir() makes sure that a proper temporary\r\ndirectory will be picked up with respect to os and even env\r\nvariables like TMPDIR, TEMP, TMP etc.\r\n\r\nFix #435","created_at":"2015-01-21T22:54:01Z","updated_at":"2015-01-22T13:29:05Z","closed_at":"2015-01-21T23:08:57Z","merged_at":"2015-01-21T23:08:57Z","merge_commit_sha":"5ea229e88576a93bf1b2f9d4e817b967c2c31cc8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/spotify/luigi/pulls/622/commits","review_comments_url":"https://api.github.com/repos/spotify/luigi/pulls/622/comments","review_comment_url":"https://api.github.com/repos/spotify/luigi/pulls/comments/{number}","comments_url":"https://api.github.com/repos/spotify/luigi/issues/622/comments","statuses_url":"https://api.github.com/repos/spotify/luigi/statuses/bbbc5444a407daddedf42d7b7f17d2b248552435","head":{"label":"themalkolm:issue/435","ref":"issue/435","sha":"bbbc5444a407daddedf42d7b7f17d2b248552435","user":{"login":"themalkolm","id":864186,"avatar_url":"https://avatars.githubusercontent.com/u/864186?v=3","gravatar_id":"","url":"https://api.github.com/users/themalkolm","html_url":"https://github.com/themalkolm","followers_url":"https://api.github.com/users/themalkolm/followers","following_url":"https://api.github.com/users/themalkolm/following{/other_user}","gists_url":"https://api.github.com/users/themalkolm/gists{/gist_id}","starred_url":"https://api.github.com/users/themalkolm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/themalkolm/subscriptions","organizations_url":"https://api.github.com/users/themalkolm/orgs","repos_url":"https://api.github.com/users/themalkolm/repos","events_url":"https://api.github.com/users/themalkolm/events{/privacy}","received_events_url":"https://api.github.com/users/themalkolm/received_events","type":"User","site_admin":false},"repo":{"id":27244134,"name":"luigi","full_name":"themalkolm/luigi","owner":{"login":"themalkolm","id":864186,"avatar_url":"https://avatars.githubusercontent.com/u/864186?v=3","gravatar_id":"","url":"https://api.github.com/users/themalkolm","html_url":"https://github.com/themalkolm","followers_url":"https://api.github.com/users/themalkolm/followers","following_url":"https://api.github.com/users/themalkolm/following{/other_user}","gists_url":"https://api.github.com/users/themalkolm/gists{/gist_id}","starred_url":"https://api.github.com/users/themalkolm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/themalkolm/subscriptions","organizations_url":"https://api.github.com/users/themalkolm/orgs","repos_url":"https://api.github.com/users/themalkolm/repos","events_url":"https://api.github.com/users/themalkolm/events{/privacy}","received_events_url":"https://api.github.com/users/themalkolm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/themalkolm/luigi","description":"Luigi is a Python module that helps you build complex pipelines of batch jobs. It handles dependency resolution, workflow management, visualization etc. It also comes with Hadoop support built in. ","fork":true,"url":"https://api.github.com/repos/themalkolm/luigi","forks_url":"https://api.github.com/repos/themalkolm/luigi/forks","keys_url":"https://api.github.com/repos/themalkolm/luigi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/themalkolm/luigi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/themalkolm/luigi/teams","hooks_url":"https://api.github.com/repos/themalkolm/luigi/hooks","issue_events_url":"https://api.github.com/repos/themalkolm/luigi/issues/events{/number}","events_url":"https://api.github.com/repos/themalkolm/luigi/events","assignees_url":"https://api.github.com/repos/themalkolm/luigi/assignees{/user}","branches_url":"https://api.github.com/repos/themalkolm/luigi/branches{/branch}","tags_url":"https://api.github.com/repos/themalkolm/luigi/tags","blobs_url":"https://api.github.com/repos/themalkolm/luigi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/themalkolm/luigi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/themalkolm/luigi/git/refs{/sha}","trees_url":"https://api.github.com/repos/themalkolm/luigi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/themalkolm/luigi/statuses/{sha}","languages_url":"https://api.github.com/repos/themalkolm/luigi/languages","stargazers_url":"https://api.github.com/repos/themalkolm/luigi/stargazers","contributors_url":"https://api.github.com/repos/themalkolm/luigi/contributors","subscribers_url":"https://api.github.com/repos/themalkolm/luigi/subscribers","subscription_url":"https://api.github.com/repos/themalkolm/luigi/subscription","commits_url":"https://api.github.com/repos/themalkolm/luigi/commits{/sha}","git_commits_url":"https://api.github.com/repos/themalkolm/luigi/git/commits{/sha}","comments_url":"https://api.github.com/repos/themalkolm/luigi/comments{/number}","issue_comment_url":"https://api.github.com/repos/themalkolm/luigi/issues/comments/{number}","contents_url":"https://api.github.com/repos/themalkolm/luigi/contents/{+path}","compare_url":"https://api.github.com/repos/themalkolm/luigi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/themalkolm/luigi/merges","archive_url":"https://api.github.com/repos/themalkolm/luigi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/themalkolm/luigi/downloads","issues_url":"https://api.github.com/repos/themalkolm/luigi/issues{/number}","pulls_url":"https://api.github.com/repos/themalkolm/luigi/pulls{/number}","milestones_url":"https://api.github.com/repos/themalkolm/luigi/milestones{/number}","notifications_url":"https://api.github.com/repos/themalkolm/luigi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/themalkolm/luigi/labels{/name}","releases_url":"https://api.github.com/repos/themalkolm/luigi/releases{/id}","created_at":"2014-11-27T23:00:21Z","updated_at":"2014-11-27T23:00:55Z","pushed_at":"2015-01-22T00:16:12Z","git_url":"git://github.com/themalkolm/luigi.git","ssh_url":"git@github.com:themalkolm/luigi.git","clone_url":"https://github.com/themalkolm/luigi.git","svn_url":"https://github.com/themalkolm/luigi","homepage":null,"size":3174,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"spotify:master","ref":"master","sha":"7941d5a36f38af5e21a2152688a2f82fdd0d856d","user":{"login":"spotify","id":251374,"avatar_url":"https://avatars.githubusercontent.com/u/251374?v=3","gravatar_id":"","url":"https://api.github.com/users/spotify","html_url":"https://github.com/spotify","followers_url":"https://api.github.com/users/spotify/followers","following_url":"https://api.github.com/users/spotify/following{/other_user}","gists_url":"https://api.github.com/users/spotify/gists{/gist_id}","starred_url":"https://api.github.com/users/spotify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spotify/subscriptions","organizations_url":"https://api.github.com/users/spotify/orgs","repos_url":"https://api.github.com/users/spotify/repos","events_url":"https://api.github.com/users/spotify/events{/privacy}","received_events_url":"https://api.github.com/users/spotify/received_events","type":"Organization","site_admin":false},"repo":{"id":5888353,"name":"luigi","full_name":"spotify/luigi","owner":{"login":"spotify","id":251374,"avatar_url":"https://avatars.githubusercontent.com/u/251374?v=3","gravatar_id":"","url":"https://api.github.com/users/spotify","html_url":"https://github.com/spotify","followers_url":"https://api.github.com/users/spotify/followers","following_url":"https://api.github.com/users/spotify/following{/other_user}","gists_url":"https://api.github.com/users/spotify/gists{/gist_id}","starred_url":"https://api.github.com/users/spotify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spotify/subscriptions","organizations_url":"https://api.github.com/users/spotify/orgs","repos_url":"https://api.github.com/users/spotify/repos","events_url":"https://api.github.com/users/spotify/events{/privacy}","received_events_url":"https://api.github.com/users/spotify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spotify/luigi","description":"Luigi is a Python module that helps you build complex pipelines of batch jobs. It handles dependency resolution, workflow management, visualization etc. It also comes with Hadoop support built in. ","fork":false,"url":"https://api.github.com/repos/spotify/luigi","forks_url":"https://api.github.com/repos/spotify/luigi/forks","keys_url":"https://api.github.com/repos/spotify/luigi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spotify/luigi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spotify/luigi/teams","hooks_url":"https://api.github.com/repos/spotify/luigi/hooks","issue_events_url":"https://api.github.com/repos/spotify/luigi/issues/events{/number}","events_url":"https://api.github.com/repos/spotify/luigi/events","assignees_url":"https://api.github.com/repos/spotify/luigi/assignees{/user}","branches_url":"https://api.github.com/repos/spotify/luigi/branches{/branch}","tags_url":"https://api.github.com/repos/spotify/luigi/tags","blobs_url":"https://api.github.com/repos/spotify/luigi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spotify/luigi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spotify/luigi/git/refs{/sha}","trees_url":"https://api.github.com/repos/spotify/luigi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spotify/luigi/statuses/{sha}","languages_url":"https://api.github.com/repos/spotify/luigi/languages","stargazers_url":"https://api.github.com/repos/spotify/luigi/stargazers","contributors_url":"https://api.github.com/repos/spotify/luigi/contributors","subscribers_url":"https://api.github.com/repos/spotify/luigi/subscribers","subscription_url":"https://api.github.com/repos/spotify/luigi/subscription","commits_url":"https://api.github.com/repos/spotify/luigi/commits{/sha}","git_commits_url":"https://api.github.com/repos/spotify/luigi/git/commits{/sha}","comments_url":"https://api.github.com/repos/spotify/luigi/comments{/number}","issue_comment_url":"https://api.github.com/repos/spotify/luigi/issues/comments/{number}","contents_url":"https://api.github.com/repos/spotify/luigi/contents/{+path}","compare_url":"https://api.github.com/repos/spotify/luigi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spotify/luigi/merges","archive_url":"https://api.github.com/repos/spotify/luigi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spotify/luigi/downloads","issues_url":"https://api.github.com/repos/spotify/luigi/issues{/number}","pulls_url":"https://api.github.com/repos/spotify/luigi/pulls{/number}","milestones_url":"https://api.github.com/repos/spotify/luigi/milestones{/number}","notifications_url":"https://api.github.com/repos/spotify/luigi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spotify/luigi/labels{/name}","releases_url":"https://api.github.com/repos/spotify/luigi/releases{/id}","created_at":"2012-09-20T15:06:38Z","updated_at":"2015-01-22T12:55:10Z","pushed_at":"2015-01-22T09:57:42Z","git_url":"git://github.com/spotify/luigi.git","ssh_url":"git@github.com:spotify/luigi.git","clone_url":"https://github.com/spotify/luigi.git","svn_url":"https://github.com/spotify/luigi","homepage":null,"size":7687,"stargazers_count":2004,"watchers_count":2004,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":339,"mirror_url":null,"open_issues_count":81,"forks":339,"open_issues":81,"watchers":2004,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spotify/luigi/pulls/622"},"html":{"href":"https://github.com/spotify/luigi/pull/622"},"issue":{"href":"https://api.github.com/repos/spotify/luigi/issues/622"},"comments":{"href":"https://api.github.com/repos/spotify/luigi/issues/622/comments"},"review_comments":{"href":"https://api.github.com/repos/spotify/luigi/pulls/622/comments"},"review_comment":{"href":"https://api.github.com/repos/spotify/luigi/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/spotify/luigi/pulls/622/commits"},"statuses":{"href":"https://api.github.com/repos/spotify/luigi/statuses/bbbc5444a407daddedf42d7b7f17d2b248552435"}}}}