# About migrating packages from private registry to the General registry

**URL:** <https://discourse.julialang.org/t/about-migrating-packages-from-private-registry-to-the-general-registry/105165>\
**Category:** Community\
**Tags:** package, registry, general-registry\
**Created:** [October 19, 2023, 9:24am UTC](https://discourse.julialang.org/t/about-migrating-packages-from-private-registry-to-the-general-registry/105165 "2023-10-19T09:24:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![thautwarm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thautwarm/32/37760_2.png) [@thautwarm](https://discourse.julialang.org/u/thautwarm)\
**Post date:** [October 19, 2023, 9:24am UTC](https://discourse.julialang.org/t/about-migrating-packages-from-private-registry-to-the-general-registry/105165/1 "2023-10-19T09:24:46Z")

</div>

My team has developed several Julia packages that have already evolved to a relatively stable version, i.e., not v0.1. They’ve been working well for commercial cases, and we’ve just decided to make some packages public to contribute to the community.

We decide to make our packages available by everyone for free, but we get anxious about whether the package version has to change to v0.1 again if we want to register our closed-source package in the General registry.

These packages are already relied by our commercial products and might get broken if the their versions are not compatible between General and the company’s private registry.

Is it possible to registry a package in General that begins with a version like v0.5.4?  
If not, are there any alternatives to achieve the following goals:

1. migrating our packages from private registry to General
2. avoiding breaking our commercial products (which were designed to have good forward compatibility)

---

<div class="post-metadata">

**Author:** ![jling](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jling/32/212909_2.png) [@jling](https://discourse.julialang.org/u/jling)\
**Post date:** [October 19, 2023, 9:35am UTC](https://discourse.julialang.org/t/about-migrating-packages-from-private-registry-to-the-general-registry/105165/2 "2023-10-19T09:35:56Z")

</div>

> [@thautwarm](#):
>
> Is it possible to registry a package in General that begins with a version like v0.5.4?

I think so. The automation might stop you but you can get manual approval for sure.

---

<div class="post-metadata">

**Author:** ![goerz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goerz/32/3269_2.png) [@goerz](https://discourse.julialang.org/u/goerz)\
**Post date:** [October 19, 2023, 10:39am UTC](https://discourse.julialang.org/t/about-migrating-packages-from-private-registry-to-the-general-registry/105165/3 "2023-10-19T10:39:48Z")

</div>

I just moved a package from a private registry to General, with a high version number, and it was auto-merged without any problems whatsoever.

So I don’t think there is anything to worry about with moving registries. Actually, it should even be fine to keep it in multiple registries (as long as any specific release points to the same tree hash in all registries)

---

<div class="post-metadata">

**Author:** ![thautwarm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thautwarm/32/37760_2.png) [@thautwarm](https://discourse.julialang.org/u/thautwarm)\
**Post date:** [October 19, 2023, 11:02am UTC](https://discourse.julialang.org/t/about-migrating-packages-from-private-registry-to-the-general-registry/105165/4 "2023-10-19T11:02:26Z")

</div>

Thanks! This information is quite helpful.

---

<div class="post-metadata">

**Author:** ![GunnarFarneback](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gunnarfarneback/32/1827_2.png) [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)\
**Post date:** [October 19, 2023, 11:34am UTC](https://discourse.julialang.org/t/about-migrating-packages-from-private-registry-to-the-general-registry/105165/5 "2023-10-19T11:34:53Z")

</div>

It has always been possible to register any initial version, but until [Disable the "standard initial version number" check by DilumAluthge · Pull Request #275 · JuliaRegistries/RegistryCI.jl · GitHub](https://github.com/JuliaRegistries/RegistryCI.jl/pull/275) was merged three years ago, the registration PR for a new package would only be automerged if the initial version was 0.0.1, 0.1.0, or 1.0.0. That is now history.

Having the same package in multiple registries is fine, assuming the information is consistent. The lists of versions from the different registries will just be merged by the package manager.

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [October 19, 2023, 11:49am UTC](https://discourse.julialang.org/t/about-migrating-packages-from-private-registry-to-the-general-registry/105165/6 "2023-10-19T11:49:38Z")

</div>

I think there is a strong preference for registered packages to be more mature these days, so I do not see a problem here at all.
