-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: support the compressed (non-extracted) version of the Pkg server registry #442
Comments
There are three possible formats that the registry can take. Unfortunately, RegistryCI currently only supports two of them.
To switch your registry format:
For example, to switch to the Pkg server extracted registry: import Pkg
Pkg.Registry.rm("General")
delete!(ENV, "JULIA_PKG_SERVER")
ENV["JULIA_PKG_UNPACK_REGISTRY"] = "true"
Pkg.Registry.add("General") |
@CameronBieganek Can you confirm that switching to one of the two supported registry formats fixes the problem for you? If so, then we can change this issue to be a feature request for RegistryCI to support the non-extracted Pkg server registry. But let's first make sure you can get things working. |
Are there any performance advantages to sticking with the unextracted tarball? If so, I'd rather stick with that. Although I suppose I could probably just delete the registry and reinstall it if I want to go back to an unextracted tarball. This isn't an important issue for me---I just wanted to check out the string distance for a package name. |
On most systems, it is more performant to use the unextracted tarball. You could just clone the General registry to a temp directory, and pass that directory as the first positional argument to |
AutoMerge.get_all_non_jll_package_names
no longer works
Cool, thanks! I'll try that when I get a chance. |
I think the way to do this without needing an unpacked registry would be for someone to help setup https://github.com/GunnarFarneback/RegistryInstances.jl as a stable face in front of Pkg's registry-handling internals on Julia 1.7+, and then use it here. |
That package is stuck because I haven't needed it badly enough myself yet. The major missing part is to extract the relevant tests from Pkg and if necessary add some new ones. |
Added a brief note explaining that `get_all_non_jll_package_names` requires a non-default extracted General registry, as explained in JuliaRegistries#442 .
472: checking name similarity requires an extracted registry r=DilumAluthge a=czimm79 Added a brief note explaining that `get_all_non_jll_package_names` requires a non-default extracted General registry, as explained in #442 . Co-authored-by: Coy Zimmermann <[email protected]>
Added a brief note explaining that `get_all_non_jll_package_names` requires a non-default extracted General registry, as explained in JuliaRegistries#442 .
470: Documentation: fix a typo in `private-registries.md` r=DilumAluthge a=thomvet Minor typo. 472: checking name similarity requires an extracted registry r=DilumAluthge a=czimm79 Added a brief note explaining that `get_all_non_jll_package_names` requires a non-default extracted General registry, as explained in #442 . Co-authored-by: Thomas Vetter <[email protected]> Co-authored-by: Coy Zimmermann <[email protected]>
Just adding that I hit this today and would be interested in this feature. Thanks for your work on the CI infrastructure! |
Here are the contents of my
~/.julia/registries
directory:The text was updated successfully, but these errors were encountered: