{"action":"created","issue":{"url":"https://api.github.com/repos/dmcgowan/docker/issues/27","repository_url":"https://api.github.com/repos/dmcgowan/docker","labels_url":"https://api.github.com/repos/dmcgowan/docker/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/dmcgowan/docker/issues/27/comments","events_url":"https://api.github.com/repos/dmcgowan/docker/issues/27/events","html_url":"https://github.com/dmcgowan/docker/pull/27","id":161519435,"number":27,"title":"Upstream reference updates","user":{"login":"dmcgowan","id":169601,"avatar_url":"https://avatars.githubusercontent.com/u/169601?v=3","gravatar_id":"","url":"https://api.github.com/users/dmcgowan","html_url":"https://github.com/dmcgowan","followers_url":"https://api.github.com/users/dmcgowan/followers","following_url":"https://api.github.com/users/dmcgowan/following{/other_user}","gists_url":"https://api.github.com/users/dmcgowan/gists{/gist_id}","starred_url":"https://api.github.com/users/dmcgowan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmcgowan/subscriptions","organizations_url":"https://api.github.com/users/dmcgowan/orgs","repos_url":"https://api.github.com/users/dmcgowan/repos","events_url":"https://api.github.com/users/dmcgowan/events{/privacy}","received_events_url":"https://api.github.com/users/dmcgowan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-21T19:27:15Z","updated_at":"2016-06-23T18:59:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dmcgowan/docker/pulls/27","html_url":"https://github.com/dmcgowan/docker/pull/27","diff_url":"https://github.com/dmcgowan/docker/pull/27.diff","patch_url":"https://github.com/dmcgowan/docker/pull/27.patch"},"body":"PR to review reference changes in distribution package with corresponding changes in docker engine.\r\n\r\nSee https://github.com/docker/distribution/pull/1778"},"comment":{"url":"https://api.github.com/repos/dmcgowan/docker/issues/comments/228150652","html_url":"https://github.com/dmcgowan/docker/pull/27#issuecomment-228150652","issue_url":"https://api.github.com/repos/dmcgowan/docker/issues/27","id":228150652,"user":{"login":"aaronlehmann","id":10601430,"avatar_url":"https://avatars.githubusercontent.com/u/10601430?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronlehmann","html_url":"https://github.com/aaronlehmann","followers_url":"https://api.github.com/users/aaronlehmann/followers","following_url":"https://api.github.com/users/aaronlehmann/following{/other_user}","gists_url":"https://api.github.com/users/aaronlehmann/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronlehmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronlehmann/subscriptions","organizations_url":"https://api.github.com/users/aaronlehmann/orgs","repos_url":"https://api.github.com/users/aaronlehmann/repos","events_url":"https://api.github.com/users/aaronlehmann/events{/privacy}","received_events_url":"https://api.github.com/users/aaronlehmann/received_events","type":"User","site_admin":false},"created_at":"2016-06-23T18:59:58Z","updated_at":"2016-06-23T18:59:58Z","body":"> If we were to have NormalizedName as an interface, what would you expect the behavior of the different functions to be. Such as, would String() return a normalized or familiar string?\r\n\r\nMaybe instead of embedding `reference.Named`, it should be an interface like this:\r\n\r\n```go\r\ntype NormalizedName interface {\r\n        Normalized() Named\r\n        Familiar() Named\r\n}\r\n```\r\n\r\nThis would keep things explicit, and also address my concern about accidentally passing an unnormalized reference to a function expecting a normalized one or vice versa, by making a normalized name an explicit type."}}
{"actor":{"display_login":"aaronlehmann"}}