# How to register my own packages?

**URL:** <https://discourse.julialang.org/t/how-to-register-my-own-packages/47532>\
**Category:** New to Julia\
**Tags:** registry, general, general-registry\
**Created:** [September 30, 2020, 11:26am UTC](https://discourse.julialang.org/t/how-to-register-my-own-packages/47532 "2020-09-30T11:26:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![iHany](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ihany/32/18151_2.png) [@iHany](https://discourse.julialang.org/u/iHany)\
**Post date:** [September 30, 2020, 11:26am UTC](https://discourse.julialang.org/t/how-to-register-my-own-packages/47532/1 "2020-09-30T11:26:14Z")

</div>

Hi, I’m trying to register my own package to General.

As [General](https://github.com/JuliaRegistries/General/blob/master/README.md) said, I tried to register my package through [JuliaHub](https://juliahub.com/ui/Home).  
However, the General said

" I was not able to load the package (i.e. `import MyPackage` failed). See the CI logs for details. "

You can see my trying [here](https://github.com/JuliaRegistries/General/pull/22196).

Can anybody give me an advice?

EDIT: here’s the list what I’ve done:

1. Make a [repo](https://github.com/fdcl-nrf/FymEnvs.jl).
2. Add [@Registrator register()](https://github.com/fdcl-nrf/FymEnvs.jl/commit/55f15280ec65370a8e8392ffe731ec838e16bf9c#commitcomment-42847624).
3. Try to register the package via [JuliaHub](https://juliahub.com/ui/Registrator).
4. General raised [errors](https://github.com/JuliaRegistries/General/pull/22196).

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [September 30, 2020, 11:32am UTC](https://discourse.julialang.org/t/how-to-register-my-own-packages/47532/2 "2020-09-30T11:32:26Z")

</div>

Its working now, isn’t it?  
Well done!

---

<div class="post-metadata">

**Author:** ![iHany](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ihany/32/18151_2.png) [@iHany](https://discourse.julialang.org/u/iHany)\
**Post date:** [September 30, 2020, 11:34am UTC](https://discourse.julialang.org/t/how-to-register-my-own-packages/47532/3 "2020-09-30T11:34:16Z")

</div>

I’m embarrassed 😓  
Probably I missed some parts on `Project.toml`, and updating this would make it works.

Frankly speaking I don’t fully understand what I had to do, anyhow…  
it works now 🙂

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [September 30, 2020, 11:37am UTC](https://discourse.julialang.org/t/how-to-register-my-own-packages/47532/4 "2020-09-30T11:37:19Z")

</div>

My guess was (until I saw that it is resolved) that some compatibility constraints in your Project.toml weren’t right. But than everything went green, so I stopped investigating 🙂
