gyro
gyro copied to clipboard
Cannot install from GitHub source with 0.7.0
Using zig master and gyro 0.7.0 release:
$ gyro add --src github Hejsil/clap
error: remote authentication required but no callback set
I don't understand why I'd need authentication; sorry if I've done something stupid!
does your git config use ssh by default? I haven't gotten around to setting the callback for ssh, so that might be what's missing here
Thanks for getting back to me! I don't think my git config uses ssh by default; I have the following for GitHub, to stop getting error messages for old checkouts now that GitHub stopped supporting plain git protocol:
[url "https://github.com/"]
insteadOf = git://github.com/
Just to make sure I temporarily removed my ~/.gitconfig
, but I get the same error.
hmm okay that's very odd, I've got another gyro bug to work on this weekend so I'll take a look at this too
I experience the exact same issue.
[url "[email protected]:"]
insteadOf = https://github.com/
My ssh config:
Host github.com
HostName github.com
IdentityFile ~/.ssh/github_rsa
IdentitiesOnly yes
I added the key to id_rsa
as well... Just in case. Unfortunately, without a positive result.
edit: I was able to mitigate the issue by removing the lines entirely from my gitconfig:
[url "[email protected]:"]
insteadOf = https://github.com/