{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/deployment-manager/issues/25","labels_url":"https://api.github.com/repos/kubernetes/deployment-manager/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/deployment-manager/issues/25/comments","events_url":"https://api.github.com/repos/kubernetes/deployment-manager/issues/25/events","html_url":"https://github.com/kubernetes/deployment-manager/issues/25","id":115620118,"number":25,"title":"Add support for shortened type names","user":{"login":"jackgr","id":5607565,"avatar_url":"https://avatars.githubusercontent.com/u/5607565?v=3","gravatar_id":"","url":"https://api.github.com/users/jackgr","html_url":"https://github.com/jackgr","followers_url":"https://api.github.com/users/jackgr/followers","following_url":"https://api.github.com/users/jackgr/following{/other_user}","gists_url":"https://api.github.com/users/jackgr/gists{/gist_id}","starred_url":"https://api.github.com/users/jackgr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackgr/subscriptions","organizations_url":"https://api.github.com/users/jackgr/orgs","repos_url":"https://api.github.com/users/jackgr/repos","events_url":"https://api.github.com/users/jackgr/events{/privacy}","received_events_url":"https://api.github.com/users/jackgr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/deployment-manager/labels/priority/P2","name":"priority/P2","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-07T00:53:44Z","updated_at":"2015-11-20T00:22:10Z","closed_at":null,"body":"Currently, we pull type definitions from URLs. We then use the URL as the type name in DM, which makes for awkward REST queries, since the URL must be encoded.\r\n\r\nA simpler approach would be to do what the go command does, and let the user specify well known registries by just their prefix (i.e., github.com, bitbucket.org, code.google.com, etc.). See go help importpath for details."},"comment":{"url":"https://api.github.com/repos/kubernetes/deployment-manager/issues/comments/158241790","html_url":"https://github.com/kubernetes/deployment-manager/issues/25#issuecomment-158241790","issue_url":"https://api.github.com/repos/kubernetes/deployment-manager/issues/25","id":158241790,"user":{"login":"zmerlynn","id":4942464,"avatar_url":"https://avatars.githubusercontent.com/u/4942464?v=3","gravatar_id":"","url":"https://api.github.com/users/zmerlynn","html_url":"https://github.com/zmerlynn","followers_url":"https://api.github.com/users/zmerlynn/followers","following_url":"https://api.github.com/users/zmerlynn/following{/other_user}","gists_url":"https://api.github.com/users/zmerlynn/gists{/gist_id}","starred_url":"https://api.github.com/users/zmerlynn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zmerlynn/subscriptions","organizations_url":"https://api.github.com/users/zmerlynn/orgs","repos_url":"https://api.github.com/users/zmerlynn/repos","events_url":"https://api.github.com/users/zmerlynn/events{/privacy}","received_events_url":"https://api.github.com/users/zmerlynn/received_events","type":"User","site_admin":false},"created_at":"2015-11-20T00:22:10Z","updated_at":"2015-11-20T00:22:10Z","body":"+1. Was just about to file something like this, since I can do a `dm describe replicatedservice:v2`, but I can't turn around and use it in my template."}}