Hi,
I’ve created a LocalRegistry (LR) and added two packages to it (AdamWysokinski/NeuroAnalyzer_registry: Packages required for NeuroAnalyzer - Codeberg.org). One package is not in the GeneralRegistry (GR) and another is a modified fork of a package registered in the GR. I need both of these packages in my own package that is already registered in the GR.
What should I do so dependencies of my package will be installed from my LR?
I have a problem with registering an update of my package since one of the dependencies is not in the GR and I get the following error:
Run julia --color=yes --project=.ci/ -e 'import RegistryCI; RegistryCI.test()'
┌ Error: It is not the case that all dependencies exist in the General registry
│ setdiff(depuuids, alluuids) = Set(Base.UUID[UUID("d75d2fe3-70b5-44f4-a698-e19bbf534063")])
└ @ RegistryCI ~/.julia/packages/RegistryCI/hORYl/src/registry_testing.jl:192
I might be misunderstanding your question, but: If a package PkgA is registered in the General registry, then all dependencies of PkgA must also be registered in the General registry.
That is, if PkgA depends on PkgB, then in order for PkgA to be registered in the General registry, then PkgB must also be registered in the General registry.
If you’d prefer not to register PkgB in the General registry, then one option would be to “vendor” PkgB inside PkgA. That is, make a copy of the source code of PkgB, and put that copy inside PkgA, and then in the source code for PkgA, you have a line of the form include("vendored/PkgB.jl" or something like that.