Changing the name of package during the registration waiting period?

I found this helpful topic about changing the name of a package, but I have an additional question regarding the special case of changing a package name during the registration process.

Here are the steps that have occurred in my case:

  1. I triggered the registration process for my package
  2. Two days into the three-day waiting period, I made a comment on the general registry PR in order to temporarily block the registration (because the package needs more work before it’s ready)
  3. I also then decided on a better name for my package

My package name is fully changed now – I renamed the github repo, changed all instances of the old name, etc. I’m not yet ready to unblock the registration (more work to do), but when I am, what should I do? Unblock the registration and then submit a PR on METADATA.jl?

Thanks in advance.

That’s outdated.

Find up-to-date instructions in the README.md of the General registry:

It doesn’t exactly say what to do in the case of changing during waiting-period-before-registration. However I think I can infer that what I should be doing is changing the UUID and then re-triggering the registration process, which, based on the following, should create a new PR: “you can’t rename a package once registered, as this would break existing users. But you can re-register the package again under a new name with a new UUID, which basically has the same effect.”

I will do that, thanks.

If the registration PR hasn’t been merged, the package doesn’t exist with respect to the General registry. Just block the PR, change name and re-register. You don’t strictly have to change the UUID in this scenario but it doesn’t hurt to do so. It’s helpful to the registry maintainers to leave a comment on the abandoned PR with a link to the new PR.

5 Likes