{"action":"created","issue":{"url":"https://api.github.com/repos/juju-solutions/cloud-weather-report/issues/80","repository_url":"https://api.github.com/repos/juju-solutions/cloud-weather-report","labels_url":"https://api.github.com/repos/juju-solutions/cloud-weather-report/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/juju-solutions/cloud-weather-report/issues/80/comments","events_url":"https://api.github.com/repos/juju-solutions/cloud-weather-report/issues/80/events","html_url":"https://github.com/juju-solutions/cloud-weather-report/pull/80","id":187252064,"number":80,"title":"Cleanup temporary files.","user":{"login":"seman","id":1581316,"avatar_url":"https://avatars.githubusercontent.com/u/1581316?v=3","gravatar_id":"","url":"https://api.github.com/users/seman","html_url":"https://github.com/seman","followers_url":"https://api.github.com/users/seman/followers","following_url":"https://api.github.com/users/seman/following{/other_user}","gists_url":"https://api.github.com/users/seman/gists{/gist_id}","starred_url":"https://api.github.com/users/seman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seman/subscriptions","organizations_url":"https://api.github.com/users/seman/orgs","repos_url":"https://api.github.com/users/seman/repos","events_url":"https://api.github.com/users/seman/events{/privacy}","received_events_url":"https://api.github.com/users/seman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-04T04:35:02Z","updated_at":"2016-11-04T09:00:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/juju-solutions/cloud-weather-report/pulls/80","html_url":"https://github.com/juju-solutions/cloud-weather-report/pull/80","diff_url":"https://github.com/juju-solutions/cloud-weather-report/pull/80.diff","patch_url":"https://github.com/juju-solutions/cloud-weather-report/pull/80.patch"},"body":"Resolves #79 \r\n\r\nSetting `os.environ['TMPDIR']` doesn't seem to be honored by Python once `tempfile.tempdir` is initially set. \r\n\r\nTested by watching `/tmp` directory.  When `cwr` starts to run, it creates a temporary directory prefixed with `cwr-tmp-` in `/tmp` directory. All other temporary directories and files seems to be created within `/tmp/cwr-tmp-*/*` and get deleted once `cwr` completes execution. "},"comment":{"url":"https://api.github.com/repos/juju-solutions/cloud-weather-report/issues/comments/258375743","html_url":"https://github.com/juju-solutions/cloud-weather-report/pull/80#issuecomment-258375743","issue_url":"https://api.github.com/repos/juju-solutions/cloud-weather-report/issues/80","id":258375743,"user":{"login":"johnsca","id":406082,"avatar_url":"https://avatars.githubusercontent.com/u/406082?v=3","gravatar_id":"","url":"https://api.github.com/users/johnsca","html_url":"https://github.com/johnsca","followers_url":"https://api.github.com/users/johnsca/followers","following_url":"https://api.github.com/users/johnsca/following{/other_user}","gists_url":"https://api.github.com/users/johnsca/gists{/gist_id}","starred_url":"https://api.github.com/users/johnsca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnsca/subscriptions","organizations_url":"https://api.github.com/users/johnsca/orgs","repos_url":"https://api.github.com/users/johnsca/repos","events_url":"https://api.github.com/users/johnsca/events{/privacy}","received_events_url":"https://api.github.com/users/johnsca/received_events","type":"User","site_admin":false},"created_at":"2016-11-04T09:00:01Z","updated_at":"2016-11-04T09:00:01Z","body":"As far as I can tell, these functions are not used anywhere, so I don't understand how this is supposed to affect anything.  What are the files that are not being cleaned up?"}}
{"actor":{"display_login":"johnsca"}}