{"action":"created","issue":{"url":"https://api.github.com/repos/haskell/cabal/issues/5689","repository_url":"https://api.github.com/repos/haskell/cabal","labels_url":"https://api.github.com/repos/haskell/cabal/issues/5689/labels{/name}","comments_url":"https://api.github.com/repos/haskell/cabal/issues/5689/comments","events_url":"https://api.github.com/repos/haskell/cabal/issues/5689/events","html_url":"https://github.com/haskell/cabal/issues/5689","id":381594356,"node_id":"MDU6SXNzdWUzODE1OTQzNTY=","number":5689,"title":"'cabal new-clean' should also delete the environment file","user":{"login":"23Skidoo","id":47439,"node_id":"MDQ6VXNlcjQ3NDM5","avatar_url":"https://avatars3.githubusercontent.com/u/47439?v=4","gravatar_id":"","url":"https://api.github.com/users/23Skidoo","html_url":"https://github.com/23Skidoo","followers_url":"https://api.github.com/users/23Skidoo/followers","following_url":"https://api.github.com/users/23Skidoo/following{/other_user}","gists_url":"https://api.github.com/users/23Skidoo/gists{/gist_id}","starred_url":"https://api.github.com/users/23Skidoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/23Skidoo/subscriptions","organizations_url":"https://api.github.com/users/23Skidoo/orgs","repos_url":"https://api.github.com/users/23Skidoo/repos","events_url":"https://api.github.com/users/23Skidoo/events{/privacy}","received_events_url":"https://api.github.com/users/23Skidoo/received_events","type":"User","site_admin":false},"labels":[{"id":958966160,"node_id":"MDU6TGFiZWw5NTg5NjYxNjA=","url":"https://api.github.com/repos/haskell/cabal/labels/cabal-install:%20cmd/clean","name":"cabal-install: cmd/clean","color":"d93f0b","default":false},{"id":300616617,"node_id":"MDU6TGFiZWwzMDA2MTY2MTc=","url":"https://api.github.com/repos/haskell/cabal/labels/cabal-install:%20nix-local-build","name":"cabal-install: nix-local-build","color":"d93f0b","default":false},{"id":1389140,"node_id":"MDU6TGFiZWwxMzg5MTQw","url":"https://api.github.com/repos/haskell/cabal/labels/type:%20enhancement","name":"type: enhancement","color":"e99695","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-16T13:13:39Z","updated_at":"2018-11-20T18:51:54Z","closed_at":null,"author_association":"MEMBER","body":"How to reproduce:\r\n\r\n```\r\n# In some project's directory\r\n$ cabal new-build\r\n$ cabal new-clean\r\n$ ls .ghc.environment.*\r\n.ghc.environment.x86_64-linux-8.4.4 # Expected: zero hits\r\n```\r\n\r\nI'd prefer `cabal new-clean` to imply `rm -rf .ghc.environment.*` in the project's root directory, though it might be argued that it only should delete the environment file for the currently configured compiler.\r\n\r\n/cc @hvr @typedrat "},"comment":{"url":"https://api.github.com/repos/haskell/cabal/issues/comments/440389093","html_url":"https://github.com/haskell/cabal/issues/5689#issuecomment-440389093","issue_url":"https://api.github.com/repos/haskell/cabal/issues/5689","id":440389093,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDM4OTA5Mw==","user":{"login":"23Skidoo","id":47439,"node_id":"MDQ6VXNlcjQ3NDM5","avatar_url":"https://avatars3.githubusercontent.com/u/47439?v=4","gravatar_id":"","url":"https://api.github.com/users/23Skidoo","html_url":"https://github.com/23Skidoo","followers_url":"https://api.github.com/users/23Skidoo/followers","following_url":"https://api.github.com/users/23Skidoo/following{/other_user}","gists_url":"https://api.github.com/users/23Skidoo/gists{/gist_id}","starred_url":"https://api.github.com/users/23Skidoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/23Skidoo/subscriptions","organizations_url":"https://api.github.com/users/23Skidoo/orgs","repos_url":"https://api.github.com/users/23Skidoo/repos","events_url":"https://api.github.com/users/23Skidoo/events{/privacy}","received_events_url":"https://api.github.com/users/23Skidoo/received_events","type":"User","site_admin":false},"created_at":"2018-11-20T18:51:54Z","updated_at":"2018-11-20T18:51:54Z","author_association":"MEMBER","body":"Closing in favour of #5587."}}
{"actor":{"display_login":"23Skidoo"}}