# Package not opening PR for updating

**URL:** <https://discourse.julialang.org/t/package-not-opening-pr-for-updating/68725>\
**Category:** General Usage\
**Created:** [September 24, 2021, 7:45pm UTC](https://discourse.julialang.org/t/package-not-opening-pr-for-updating/68725 "2021-09-24T19:45:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [September 24, 2021, 7:45pm UTC](https://discourse.julialang.org/t/package-not-opening-pr-for-updating/68725/1 "2021-09-24T19:45:40Z")

</div>

Hi,

I’m working in a new package and tried the first update. However even after an hour nothing happened when I called the ` [@JuliaRegistrator register()`.  
[https://github.com/GenericMappingTools/RemoteS.jl/issues/26](https://github.com/GenericMappingTools/RemoteS.jl/issues/26)

The package registered fine so I don’t know what is happening here.

Another strange thing with this package is that the documenter only creates Previews of the docs, but no `dev` or similar. See [https://github.com/GenericMappingTools/RemoteS.jl/tree/gh-pages](https://github.com/GenericMappingTools/RemoteS.jl/tree/gh-pages)

Any idea on what is going on here?

---

<div class="post-metadata">

**Author:** ![rikh](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rikh/32/204104_2.png) [@rikh](https://discourse.julialang.org/u/rikh)\
**Post date:** [September 24, 2021, 8:41pm UTC](https://discourse.julialang.org/t/package-not-opening-pr-for-updating/68725/2 "2021-09-24T20:41:40Z")

</div>

For Documenter, the devbranch keyword argument defaults to `master`, so that could be why your push to `main` is considered to be a preview.

EDIT: See `deploydocs` for more info: [Public · Documenter.jl](https://juliadocs.github.io/Documenter.jl/stable/lib/public/#Documenter.deploydocs)

EDIT2: And remove the parenthesis from the `@JuliaRegistrator register()` to make that work

---

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [September 24, 2021, 9:21pm UTC](https://discourse.julialang.org/t/package-not-opening-pr-for-updating/68725/3 "2021-09-24T21:21:12Z")

</div>

Thanks for looking into this. Up into the detail of noticing that I’m pushing to `main` instead of `master`. Nothing that I can do. GitHuib decided that `master` can be an offensive word and now all new repos are _mains_ and not _masters_

Regarding the parenthesis, I don’t see why it would be an error. I’ve updated a package dozens of times with `register()` and that was never a problem. Last time was yesterday  
[https://github.com/GenericMappingTools/GMT.jl/issues/705](https://github.com/GenericMappingTools/GMT.jl/issues/705)

---

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [September 24, 2021, 10:12pm UTC](https://discourse.julialang.org/t/package-not-opening-pr-for-updating/68725/4 "2021-09-24T22:12:32Z")

</div>

Ok, I tried to set the `devbranch` to `main` in [make.jl](https://github.com/GenericMappingTools/RemoteS.jl/blob/main/docs/make.jl#L22) but had to comment the line

```julia
versions = ["stable" => "v^", "v#.#", devurl => devurl],

```

as exemplified in [Public · Documenter.jl](https://juliadocs.github.io/Documenter.jl/stable/lib/public/#Documenter.deploydocs) because it kept erroring

 ![image](https://global.discourse-cdn.com/julialang/original/3X/7/9/7990e4311ccd2c6b60efdf856a661d42ed8cc787.png)

unfortunately no difference. Still only previews … an no updates.

EDIT: Update the `dev` directory showed up after a while. Uff.

---

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [September 25, 2021, 1:47am UTC](https://discourse.julialang.org/t/package-not-opening-pr-for-updating/68725/5 "2021-09-25T01:47:15Z")

</div>

Found the registrator issue. I forgot that I have to install it on every new package. Sought the one in organization would be usable by new projects, but no. My Bad. Sorry.
