{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker-py/issues/681","labels_url":"https://api.github.com/repos/docker/docker-py/issues/681/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker-py/issues/681/comments","events_url":"https://api.github.com/repos/docker/docker-py/issues/681/events","html_url":"https://github.com/docker/docker-py/pull/681","id":96031366,"number":681,"title":"Stop pinging registries from the client","user":{"login":"aanand","id":1062,"avatar_url":"https://avatars.githubusercontent.com/u/1062?v=3","gravatar_id":"","url":"https://api.github.com/users/aanand","html_url":"https://github.com/aanand","followers_url":"https://api.github.com/users/aanand/followers","following_url":"https://api.github.com/users/aanand/following{/other_user}","gists_url":"https://api.github.com/users/aanand/gists{/gist_id}","starred_url":"https://api.github.com/users/aanand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aanand/subscriptions","organizations_url":"https://api.github.com/users/aanand/orgs","repos_url":"https://api.github.com/users/aanand/repos","events_url":"https://api.github.com/users/aanand/events{/privacy}","received_events_url":"https://api.github.com/users/aanand/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-20T10:10:25Z","updated_at":"2015-07-20T20:52:46Z","closed_at":"2015-07-20T20:52:25Z","pull_request":{"url":"https://api.github.com/repos/docker/docker-py/pulls/681","html_url":"https://github.com/docker/docker-py/pull/681","diff_url":"https://github.com/docker/docker-py/pull/681.diff","patch_url":"https://github.com/docker/docker-py/pull/681.patch"},"body":"The daemon already pings the registry, so doing it on our end is redundant and error-prone.\r\n\r\n- The `insecure_registry` argument to `push()`, `pull()` and `login()` has been deprecated - in the latter case, it wasn't being used anyway.\r\n\r\n- The `insecure` argument to `docker.auth.resolve_repository_name()` has also been deprecated.\r\n\r\n- `docker.utils.ping_registry()` has been deprecated.\r\n\r\n- `docker.auth.expand_registry_url()` has been removed.\r\n\r\n- `docker.auth.resolve_repository_name()` now returns a hostname as the first part of the tuple, rather than a full URL.\r\n\r\n- When encountering a legacy `~/.dockercfg` with only authentication information for the Hub, `docker.auth.load_config()` now returns a dict with `index.docker.io` as its sole key, not `https://index.docker.io/v1/`."},"comment":{"url":"https://api.github.com/repos/docker/docker-py/issues/comments/123033286","html_url":"https://github.com/docker/docker-py/pull/681#issuecomment-123033286","issue_url":"https://api.github.com/repos/docker/docker-py/issues/681","id":123033286,"user":{"login":"shin-","id":1086876,"avatar_url":"https://avatars.githubusercontent.com/u/1086876?v=3","gravatar_id":"","url":"https://api.github.com/users/shin-","html_url":"https://github.com/shin-","followers_url":"https://api.github.com/users/shin-/followers","following_url":"https://api.github.com/users/shin-/following{/other_user}","gists_url":"https://api.github.com/users/shin-/gists{/gist_id}","starred_url":"https://api.github.com/users/shin-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shin-/subscriptions","organizations_url":"https://api.github.com/users/shin-/orgs","repos_url":"https://api.github.com/users/shin-/repos","events_url":"https://api.github.com/users/shin-/events{/privacy}","received_events_url":"https://api.github.com/users/shin-/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T20:52:46Z","updated_at":"2015-07-20T20:52:46Z","body":"Thanks!"}}