{"action":"created","issue":{"url":"https://api.github.com/repos/conan-io/conan/issues/3115","repository_url":"https://api.github.com/repos/conan-io/conan","labels_url":"https://api.github.com/repos/conan-io/conan/issues/3115/labels{/name}","comments_url":"https://api.github.com/repos/conan-io/conan/issues/3115/comments","events_url":"https://api.github.com/repos/conan-io/conan/issues/3115/events","html_url":"https://github.com/conan-io/conan/issues/3115","id":335903109,"node_id":"MDU6SXNzdWUzMzU5MDMxMDk=","number":3115,"title":"Removing a remote doesn't remove upstream entries from the registry","user":{"login":"drussel","id":1482491,"node_id":"MDQ6VXNlcjE0ODI0OTE=","avatar_url":"https://avatars3.githubusercontent.com/u/1482491?v=4","gravatar_id":"","url":"https://api.github.com/users/drussel","html_url":"https://github.com/drussel","followers_url":"https://api.github.com/users/drussel/followers","following_url":"https://api.github.com/users/drussel/following{/other_user}","gists_url":"https://api.github.com/users/drussel/gists{/gist_id}","starred_url":"https://api.github.com/users/drussel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drussel/subscriptions","organizations_url":"https://api.github.com/users/drussel/orgs","repos_url":"https://api.github.com/users/drussel/repos","events_url":"https://api.github.com/users/drussel/events{/privacy}","received_events_url":"https://api.github.com/users/drussel/received_events","type":"User","site_admin":false},"labels":[{"id":821746717,"node_id":"MDU6TGFiZWw4MjE3NDY3MTc=","url":"https://api.github.com/repos/conan-io/conan/labels/in%20review","name":"in review","color":"0000e6","default":false}],"state":"open","locked":false,"assignee":{"login":"memsharded","id":15367152,"node_id":"MDQ6VXNlcjE1MzY3MTUy","avatar_url":"https://avatars2.githubusercontent.com/u/15367152?v=4","gravatar_id":"","url":"https://api.github.com/users/memsharded","html_url":"https://github.com/memsharded","followers_url":"https://api.github.com/users/memsharded/followers","following_url":"https://api.github.com/users/memsharded/following{/other_user}","gists_url":"https://api.github.com/users/memsharded/gists{/gist_id}","starred_url":"https://api.github.com/users/memsharded/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/memsharded/subscriptions","organizations_url":"https://api.github.com/users/memsharded/orgs","repos_url":"https://api.github.com/users/memsharded/repos","events_url":"https://api.github.com/users/memsharded/events{/privacy}","received_events_url":"https://api.github.com/users/memsharded/received_events","type":"User","site_admin":false},"assignees":[{"login":"memsharded","id":15367152,"node_id":"MDQ6VXNlcjE1MzY3MTUy","avatar_url":"https://avatars2.githubusercontent.com/u/15367152?v=4","gravatar_id":"","url":"https://api.github.com/users/memsharded","html_url":"https://github.com/memsharded","followers_url":"https://api.github.com/users/memsharded/followers","following_url":"https://api.github.com/users/memsharded/following{/other_user}","gists_url":"https://api.github.com/users/memsharded/gists{/gist_id}","starred_url":"https://api.github.com/users/memsharded/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/memsharded/subscriptions","organizations_url":"https://api.github.com/users/memsharded/orgs","repos_url":"https://api.github.com/users/memsharded/repos","events_url":"https://api.github.com/users/memsharded/events{/privacy}","received_events_url":"https://api.github.com/users/memsharded/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-06-26T16:36:19Z","updated_at":"2018-06-26T16:58:29Z","closed_at":null,"author_association":"NONE","body":"When you `conan remote remove` a remote, it leaves behind entries in the registry.txt referencing that remote as the upstream for packages. Then Conan will fail in hard to understand ways when trying to use those packages (since it is looking for a remote that no longer exists). It seems like the right thing to do is to delete those entries.\r\n"},"comment":{"url":"https://api.github.com/repos/conan-io/conan/issues/comments/400388804","html_url":"https://github.com/conan-io/conan/issues/3115#issuecomment-400388804","issue_url":"https://api.github.com/repos/conan-io/conan/issues/3115","id":400388804,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDM4ODgwNA==","user":{"login":"drussel","id":1482491,"node_id":"MDQ6VXNlcjE0ODI0OTE=","avatar_url":"https://avatars3.githubusercontent.com/u/1482491?v=4","gravatar_id":"","url":"https://api.github.com/users/drussel","html_url":"https://github.com/drussel","followers_url":"https://api.github.com/users/drussel/followers","following_url":"https://api.github.com/users/drussel/following{/other_user}","gists_url":"https://api.github.com/users/drussel/gists{/gist_id}","starred_url":"https://api.github.com/users/drussel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drussel/subscriptions","organizations_url":"https://api.github.com/users/drussel/orgs","repos_url":"https://api.github.com/users/drussel/repos","events_url":"https://api.github.com/users/drussel/events{/privacy}","received_events_url":"https://api.github.com/users/drussel/received_events","type":"User","site_admin":false},"created_at":"2018-06-26T16:58:29Z","updated_at":"2018-06-26T16:58:29Z","author_association":"NONE","body":"Has it always been that way or did it change in some (recentish) version? We dropped one of our remotes recently and had problems on a bunch of machines. We only figured out about the registry.txt containing upstream references at the end of cleaning it up, and so don't have a very good understanding of what failed when.\r\n\r\nI'll see if I can reproduce it."}}
{"actor":{"display_login":"drussel"}}