Previously, I could just run TOML.parsefile("General/Registry.toml")["packages"] to get the list of all the packages registered in the General registry.
However, with Julia 1.7, the General directory has been replaced with General.tar.gz and General.toml.
How can I efficiently get the list of packages in the registry with a setup like this? Is there a function that Pkg implements (I’m assuming there is) that can help me out here?
You could, but my question is in the context of registries that already exist locally.
When you do ] registry add General, with Julia 1.7+ and get the General.toml and General.tar.gz — my question is, how can I extract the list of packages from that (without having to source a Registry.toml elsewhere)? For instance, how does Pkg do it?
This lists the registries I have loaded in memory, but not the packages registered in a particular registry, which is what I’m interested in extracting.