# Does Julia support other git repos, like BitBucket?

**URL:** https://discourse.julialang.org/t/does-julia-support-other-git-repos-like-bitbucket/7014
**Category:** General Usage
**Tags:** question
**Created:** [November 11, 2017, 10:55pm UTC](https://discourse.julialang.org/t/does-julia-support-other-git-repos-like-bitbucket/7014 "2017-11-11T22:55:41Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![e3c6](https://avatars.discourse-cdn.com/v4/letter/e/e79b87/32.png) [@e3c6](https://discourse.julialang.org/u/e3c6)
#### Post date: [November 11, 2017, 10:55pm UTC](https://discourse.julialang.org/t/does-julia-support-other-git-repos-like-bitbucket/7014/1 "2017-11-11T22:55:42Z")

</div>

Most packages are hosted in Github. Does julia support other cloud repos, like bitbucket for example?

If I use bitbucket, how would I:

1. Create a Julia package and host it on BitBucket.
2. Install the package from bitbucket.
3. Make changes to the package source from an installed version and push them to the bitbucket repo.

---

<div class="post-metadata">

### Author: ![rdeits](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rdeits/32/286_2.png) [@rdeits](https://discourse.julialang.org/u/rdeits)
#### Post date: [November 11, 2017, 11:13pm UTC](https://discourse.julialang.org/t/does-julia-support-other-git-repos-like-bitbucket/7014/2 "2017-11-11T23:13:40Z")

</div>

Yes, bitbucket (or any other public git host) should be fine. The only difference would be that when you publish your package by submitting a PR to [https://github.com/JuliaLang/METADATA.jl](https://github.com/JuliaLang/METADATA.jl) the `url` will point to your bitbucket repo.

In fact, you can probably just:

- Use PkgDev.generate from [https://github.com/JuliaLang/PkgDev.jl/blob/master/README.md](https://github.com/JuliaLang/PkgDev.jl/blob/master/README.md) to create the package skeleton
- Create a bitbucket repo named YourPackage.jl
- Change the git URL of `origin` to point to your bitbucket repo

---

<div class="post-metadata">

### Author: ![e3c6](https://avatars.discourse-cdn.com/v4/letter/e/e79b87/32.png) [@e3c6](https://discourse.julialang.org/u/e3c6)
#### Post date: [November 11, 2017, 11:35pm UTC](https://discourse.julialang.org/t/does-julia-support-other-git-repos-like-bitbucket/7014/3 "2017-11-11T23:35:41Z")

</div>

> [@rdeits](#):
>
> Change the git URL of origin to point to your bitbucket repo

How can I do this last step?

**Update.** Nevermind, I figured it out ([GitHub Support](https://help.github.com/enterprise/2.11/user/articles/changing-a-remote-s-url/)). It’s working great. Thanks.

---

<div class="post-metadata">

### Author: ![mauro3](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mauro3/32/292_2.png) [@mauro3](https://discourse.julialang.org/u/mauro3)
#### Post date: [November 12, 2017, 7:05am UTC](https://discourse.julialang.org/t/does-julia-support-other-git-repos-like-bitbucket/7014/4 "2017-11-12T07:05:07Z")

</div>

Bitbucket has all lowercase repo names, so you’ll need to do, e.g.: `Pkg.clone("git@bitbucket.org:maurow/lmesh.jl.git", "LMesh")`. I don’t know whether METADATA can do this automatically.

---

<div class="post-metadata">

### Author: ![e3c6](https://avatars.discourse-cdn.com/v4/letter/e/e79b87/32.png) [@e3c6](https://discourse.julialang.org/u/e3c6)
#### Post date: [November 13, 2017, 1:08pm UTC](https://discourse.julialang.org/t/does-julia-support-other-git-repos-like-bitbucket/7014/5 "2017-11-13T13:08:27Z")

</div>

Now I am trying to set up automatic testing, take a look

> [@Set up Bitbucket pipelines for automatic testing of Julia packages](https://discourse.julialang.org/t/set-up-bitbucket-pipelines-for-automatic-testing-of-julia-packages/7040):
>
> I am trying to setup automatic testing (on each commit) for a package hosted on Bitbucket. Something like what Trevis-CI does for packages in Github. I think it should use Bitbucket pipelines somehow, but I have no idea how to set it up. Anyone knows how to do this?
