-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
autodetect obvious URLs (niv add https://github.com/user/repo.git
)
#317
Comments
Hello @deliciouslytyped, For github, you can already do Ex:
|
It's not about length, it's about copy-pasting ;) |
I agree this would be nice! right now we differentiate between "github" and "git" dependencies, I guess some cases would be a bit ambiguous (but this would be based on heuristics anyways...) |
I did the same thing and I had to search in github issue to figure out the cryptic error as like any other nix projects (then I also found it by manually checking the help). I wish
|
It would be convenient if
niv add
could take automatically recognize some defined url so I could just paste the repo path instead of writinggithub -u user -r repo -n repo
.Maybe there could be a config file that contains regexes with captures or something, though personally I'm fine with just predefined things for gitlab and github, which would probably cover 99% of cases.
The text was updated successfully, but these errors were encountered: