# Replace registered package

**URL:** <https://discourse.julialang.org/t/replace-registered-package/28830>\
**Category:** General Usage\
**Tags:** package\
**Created:** [September 16, 2019, 9:36pm UTC](https://discourse.julialang.org/t/replace-registered-package/28830 "2019-09-16T21:36:43Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ppascal97](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ppascal97/32/10380_2.png) [@ppascal97](https://discourse.julialang.org/u/ppascal97)\
**Post date:** [September 16, 2019, 9:36pm UTC](https://discourse.julialang.org/t/replace-registered-package/28830/1 "2019-09-16T21:36:43Z")

</div>

Hi everyone !

I have been developping the package NOMAD.jl for a few months and I’d like to register it officially. The issue is that someone has already registered a package named NOMAD.jl. I’m in touch with this person and he agrees to replace his package with mine.

How could we proceed to register my package as the new official NOMAD.jl ? Is there a way for him to cancel the registration of his package ? Here is my git repo : [https://github.com/ppascal97/NOMAD.jl](https://github.com/ppascal97/NOMAD.jl) ; and his : [https://github.com/jbrea/NOMAD.jl](https://github.com/jbrea/NOMAD.jl)

---

<div class="post-metadata">

**Author:** ![asinghvi17](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/asinghvi17/32/8272_2.png) [@asinghvi17](https://discourse.julialang.org/u/asinghvi17)\
**Post date:** [September 16, 2019, 11:17pm UTC](https://discourse.julialang.org/t/replace-registered-package/28830/2 "2019-09-16T23:17:46Z")

</div>

You can open a PR to change the URL in the General registry.

---

<div class="post-metadata">

**Author:** ![Tero\_Frondelius](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tero_frondelius/32/7629_2.png) [@Tero\_Frondelius](https://discourse.julialang.org/u/Tero_Frondelius)\
**Post date:** [September 17, 2019, 5:11am UTC](https://discourse.julialang.org/t/replace-registered-package/28830/3 "2019-09-17T05:11:52Z")

</div>

From package user point of view this is a breaking API change. It would look really strange if version numbers would suddenly go down and your code would break. So in other words you will need to think also the possible users of that registered package.

---

<div class="post-metadata">

**Author:** ![Tero\_Frondelius](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tero_frondelius/32/7629_2.png) [@Tero\_Frondelius](https://discourse.julialang.org/u/Tero_Frondelius)\
**Post date:** [September 17, 2019, 5:14am UTC](https://discourse.julialang.org/t/replace-registered-package/28830/4 "2019-09-17T05:14:28Z")

</div>

If you will wait a little while your problem will solve by it’s own: [https://github.com/jbrea/NOMAD.jl/issues/1](https://github.com/jbrea/NOMAD.jl/issues/1)

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [September 17, 2019, 5:16am UTC](https://discourse.julialang.org/t/replace-registered-package/28830/5 "2019-09-17T05:16:55Z")

</div>

> [@Tero\_Frondelius](#):
>
> From package user point of view this is a breaking API change.

That’s why we have UUIDs. As long as they are not the same, this should not be a problem.

---

<div class="post-metadata">

**Author:** ![ppascal97](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ppascal97/32/10380_2.png) [@ppascal97](https://discourse.julialang.org/u/ppascal97)\
**Post date:** [September 18, 2019, 1:43pm UTC](https://discourse.julialang.org/t/replace-registered-package/28830/6 "2019-09-18T13:43:49Z")

</div>

The pull request is on the way, thanks for your help !

---

<div class="post-metadata">

**Author:** ![ppascal97](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ppascal97/32/10380_2.png) [@ppascal97](https://discourse.julialang.org/u/ppascal97)\
**Post date:** [September 19, 2019, 1:06pm UTC](https://discourse.julialang.org/t/replace-registered-package/28830/7 "2019-09-19T13:06:26Z")

</div>

Finally, maintainers of the general registry advised me this strategy :

- Do a pull request on the general registry just to have the URL of NOMAD.jl point to my repo
- change my uuid to match the one of the former NOMAD.jl
- update the package info with the registrator

---

<div class="post-metadata">

**Author:** ![Tero\_Frondelius](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tero_frondelius/32/7629_2.png) [@Tero\_Frondelius](https://discourse.julialang.org/u/Tero_Frondelius)\
**Post date:** [September 19, 2019, 4:05pm UTC](https://discourse.julialang.org/t/replace-registered-package/28830/8 "2019-09-19T16:05:43Z")

</div>

Now it’s a breaking API, if you will match the uuid.
