ProLoser / Github-Omnibox

Github Commands from Google Chrome Omnibox (address bar)
http://goo.gl/n5HJw
MIT License
380 stars 24 forks source link

`gh gist 123123` should not automatically add your username #21

Closed ProLoser closed 10 years ago

ProLoser commented 10 years ago

Although all gists are namespaced by owner, they are still unique (I think). I would like to be able to specify a gist without having to specify the owner, so if we direct to gist.github.com/123123 github will automatically redirect to the proper owner.

rodyhaddad commented 10 years ago

Hm, would have to consider that someone with the username 123123 can exist (and actually does), so we would be opening his profile. We could fetch the owner of a gist id from the api to remove that concern

ProLoser commented 10 years ago

I don't think we bother with users, plus we could just support @123123 On Oct 22, 2013 7:47 PM, "rodyhaddad" notifications@github.com wrote:

Hm, would have to consider that someone with the username 123123 can exist (and actually does), so we would be opening his profile. We could fetch the owner of a gist id from the apihttp://developer.github.com/v3/gists/#get-a-single-gistto remove that concern

— Reply to this email directly or view it on GitHubhttps://github.com/ProLoser/Github-Omnibox/issues/21#issuecomment-26876904 .

ProLoser commented 10 years ago

39709a0192fe3a5cd2c1fe2ca80c885829e3e2f5