# Any risk in changing Github repo name from \`MyProject\` to \`MyProject.jl\`?

**URL:** <https://discourse.julialang.org/t/any-risk-in-changing-github-repo-name-from-myproject-to-myproject-jl/54598>\
**Category:** New to Julia\
**Tags:** registry\
**Created:** [February 4, 2021, 7:54am UTC](https://discourse.julialang.org/t/any-risk-in-changing-github-repo-name-from-myproject-to-myproject-jl/54598 "2021-02-04T07:54:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![maxkapur](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/maxkapur/32/21208_2.png) [@maxkapur](https://discourse.julialang.org/u/maxkapur)\
**Post date:** [February 4, 2021, 7:54am UTC](https://discourse.julialang.org/t/any-risk-in-changing-github-repo-name-from-myproject-to-myproject-jl/54598/1 "2021-02-04T07:54:09Z")

</div>

I recently had a package accepted for auto-merge into the General registry (pending the three-day waiting period). It is named `MyProject`, the main code is at `src/MyProject.jl`, and the `Project.toml` file says `name = "MyProject"`. All of this is consistent with how other packages are formatted, except poking around, I notice that other users have generally named their _Github repositories_ `MyProject.jl` as opposed to just `MyProject`.

1. Does this matter?
2. If I rename my repository in Github, will it break the registration?

I ask because I read the following in the [General registry readme](https://github.com/JuliaRegistries/General#how-do-i-rename-an-existing-registered-package):

> Technically, 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.

---

<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:** [February 4, 2021, 11:46am UTC](https://discourse.julialang.org/t/any-risk-in-changing-github-repo-name-from-myproject-to-myproject-jl/54598/2 "2021-02-04T11:46:28Z")

</div>

> [@maxkapur](#):
>
> Does this matter?

No

> [@maxkapur](#):
>
> If I rename my repository in Github, will it break the registration?

No, but it is good if you submit a PR to update the package URL in the registry.

---

<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:** [March 2, 2021, 5:25pm UTC](https://discourse.julialang.org/t/any-risk-in-changing-github-repo-name-from-myproject-to-myproject-jl/54598/3 "2021-03-02T17:25:46Z")

</div>

> [@fredrikekre](#):
>
> submit a PR to update the package URL in the registry

Do you mean adding `.jl` to the url in the `Package.toml` file that is stored under the package name directory at the general registry?

---

<div class="post-metadata">

**Author:** ![maxkapur](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/maxkapur/32/21208_2.png) [@maxkapur](https://discourse.julialang.org/u/maxkapur)\
**Post date:** [March 3, 2021, 12:13am UTC](https://discourse.julialang.org/t/any-risk-in-changing-github-repo-name-from-myproject-to-myproject-jl/54598/4 "2021-03-03T00:13:59Z")

</div>

Yes, I think that’s what they mean, because when you change the project name on Github, it also changes the URL. (Although I can’t verify this personally–I decided not to rename my package after 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:** [March 19, 2021, 5:07pm UTC](https://discourse.julialang.org/t/any-risk-in-changing-github-repo-name-from-myproject-to-myproject-jl/54598/5 "2021-03-19T17:07:28Z")

</div>

Just for the records, if someone does this and deploys documentation, remember updating this line in the `make.jl` file:

```julia
deploydocs(
    repo = "github.com/m3g/PDBTools.jl.git", <<<<<<<<

```
