{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/12350","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/12350/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/12350/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/12350/events","html_url":"https://github.com/JuliaLang/julia/pull/12350","id":97691840,"number":12350,"title":"Make Pkg.rm actually delete the package","user":{"login":"tkelman","id":5934628,"avatar_url":"https://avatars.githubusercontent.com/u/5934628?v=3","gravatar_id":"","url":"https://api.github.com/users/tkelman","html_url":"https://github.com/tkelman","followers_url":"https://api.github.com/users/tkelman/followers","following_url":"https://api.github.com/users/tkelman/following{/other_user}","gists_url":"https://api.github.com/users/tkelman/gists{/gist_id}","starred_url":"https://api.github.com/users/tkelman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkelman/subscriptions","organizations_url":"https://api.github.com/users/tkelman/orgs","repos_url":"https://api.github.com/users/tkelman/repos","events_url":"https://api.github.com/users/tkelman/events{/privacy}","received_events_url":"https://api.github.com/users/tkelman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JuliaLang/julia/labels/packages","name":"packages","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-28T12:19:00Z","updated_at":"2015-07-28T16:26:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/12350","html_url":"https://github.com/JuliaLang/julia/pull/12350","diff_url":"https://github.com/JuliaLang/julia/pull/12350.diff","patch_url":"https://github.com/JuliaLang/julia/pull/12350.patch"},"body":"and rename current Pkg.rm to Pkg.subtract\r\n\r\nshould fix #7054, probably a simpler alternative to #11262\r\n\r\nI can't really think of a situation where I call `Pkg.rm` and really strongly want to keep that package around in `.trash`. If I did this correctly it still does dependency resolution in a way that moves no-longer-required packages to `.trash`, but actually deletes the specific package you asked to remove when you call `Pkg.rm`.\r\n"},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/125670774","html_url":"https://github.com/JuliaLang/julia/pull/12350#issuecomment-125670774","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/12350","id":125670774,"user":{"login":"aviks","id":378918,"avatar_url":"https://avatars.githubusercontent.com/u/378918?v=3","gravatar_id":"","url":"https://api.github.com/users/aviks","html_url":"https://github.com/aviks","followers_url":"https://api.github.com/users/aviks/followers","following_url":"https://api.github.com/users/aviks/following{/other_user}","gists_url":"https://api.github.com/users/aviks/gists{/gist_id}","starred_url":"https://api.github.com/users/aviks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aviks/subscriptions","organizations_url":"https://api.github.com/users/aviks/orgs","repos_url":"https://api.github.com/users/aviks/repos","events_url":"https://api.github.com/users/aviks/events{/privacy}","received_events_url":"https://api.github.com/users/aviks/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T16:26:41Z","updated_at":"2015-07-28T16:26:41Z","body":"I don't really like this. Is this really necessary?\r\n\r\nPedantically, the opposite of `add` is `remove` in practical English. You `add` water to a bowl, and `remove` it. Or coins to a jar, or balls to a bag.... you get the idea.  You only `subtract` numbers, not any other object. \r\n\r\nIf `rm` semantics are incorrect or confusing, we should fix that. Adding a `subtract` method will result in one of two situations\r\n 1. Nobody discovers `subtract` and continues to use `rm` for better or worse\r\n 1. Everyone is perpetually confused by the difference between `subtract` and `rm`"}}