Closed n0v1 closed 3 years ago
[[dependencies]] target = "https://github.com/googleapis/api-common-protos"
That seems good but I think that's little hard to implement because which AuthProvider we use is determined here.
I would suggest a CLI flag to clone dependencies via HTTPS instead:
$ protodep up --use-https
$ protodep up -u
@n0v1 @ackintosh
I'm sorry to have kept you waiting. This feature was released as 0.1.0. 🙏
Thanks for the release. ✨
Thank you @stormcat24! Much appreciated!
I'm not sure whether I'm interpreting the code right, but it looks like protodep would support cloning of public repositories via HTTPS when it does not find a private ssh key in the users home directory. So I renamed
id_rsa
toid_rsa.bak
and tried it with the followingprotodep.toml
:Running
protodep up --force
then fails with this output:As I side note, I think it would make sense to allow to explicitely specify the desired protocol in protodep.toml. E.g. like this: