Can I make `build` skip the cloning from Github step?


#1

I copied my Julia packages from a computer to another computer. The computer I copied it to doesn’t have internet access. But I need to re-build some packages. When I run ] build PkgName it fails with

ERROR: failed to clone from https://github.com/JuliaRegistries/General.git, error: GitError(Code:ERROR, Class:Net, curl error: Could not resolve host: github.com
)

Is there a way to skip the cloning from Github step?


#2

I’m not sure whether there’s an official way to do this. As an ugly workaround you could perhaps try

using Pkg
Pkg.UPDATED_REGISTRY_THIS_SESSION[] = true

and see whether that helps.


#3

No cigar.