Open staticfloat opened 3 weeks ago
As far as a motivating reason for this, BinaryBuilder2 will push up registry branches with stacks of new JLLs built and registered within it, like this. Eventually, I would like to make it very easy for users to test out Yggdrasil PRs by just running something like:
$ JULIA_DEPOT_PATH=/tmp/deleteme julia
...
pkg> registry add https://github.com/JuliaBinaryWrappers/General#bb2/pr/1234
pkg> add Foo_jll
julia> using Foo_jll
julia> run_my_test()
I don't think there is any support att all for branches in the regsitry and it just sets the URL field as that string:
Attempting to add a specific branch of a registry using the same form as
add
for a package results in cloning the right repository, but with an invalid fetch refspec:This kind of looks like it works, but if you inspect the registry:
No such luck, and looking at the remote, we can see it's clearly not what I wanted: