You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This isn't an issue with HolyLabRegistry, but you seem to have the best handle of anyone I've seen on using non-General registries so I figured I'd ask here. Apologies in advance clogging up your repo! Feel free to close this issue.
Using your readme I was able to get my own registry (a private GH repo) working with Registrator + Travis. I'm curious about the verbose script you use to add the registry to Travis (if [[ -a .git/shallow ]]; then git fetch --unshallow; fi...). I figured with Julia 1.1 I would be able to just do using Pkg; Pkg.Registry.add(...) but that results in the following error:
$ julia --color=yes -e 'using Pkg; Pkg.Registry.add(RegistrySpec(url="[email protected]:colinxs/JuliaRegistry.git"))'
Cloning registry from "[email protected]:colinxs/JuliaRegistry.git"
Added registry `JuliaRegistry` to `~/.julia/registries/JuliaRegistry`
The command "julia --color=yes -e 'using Pkg; Pkg.Registry.add(RegistrySpec(url="git@github.com:colinxs/JuliaRegistry.git"))'" exited with 0.2.90s$ julia --color=yes -e 'using Pkg; Pkg.activate(); Pkg.instantiate(); Pkg.test()'
Updating registry at `~/.julia/registries/JuliaRegistry`
Updating git-repo `[email protected]:colinxs/JuliaRegistry.git`
ERROR: AssertionError:haskey(hashes, uuid)
Stacktrace:
[1] version_data!(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl:426
[2] #instantiate#67(::Nothing, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:466
[3] instantiate at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:442 [inlined]
[4] #instantiate#66 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:440 [inlined]
[5] instantiate() at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:440
[6] top-level scope at none:0
The command "julia --color=yes -e 'using Pkg; Pkg.activate(); Pkg.instantiate(); Pkg.test()'" exited with 1.
I tried looking into this but wasn't able to make heads or tails of what's going on and can't replicate the issue on a local machine. The lack of a helpful error message on which uuid is missing doesn't help either (related to JuliaLang/Pkg.jl#1172).
If you have any insight, I'm all ears!
Thanks in advance,
Colin
The text was updated successfully, but these errors were encountered:
This isn't an issue with HolyLabRegistry, but you seem to have the best handle of anyone I've seen on using non-General registries so I figured I'd ask here. Apologies in advance clogging up your repo! Feel free to close this issue.
Using your readme I was able to get my own registry (a private GH repo) working with Registrator + Travis. I'm curious about the verbose script you use to add the registry to Travis (
if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
...). I figured with Julia 1.1 I would be able to just dousing Pkg; Pkg.Registry.add(...)
but that results in the following error:I tried looking into this but wasn't able to make heads or tails of what's going on and can't replicate the issue on a local machine. The lack of a helpful error message on which uuid is missing doesn't help either (related to JuliaLang/Pkg.jl#1172).
If you have any insight, I'm all ears!
Thanks in advance,
Colin
The text was updated successfully, but these errors were encountered: