I have several dependencies from a private repository and I’m trying to figure out how to add them. Following another thread here on discourse, it seems I should add the leaf dependencies first and work my way up.
First, I’m having a problem where the private key never seems to work when used from Julia. I do
at which point I get prompted for the location of the private key. If I enter a valid location, it prompts me several times (making the first value I input the default after the first time), but then returns an error
ERROR: failed to clone from private-git-url, error: GitError(Code:EAUTH, Class:Callback, Aborting, maximum number of prompts reached.)
The same key seems to work perfectly fine with
git commands in both repositories.
My next question is, even if the private key issue can be resolved, will it ever be possible to do
Pkg.instantiate() on my package? First, it has to know the location of the private keys (presumably beforehand, particularly if I execute
instantiate from a script) and second, unless it clones them in precisely the right order it will throw a dependency error because the packages being cloned from the private repo depend on each other.
Any ideas on how to proceed?
In the meantime, it seems the alternative is just to clone the repos as part of a seperate process and add the local repos using