I am interested in views on registering a package in the General registry versus managing my own Custom Registry.
For some packages that are widely used this is obvious (ForwarsDiff, Optim, StaticArrays, . . .); But what about packages that are more „end-user“ oriented and maybe used only by a small community, possibly just 3-5 connected research groups.
At the moment I often just don’t register such packages and Tell people to just clone them. But this quickly becomes problematic to manage. On the other hand I am not comfortable registering 10 new packages in general that are not at all polished and likely only used by a handful of people.
I’ve asked this question once before but well before the new Pkg.jl arrived and I wonder whether the views have now evolved.
I’d also be curious to hear from others what their experience is in managing a small registry - was it worthwhile? What are the advantages / disadvantages?
From everything I’ve read it actually sounds a bit involved since one has to manage all the TOML files by hand? Or have I missed something?
Everything to update is in Registrator.jl but there are a bunch of other stuff in there as well so it might be a bit hard to find. At some point we should factor out a pure RegistryTools.jl from Registrator.
Hi. I’d just like to add another voice in favour of small private registries. I work for a small company (~10 employees) that does a lot of work in julia. Setting up a company registry for our private packages has been very helpful and the benefits have far outweighed the small overhead of maintaining the registry. The combination of the new package manager’s overall functionality with the private registry has been great. The biggest benefit has been for employees that are users of our private packages and not really developers. Having them be able to install/update our private packages without having to manually clone repos, checkout branches, etc–as well as the ability to run simulations in reproducible julia environments—has definitely upped productivity.
If it is in the General registry it should stay there since people might depend on it. But having it both in the General registry and your custom one at the same time should be fine.
Moving from your registry to General is just to register it like any package that should be registered in General.
If it is only useful for yourself or a closed group of people (like your research group or university etc) then a private registry makes sense. If it is a package “for the community” then General makes sense.
Sorry, I wasn’t clear - what I meant was : If I have a package in both registries, how can i determine which “version” to install? E.g. I might have more regular updates in my private registry than in General.