Open thatguydan opened 11 years ago
I think it should assume github if its not specified to be something else. so ninja install elliots/ninja-xbmc
should work, but so should ninja install git://myserver.com/my-driver
At the moment it's github or nothing, would be good to support bitbucket etc. Agreed about the git:// too.
Ideally they will set a flag ie ninja install --github elliots/ninja-xbmc
that knows how to magic it from github, vs bitbucket, etc.
We might want to save ninja install elliots/ninja-xbmc
for when we have compiled bundled stuff in a different location that isn't source code manager based.
Fair enough, I just think simple-now should always beat future-powerful. In the future we could make sure our compiled stuff couldn't have a forward slash for instance... or just deprecate it and ask if we do find a github repo with that name "Did you mean github://elliots/ninja-xbmc?"
Btw "ninja://drivers/ninja-xbmc" would look cool.
Implement bitbucket/other support only when someone asks. Easy enough to change later.
(unless that makes it work better for the 99.9% of the time it is github)