{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/23327","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/23327/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/23327/comments","events_url":"https://api.github.com/repos/docker/docker/issues/23327/events","html_url":"https://github.com/docker/docker/pull/23327","id":158807621,"number":23327,"title":"Refactor foreign sources to describable interfaces","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":[{"url":"https://api.github.com/repos/docker/docker/labels/group/distribution","name":"group/distribution","color":"F6FBFF"},{"url":"https://api.github.com/repos/docker/docker/labels/group/windows","name":"group/windows","color":"F6FBFF"},{"url":"https://api.github.com/repos/docker/docker/labels/status/2-code-review","name":"status/2-code-review","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-07T00:57:12Z","updated_at":"2016-06-07T19:22:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/23327","html_url":"https://github.com/docker/docker/pull/23327","diff_url":"https://github.com/docker/docker/pull/23327.diff","patch_url":"https://github.com/docker/docker/pull/23327.patch"},"body":"This was a suggestion for #22866 and #23014. The use of the descriptor should be represented more generically in the interfaces rather than being tied to \"foreign\" sources. As part of this, the [distribution.Descriptor](https://godoc.org/github.com/docker/distribution#Descriptor) type and [distribution.Describable](https://godoc.org/github.com/docker/distribution#Describable) interface can be used to simply the code.\r\n\r\nping @stevvooe @aaronlehmann "},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/224386412","html_url":"https://github.com/docker/docker/pull/23327#issuecomment-224386412","issue_url":"https://api.github.com/repos/docker/docker/issues/23327","id":224386412,"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-07T19:22:01Z","updated_at":"2016-06-07T19:22:01Z","body":"LGTM"}}
{"actor":{"display_login":"aaronlehmann"}}