{"action":"created","issue":{"url":"https://api.github.com/repos/conda/conda-build/issues/453","labels_url":"https://api.github.com/repos/conda/conda-build/issues/453/labels{/name}","comments_url":"https://api.github.com/repos/conda/conda-build/issues/453/comments","events_url":"https://api.github.com/repos/conda/conda-build/issues/453/events","html_url":"https://github.com/conda/conda-build/pull/453","id":88786793,"number":453,"title":"Rename temporary output folder before deleting and recreating","user":{"login":"rekcahpassyla","id":7807926,"avatar_url":"https://avatars.githubusercontent.com/u/7807926?v=3","gravatar_id":"","url":"https://api.github.com/users/rekcahpassyla","html_url":"https://github.com/rekcahpassyla","followers_url":"https://api.github.com/users/rekcahpassyla/followers","following_url":"https://api.github.com/users/rekcahpassyla/following{/other_user}","gists_url":"https://api.github.com/users/rekcahpassyla/gists{/gist_id}","starred_url":"https://api.github.com/users/rekcahpassyla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rekcahpassyla/subscriptions","organizations_url":"https://api.github.com/users/rekcahpassyla/orgs","repos_url":"https://api.github.com/users/rekcahpassyla/repos","events_url":"https://api.github.com/users/rekcahpassyla/events{/privacy}","received_events_url":"https://api.github.com/users/rekcahpassyla/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-16T17:16:32Z","updated_at":"2015-06-16T21:04:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/conda/conda-build/pulls/453","html_url":"https://github.com/conda/conda-build/pull/453","diff_url":"https://github.com/conda/conda-build/pull/453.diff","patch_url":"https://github.com/conda/conda-build/pull/453.patch"},"body":"Fixes #452 \r\n\r\nNot sure how to test this. Here is what I did:\r\n\r\n* ran the tests available:\r\n```python\r\nC:\\dev\\code\\opensource\\conda-build\\tests [rename-before-delete]> nosetests\r\n..........\r\n----------------------------------------------------------------------\r\nRan 10 tests in 0.019s\r\n\r\nOK\r\n```\r\n* built my branch and installed the resulting packages\r\n* built a few packages successfully\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/conda/conda-build/issues/comments/112569417","html_url":"https://github.com/conda/conda-build/pull/453#issuecomment-112569417","issue_url":"https://api.github.com/repos/conda/conda-build/issues/453","id":112569417,"user":{"login":"asmeurer","id":71486,"avatar_url":"https://avatars.githubusercontent.com/u/71486?v=3","gravatar_id":"","url":"https://api.github.com/users/asmeurer","html_url":"https://github.com/asmeurer","followers_url":"https://api.github.com/users/asmeurer/followers","following_url":"https://api.github.com/users/asmeurer/following{/other_user}","gists_url":"https://api.github.com/users/asmeurer/gists{/gist_id}","starred_url":"https://api.github.com/users/asmeurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asmeurer/subscriptions","organizations_url":"https://api.github.com/users/asmeurer/orgs","repos_url":"https://api.github.com/users/asmeurer/repos","events_url":"https://api.github.com/users/asmeurer/events{/privacy}","received_events_url":"https://api.github.com/users/asmeurer/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T21:04:07Z","updated_at":"2015-06-16T21:04:07Z","body":"This should work. A more general solution will be to add the trash functionality to `conda.install.rm_rf` and use that. "}}