# Registrator complains about \[compat\]. Fixed it. What's next?

**URL:** <https://discourse.julialang.org/t/registrator-complains-about-compat-fixed-it-whats-next/50996>\
**Category:** General Usage\
**Tags:** package, general-registry\
**Created:** [November 30, 2020, 1:46pm UTC](https://discourse.julialang.org/t/registrator-complains-about-compat-fixed-it-whats-next/50996 "2020-11-30T13:46:26Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![ctkelley](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ctkelley/32/10684_2.png) [@ctkelley](https://discourse.julialang.org/u/ctkelley)\
**Post date:** [November 30, 2020, 1:46pm UTC](https://discourse.julialang.org/t/registrator-complains-about-compat-fixed-it-whats-next/50996/1 "2020-11-30T13:46:26Z")

</div>

I’m trying to register a package for the first time. I have never done this before. As you can see, I am very confused.

Registrator says ` The following dependencies do not have a `[compat]` entry`. I fixed that in the Project.toml and pushed the fix to github.

What do I do now?

---

<div class="post-metadata">

**Author:** ![lmiq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lmiq/32/18314_2.png) [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Post date:** [November 30, 2020, 1:56pm UTC](https://discourse.julialang.org/t/registrator-complains-about-compat-fixed-it-whats-next/50996/2 "2020-11-30T13:56:01Z")

</div>

You can comment again on the commit you want to register, with `@JuliaRegistrator register()`.

---

<div class="post-metadata">

**Author:** ![ctkelley](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ctkelley/32/10684_2.png) [@ctkelley](https://discourse.julialang.org/u/ctkelley)\
**Post date:** [November 30, 2020, 2:03pm UTC](https://discourse.julialang.org/t/registrator-complains-about-compat-fixed-it-whats-next/50996/3 "2020-11-30T14:03:16Z")

</div>

I’m not sure I understand. Where do I put this comment? I have already updated the github repo. Do I put the comment on the page on [https://github.com/JuliaRegistries/General/pull/](https://github.com/JuliaRegistries/General/pull/)…?

---

<div class="post-metadata">

**Author:** ![lmiq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lmiq/32/18314_2.png) [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Post date:** [November 30, 2020, 2:07pm UTC](https://discourse.julialang.org/t/registrator-complains-about-compat-fixed-it-whats-next/50996/4 "2020-11-30T14:07:11Z")

</div>

For example, here is the last commit to the github repo that I did after releasing a new version of the package:

[https://github.com/m3g/ComplexMixtures/commit/fbeec6a00adbd15053d297542e8354c457b2a610](https://github.com/m3g/ComplexMixtures/commit/fbeec6a00adbd15053d297542e8354c457b2a610)

Note that below we add a comment, which says

```julia
@JuliaRegistrator register()

```

that will trigger the registrator, which will try to register the package. After fixing that compat entry, you can comment the commit to launch the registrator again.

(the has to be done for new packages or new versions of a package)

---

<div class="post-metadata">

**Author:** ![ctkelley](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ctkelley/32/10684_2.png) [@ctkelley](https://discourse.julialang.org/u/ctkelley)\
**Post date:** [November 30, 2020, 2:16pm UTC](https://discourse.julialang.org/t/registrator-complains-about-compat-fixed-it-whats-next/50996/5 "2020-11-30T14:16:06Z")

</div>

Sorry, I am still confused. Do I need to create a new branch, do something, and then make a PR? Rightnow everything is happening on master?  
If I make a new release and comment that (is that what you did?) Will registrator know that I’ve tagged and released what is on master now?

---

<div class="post-metadata">

**Author:** ![ctkelley](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ctkelley/32/10684_2.png) [@ctkelley](https://discourse.julialang.org/u/ctkelley)\
**Post date:** [November 30, 2020, 2:24pm UTC](https://discourse.julialang.org/t/registrator-complains-about-compat-fixed-it-whats-next/50996/6 "2020-11-30T14:24:01Z")

</div>

> [@lmiq](#):
>
> @JuliaRegistrator register()

I made a change to Readme.md and pout @JuliaRegistrator register() in the comments. Will that do the job?

Failing that, I will wait for a human to look at it.

---

<div class="post-metadata">

**Author:** ![lmiq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lmiq/32/18314_2.png) [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Post date:** [November 30, 2020, 2:26pm UTC](https://discourse.julialang.org/t/registrator-complains-about-compat-fixed-it-whats-next/50996/7 "2020-11-30T14:26:19Z")

</div>

Tagging is a separate thing.

What that comment does is to register a new version of the package. The only thing that must be consistent is the version number written in the `Project.toml`. Meaning: if that is your first version, you probably will release it with a version number of `0.1.0`, for example.

Normally, when everything goes well, I push one commit in which I only changed the version number (like that one in the example). Adding the comment there will release a version of the package that will correspond to the master version at that point.

After that version is merged into the Julia register, the package version will be available for installation by everyone from within Julia.

You may or may not add a GitHub-tag and a GitHub-release associated to that commit (of course, it is recommended to do so, and the TagBot is what does that automatically to you).

---

<div class="post-metadata">

**Author:** ![ctkelley](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ctkelley/32/10684_2.png) [@ctkelley](https://discourse.julialang.org/u/ctkelley)\
**Post date:** [November 30, 2020, 2:33pm UTC](https://discourse.julialang.org/t/registrator-complains-about-compat-fixed-it-whats-next/50996/8 "2020-11-30T14:33:32Z")

</div>

Thanks. I know I’m not explaining this well. Will a human look at it sometime in the next few days if automerge fails?

---

<div class="post-metadata">

**Author:** ![lmiq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lmiq/32/18314_2.png) [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Post date:** [November 30, 2020, 2:36pm UTC](https://discourse.julialang.org/t/registrator-complains-about-compat-fixed-it-whats-next/50996/9 "2020-11-30T14:36:59Z")

</div>

Yes, a human will look at that, but I am not sure what the human can do except merging the commit to the general registry if that is not a problem.

But if you solved the problems and you added the registrator comment, the package will be registered automatically in some minutes (you get messages about the consistency of not of the pull request with the rules of auto-merging).

Generally it is more reasonable to fix the inconsistencies and trigger the registrator again, and not to wait for the human to look at that.

---

<div class="post-metadata">

**Author:** ![lmiq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lmiq/32/18314_2.png) [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Post date:** [November 30, 2020, 2:44pm UTC](https://discourse.julialang.org/t/registrator-complains-about-compat-fixed-it-whats-next/50996/10 "2020-11-30T14:44:12Z")

</div>

I added a comment where it would be natural to add the registrator comment, in your package. I hope it helps. You can delete the comment there.

---

<div class="post-metadata">

**Author:** ![ctkelley](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ctkelley/32/10684_2.png) [@ctkelley](https://discourse.julialang.org/u/ctkelley)\
**Post date:** [November 30, 2020, 2:45pm UTC](https://discourse.julialang.org/t/registrator-complains-about-compat-fixed-it-whats-next/50996/11 "2020-11-30T14:45:08Z")

</div>

OK. I think I did it about 30mins ago. I have not heard anything from the bot yet.

---

<div class="post-metadata">

**Author:** ![lmiq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lmiq/32/18314_2.png) [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Post date:** [November 30, 2020, 2:49pm UTC](https://discourse.julialang.org/t/registrator-complains-about-compat-fixed-it-whats-next/50996/12 "2020-11-30T14:49:55Z")

</div>

I was not able to find where that was. Probably that was not the right place (the e-mails concerning the registration are almost instantaneous).

---

<div class="post-metadata">

**Author:** ![ctkelley](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ctkelley/32/10684_2.png) [@ctkelley](https://discourse.julialang.org/u/ctkelley)\
**Post date:** [November 30, 2020, 2:50pm UTC](https://discourse.julialang.org/t/registrator-complains-about-compat-fixed-it-whats-next/50996/13 "2020-11-30T14:50:46Z")

</div>

The bot says

Error while trying to register: Action not recognized: https

Which is not clear to me at all.

---

<div class="post-metadata">

**Author:** ![lmiq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lmiq/32/18314_2.png) [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Post date:** [November 30, 2020, 2:59pm UTC](https://discourse.julialang.org/t/registrator-complains-about-compat-fixed-it-whats-next/50996/14 "2020-11-30T14:59:27Z")

</div>

At the commit where we are commenting there, just add an additional comment with

```julia
@JuliaRegistrator register()

```

to trigger the bot. Registrator will not occur automatically because of the version number, but you will get clear messages about that, and you can wait a few days to get the package registered with the version that is there.

---

<div class="post-metadata">

**Author:** ![ctkelley](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ctkelley/32/10684_2.png) [@ctkelley](https://discourse.julialang.org/u/ctkelley)\
**Post date:** [November 30, 2020, 3:07pm UTC](https://discourse.julialang.org/t/registrator-complains-about-compat-fixed-it-whats-next/50996/15 "2020-11-30T15:07:45Z")

</div>

I did that about an hour ago and got this. The stacktrace was not informative (at least for me).

ERROR: LoadError: RegistryCI.AutoMerge.AutoMergeGuidelinesNotMet(“The automerge guidelines were not met.”)

---

<div class="post-metadata">

**Author:** ![ctkelley](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ctkelley/32/10684_2.png) [@ctkelley](https://discourse.julialang.org/u/ctkelley)\
**Post date:** [November 30, 2020, 4:01pm UTC](https://discourse.julialang.org/t/registrator-complains-about-compat-fixed-it-whats-next/50996/16 "2020-11-30T16:01:15Z")

</div>

Just heard from a human who advised me to start over on JuliaHub. I did that and passed the checks, so I think I’m in good shape.

---

<div class="post-metadata">

**Author:** ![ctkelley](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ctkelley/32/10684_2.png) [@ctkelley](https://discourse.julialang.org/u/ctkelley)\
**Post date:** [November 30, 2020, 4:02pm UTC](https://discourse.julialang.org/t/registrator-complains-about-compat-fixed-it-whats-next/50996/17 "2020-11-30T16:02:58Z")

</div>

> [@lmiq](#):
>
> I was not able to find where that was. Probably that was not the right place (the e-mails concerning the registration are almost instantaneous).

Where are you looking fo things? I am not sure we are seeing the same pages.

Thanks again for all your help.

---

<div class="post-metadata">

**Author:** ![lmiq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lmiq/32/18314_2.png) [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Post date:** [November 30, 2020, 4:16pm UTC](https://discourse.julialang.org/t/registrator-complains-about-compat-fixed-it-whats-next/50996/18 "2020-11-30T16:16:39Z")

</div>

I see you are using JuliaHub. Well, I think that only complicates things. You can manage your packages only by adding comments to the commits of the repositories, and that is much more practical in my opinion (I also was very much confused by JuliaHub initially). Just add the `@JuliaRegistrator register()` comment on the commit you want to register and that is all (for new releases and for new packages as well).

---

<div class="post-metadata">

**Author:** ![ctkelley](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ctkelley/32/10684_2.png) [@ctkelley](https://discourse.julialang.org/u/ctkelley)\
**Post date:** [November 30, 2020, 4:20pm UTC](https://discourse.julialang.org/t/registrator-complains-about-compat-fixed-it-whats-next/50996/19 "2020-11-30T16:20:29Z")

</div>

automerge = approved. The package name has been approved as well. Does this mean that I am ready to go?

Do I need to tag this release myself or does that happen automatically at some point?

I will probably use `@JuliaRegistrator register()` in the future. I did not think JuliaHub was so bad and, now that I understand the rules better, was probably the sensible thing for me, as a novice, to do. The human on the other end was very useful in getting me going and fixing one error I kept making on JuliaHub.

---

<div class="post-metadata">

**Author:** ![lmiq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lmiq/32/18314_2.png) [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Post date:** [November 30, 2020, 4:23pm UTC](https://discourse.julialang.org/t/registrator-complains-about-compat-fixed-it-whats-next/50996/20 "2020-11-30T16:23:28Z")

</div>

> [@ctkelley](#):
>
> automerge = approved. The package name has been approved as well. Does this mean that I am ready to go?
> 
> Do I need to tag this release myself or does that happen automatically at some point?

Probably the package will be merged and available to everyone in half an hour or so.

I think you do not need to tag anything, because you have the TagBot.yml configured. If everything is correct there you will see the tag being auto generated as well soon.

[Next page](https://discourse.julialang.org/t/registrator-complains-about-compat-fixed-it-whats-next/50996.md?page=2)
