# Registering packages not hosted on github

**URL:** https://discourse.julialang.org/t/registering-packages-not-hosted-on-github/81912
**Category:** New to Julia
**Tags:** package
**Created:** [May 30, 2022, 12:14pm UTC](https://discourse.julialang.org/t/registering-packages-not-hosted-on-github/81912 "2022-05-30T12:14:09Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![AdamWysokinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/adamwysokinski/32/206422_2.png) [@AdamWysokinski](https://discourse.julialang.org/u/AdamWysokinski)
#### Post date: [May 30, 2022, 12:14pm UTC](https://discourse.julialang.org/t/registering-packages-not-hosted-on-github/81912/1 "2022-05-30T12:14:09Z")

</div>

Hi,  
Is it possible to register a package that is hosted not on GitHub/GitLab (Codeberg in my case)?  
Regards, Adam

---

<div class="post-metadata">

### Author: ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)
#### Post date: [May 30, 2022, 12:37pm UTC](https://discourse.julialang.org/t/registering-packages-not-hosted-on-github/81912/2 "2022-05-30T12:37:39Z")

</div>

Yes, but you have to create the PR to the registry manually, ideally using [LocalRegistry.jl](https://github.com/GunnarFarneback/LocalRegistry.jl).

---

<div class="post-metadata">

### Author: ![AdamWysokinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/adamwysokinski/32/206422_2.png) [@AdamWysokinski](https://discourse.julialang.org/u/AdamWysokinski)
#### Post date: [June 2, 2022, 8:37am UTC](https://discourse.julialang.org/t/registering-packages-not-hosted-on-github/81912/3 "2022-06-02T08:37:38Z")

</div>

Thanks! I’ve created my local registry and added my package. Could you please give me a hand and point me what exactly should I make the PR with using my local registry?

---

<div class="post-metadata">

### Author: ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)
#### Post date: [June 2, 2022, 8:41am UTC](https://discourse.julialang.org/t/registering-packages-not-hosted-on-github/81912/4 "2022-06-02T08:41:27Z")

</div>

Ah, I didn’t mean you should create your own registry, but using LocalRegistry to register your package in a local clone of the [General registry](https://github.com/JuliaRegistries/General). Then you just make a pull request to that repository with your change.

---

<div class="post-metadata">

### Author: ![AdamWysokinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/adamwysokinski/32/206422_2.png) [@AdamWysokinski](https://discourse.julialang.org/u/AdamWysokinski)
#### Post date: [June 2, 2022, 8:47am UTC](https://discourse.julialang.org/t/registering-packages-not-hosted-on-github/81912/5 "2022-06-02T08:47:21Z")

</div>

Silly me, that’s so obvious 🙂 Thanks!

---

<div class="post-metadata">

### Author: ![AdamWysokinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/adamwysokinski/32/206422_2.png) [@AdamWysokinski](https://discourse.julialang.org/u/AdamWysokinski)
#### Post date: [June 6, 2022, 9:12pm UTC](https://discourse.julialang.org/t/registering-packages-not-hosted-on-github/81912/6 "2022-06-06T21:12:03Z")

</div>

I did so. Could you please let me know if there is anything more I should do now, or wait for merging my PR? Any idea how long it might take?  
Regards, Adam

---

<div class="post-metadata">

### Author: ![AdamWysokinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/adamwysokinski/32/206422_2.png) [@AdamWysokinski](https://discourse.julialang.org/u/AdamWysokinski)
#### Post date: [June 6, 2022, 9:41pm UTC](https://discourse.julialang.org/t/registering-packages-not-hosted-on-github/81912/7 "2022-06-06T21:41:55Z")

</div>

Thanks!

---

<div class="post-metadata">

### Author: ![AdamWysokinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/adamwysokinski/32/206422_2.png) [@AdamWysokinski](https://discourse.julialang.org/u/AdamWysokinski)
#### Post date: [January 22, 2024, 9:46am UTC](https://discourse.julialang.org/t/registering-packages-not-hosted-on-github/81912/8 "2024-01-22T09:46:30Z")

</div>

Sorry for reviving this old post, but I’d like to ask how long does it take to merge the pull request made this way? All checks are passed and my package has been hanging there since yesterday waiting for merging.

---

<div class="post-metadata">

### Author: ![p-gw](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/p-gw/32/210518_2.png) [@p-gw](https://discourse.julialang.org/u/p-gw)
#### Post date: [January 22, 2024, 10:28am UTC](https://discourse.julialang.org/t/registering-packages-not-hosted-on-github/81912/9 "2024-01-22T10:28:47Z")

</div>

If it is a newly registered package there is a 3 day wait period: [GitHub - JuliaRegistries/General: The official registry of general Julia packages](https://github.com/JuliaRegistries/General?tab=readme-ov-file#automatic-merging-of-pull-requests)

---

<div class="post-metadata">

### Author: ![AdamWysokinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/adamwysokinski/32/206422_2.png) [@AdamWysokinski](https://discourse.julialang.org/u/AdamWysokinski)
#### Post date: [January 22, 2024, 10:29am UTC](https://discourse.julialang.org/t/registering-packages-not-hosted-on-github/81912/10 "2024-01-22T10:29:01Z")

</div>

Thanks! What if my package is submitted manually, not via Registrator.jl?

---

<div class="post-metadata">

### Author: ![nsajko](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nsajko/32/221187_2.png) [@nsajko](https://discourse.julialang.org/u/nsajko)
#### Post date: [January 22, 2024, 10:43am UTC](https://discourse.julialang.org/t/registering-packages-not-hosted-on-github/81912/11 "2024-01-22T10:43:12Z")

</div>

Maybe writing a message on the Julia Slack could help get the attention of someone relevant: [The Julia Language Slack](https://julialang.org/slack/)

---

<div class="post-metadata">

### Author: ![ericphanson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ericphanson/32/215186_2.png) [@ericphanson](https://discourse.julialang.org/u/ericphanson)
#### Post date: [January 22, 2024, 1:53pm UTC](https://discourse.julialang.org/t/registering-packages-not-hosted-on-github/81912/12 "2024-01-22T13:53:48Z")

</div>

> [@AdamWysokinski](#):
>
> Thanks! What if my package is submitted manually, not via [Registrator.jl](https://juliahub.com/ui/Packages/Registrator)?

All new packages have a 3 day waiting period (whether from Registrator.jl or not). If there is some special circumstance (e.g. around JuliaCon “my talk is tomorrow” is a semi-common one), then ask in `#pkg-registration` on Slack for an expedited merge and explain why.

The difference with Registrator vs not in terms of merging is that Registrator-powered PRs can be automerged after 3 days if all the guidelines are met: [Automatic merging guidelines · RegistryCI.jl](https://juliaregistries.github.io/RegistryCI.jl/dev/guidelines/#New-packages).

If the PR isn’t automerge-able (e.g. because it’s not a Registrator PR, or it is but not all the guidelines are met) one can ask on `#pkg-registration` on Slack for a manual merge after the 3 day waiting period.

It’s suggested in general to use Registrator and follow all the guidelines so that manual intervention is not needed, since it can take some time before someone has a chance to take a look and it isn’t scalable.

---

<div class="post-metadata">

### Author: ![ericphanson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ericphanson/32/215186_2.png) [@ericphanson](https://discourse.julialang.org/u/ericphanson)
#### Post date: [January 22, 2024, 1:58pm UTC](https://discourse.julialang.org/t/registering-packages-not-hosted-on-github/81912/13 "2024-01-22T13:58:33Z")

</div>

> [@AdamWysokinski](#):
>
> Is it possible to register a package that is hosted not on GitHub/GitLab (Codeberg in my case)?

Personally, I would mirror it to GitHub or GitLab and register releases from there. Another option would be to add support for Codeberg to Registrator.jl (probably starting by adding support to [GitHub - JuliaWeb/GitForge.jl: Unified interface for interacting with Git forges](https://github.com/JuliaWeb/GitForge.jl)). Manually registering each release is also possible, but note every individual version will need to be manually merged, not just new package registrations.

---

<div class="post-metadata">

### Author: ![AdamWysokinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/adamwysokinski/32/206422_2.png) [@AdamWysokinski](https://discourse.julialang.org/u/AdamWysokinski)
#### Post date: [January 22, 2024, 9:17pm UTC](https://discourse.julialang.org/t/registering-packages-not-hosted-on-github/81912/14 "2024-01-22T21:17:14Z")

</div>

Thank you for clarifying.  
I’m not going to put my code in GitHub or GitLab (mostly due to ideological issues).  
I’ll try helping with GitForge.jl. Meanwhile, I’ll go the manual way.

---

<div class="post-metadata">

### Author: ![ericphanson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ericphanson/32/215186_2.png) [@ericphanson](https://discourse.julialang.org/u/ericphanson)
#### Post date: [January 22, 2024, 9:32pm UTC](https://discourse.julialang.org/t/registering-packages-not-hosted-on-github/81912/15 "2024-01-22T21:32:34Z")

</div>

what is wrong with gitlab? It is open source and you could even host your own copy (I think?). Also, I just checked JuliaHub’s “register your package” feature and they support “bare git”, so maybe that can be made to work for you:

 ![Screenshot 2024-01-22 at 22.31.16](https://global.discourse-cdn.com/julialang/original/3X/6/4/64325f4408c0226244a26d1ba951ec00f0b8fd0f.png)

---

<div class="post-metadata">

### Author: ![AdamWysokinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/adamwysokinski/32/206422_2.png) [@AdamWysokinski](https://discourse.julialang.org/u/AdamWysokinski)
#### Post date: [January 22, 2024, 9:33pm UTC](https://discourse.julialang.org/t/registering-packages-not-hosted-on-github/81912/16 "2024-01-22T21:33:59Z")

</div>

I’ve tried JuliaHub, unfortunately I get the following error: “Cannot verify whether user is authorized to register”.

---

<div class="post-metadata">

### Author: ![ericphanson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ericphanson/32/215186_2.png) [@ericphanson](https://discourse.julialang.org/u/ericphanson)
#### Post date: [January 22, 2024, 9:35pm UTC](https://discourse.julialang.org/t/registering-packages-not-hosted-on-github/81912/17 "2024-01-22T21:35:41Z")

</div>

Could be worth [filing an issue](https://github.com/JuliaComputing/JuliaHub-Feedback/issues) showing what you tried and what it showed, though maybe they just don’t support it.

---

<div class="post-metadata">

### Author: ![AdamWysokinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/adamwysokinski/32/206422_2.png) [@AdamWysokinski](https://discourse.julialang.org/u/AdamWysokinski)
#### Post date: [January 22, 2024, 9:41pm UTC](https://discourse.julialang.org/t/registering-packages-not-hosted-on-github/81912/18 "2024-01-22T21:41:08Z")

</div>

I just did so.

---

<div class="post-metadata">

### Author: ![nsajko](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nsajko/32/221187_2.png) [@nsajko](https://discourse.julialang.org/u/nsajko)
#### Post date: [January 22, 2024, 11:59pm UTC](https://discourse.julialang.org/t/registering-packages-not-hosted-on-github/81912/19 "2024-01-22T23:59:16Z")

</div>

> [@AdamWysokinski](#):
>
> I’ve tried JuliaHub, unfortunately I get the following error: “Cannot verify whether user is authorized to register”.

That won’t work, the JuliaHub Registrator Web UI currently only works for GitHub and GitLab repos: [Web UI · Registrator.jl](https://juliaregistries.github.io/Registrator.jl/stable/webui/).

Start by opening issues/PRs on the GitForge.jl and Registrator.jl repos, IMO.

---

<div class="post-metadata">

### Author: ![AdamWysokinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/adamwysokinski/32/206422_2.png) [@AdamWysokinski](https://discourse.julialang.org/u/AdamWysokinski)
#### Post date: [January 23, 2024, 7:15am UTC](https://discourse.julialang.org/t/registering-packages-not-hosted-on-github/81912/20 "2024-01-23T07:15:56Z")

</div>

Thanks, I just did so.

[Next page](https://discourse.julialang.org/t/registering-packages-not-hosted-on-github/81912.md?page=2)
