{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/issues/702","repository_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs","labels_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/issues/702/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/issues/702/comments","events_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/issues/702/events","html_url":"https://github.com/rust-lang-nursery/rustup.rs/issues/702","id":173887328,"number":702,"title":"`rustup self uninstall` deletes the entire ~/.cargo folder","user":{"login":"oconnor663","id":860932,"avatar_url":"https://avatars.githubusercontent.com/u/860932?v=3","gravatar_id":"","url":"https://api.github.com/users/oconnor663","html_url":"https://github.com/oconnor663","followers_url":"https://api.github.com/users/oconnor663/followers","following_url":"https://api.github.com/users/oconnor663/following{/other_user}","gists_url":"https://api.github.com/users/oconnor663/gists{/gist_id}","starred_url":"https://api.github.com/users/oconnor663/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oconnor663/subscriptions","organizations_url":"https://api.github.com/users/oconnor663/orgs","repos_url":"https://api.github.com/users/oconnor663/repos","events_url":"https://api.github.com/users/oconnor663/events{/privacy}","received_events_url":"https://api.github.com/users/oconnor663/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-29T22:23:23Z","updated_at":"2016-10-26T16:54:50Z","closed_at":null,"body":"If I install rustup with the standard flow from https://rustup.rs/, and then uninstall it with `rustup self uninstall`, my entire `~/.cargo` directory gets deleted. This happens even if I have a lot of binaries in there installed by my system's version of Cargo, from before I started using rustup. Is that intended? I think rustup should uninstall the shims that it put in `~/.cargo/bin`, but not assume it owns the entire directory."},"comment":{"url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/issues/comments/256410966","html_url":"https://github.com/rust-lang-nursery/rustup.rs/issues/702#issuecomment-256410966","issue_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/issues/702","id":256410966,"user":{"login":"valarauca","id":19227148,"avatar_url":"https://avatars.githubusercontent.com/u/19227148?v=3","gravatar_id":"","url":"https://api.github.com/users/valarauca","html_url":"https://github.com/valarauca","followers_url":"https://api.github.com/users/valarauca/followers","following_url":"https://api.github.com/users/valarauca/following{/other_user}","gists_url":"https://api.github.com/users/valarauca/gists{/gist_id}","starred_url":"https://api.github.com/users/valarauca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valarauca/subscriptions","organizations_url":"https://api.github.com/users/valarauca/orgs","repos_url":"https://api.github.com/users/valarauca/repos","events_url":"https://api.github.com/users/valarauca/events{/privacy}","received_events_url":"https://api.github.com/users/valarauca/received_events","type":"User","site_admin":false},"created_at":"2016-10-26T16:54:49Z","updated_at":"2016-10-26T16:54:49Z","body":"@Diggsey I beleve this is correct.\r\n\r\nBut that doesn't solve the core issue that Rustup is deleting the directory _above_ it's installation files, not the files it created itself. No matter what they file/directory is. \r\n"}}
{"actor":{"display_login":"valarauca"}}