Support for Bitbucket repositories

  • 36
  • Idea
  • Updated 4 years ago
While I'm a big Github fan and use git pretty extensively, I've been using Bitbucket for some of my personal work because they offer free accounts for up to 5 people. I was wondering if it makes sense to support Bitbucket repositories.
Photo of Arthur Kalmenson

Arthur Kalmenson

  • 4 Posts
  • 0 Reply Likes
  • indifferent

Posted 9 years ago

  • 36
Photo of Andrew Lunny

Andrew Lunny

  • 1911 Posts
  • 199 Reply Likes
It's not something we've had much demand for to be honest - the bulk of devs we've encountered are using git or svn. Implementing mercurial support is something we may look at further down the line, but not currently.
Photo of Tim Marman

Tim Marman

  • 2 Posts
  • 0 Reply Likes
Should BitBucket GIT repositories be supported (since they now support both Mercurial and Git)? It always seems to time out trying to connect.
Photo of Andrew Lunny

Andrew Lunny

  • 1911 Posts
  • 199 Reply Likes
We support any publicly accessible git repository URL.

For the moment, we have a strict 60 second timeout policy on cloning repositories - is there are reason why your clone should take longer than that?
Photo of Tim Marman

Tim Marman

  • 2 Posts
  • 0 Reply Likes
Thanks Andrew - no, it may just be that I don't have it set up properly. I'm trying to use with a BitBucket GIT repository. First, it looks like BitBucket doesn't love the format that PuttyGen creates; I fixed this.

But, it looks like BitBucket also says the "username" should be just git, and PG Build won't let me put that in because it says its already in use.

Do you know if anyone was able to get PhoneGap Build working with *private* BitBucket GIT repositories?
Photo of Andrew Lunny

Andrew Lunny

  • 1911 Posts
  • 199 Reply Likes
PhoneGap Build won't be able to clone private repositories, from anywhere.

The preferred approach is to set up a private repo on PhoneGap Build, and use that as a git remote, along with BitBucket/GitHub/wherever.
Photo of Quoc-Huy

Quoc-Huy

  • 2 Posts
  • 0 Reply Likes
You can access BitBucket private repos by using HTTPS access with credential in the URL https://login:password@bitbucket.org/...
Photo of Wender Oliveira

Wender Oliveira

  • 1 Post
  • 0 Reply Likes
It did not work for me, at least for plugins
Photo of Hayk Saakian

Hayk Saakian

  • 2 Posts
  • 0 Reply Likes
Given that phone gap has depricated hosted repos, proper bit bucket git support for private repos would be a good replacement.
Photo of Al Veitas

Al Veitas

  • 5 Posts
  • 1 Reply Like
Any updates to supporting BitBucket?
Photo of Federico Schroder

Federico Schroder

  • 4 Posts
  • 0 Reply Likes
Photo of Hayk Saakian

Hayk Saakian

  • 2 Posts
  • 0 Reply Likes
does not seem to work for me
Photo of Charles LEBRUN

Charles LEBRUN

  • 1 Post
  • 0 Reply Likes
the same for me, i will be happy to add bitbucket repos on phonegap
Photo of Yogesh Maheshwari

Yogesh Maheshwari

  • 5 Posts
  • 0 Reply Likes
Same here, it will be much helpful if bitbucket is supported. I don't want to move all my codebase to github.
Photo of Ian Clausen

Ian Clausen

  • 1 Post
  • 0 Reply Likes
Please add bitbucket private repository support. Many of us starving developers with great ideas that don't want to pay for private git repositories (i.e. github) and do our work out of bitbucket that does offer private repositories for free. Easing this step for new PhoneGap devs would surely increase adoption.
Photo of Shane Parsons

Shane Parsons

  • 15 Posts
  • 0 Reply Likes
+1. We need support for bitbucket. I'm surprised / disappointed that it hasn't been implemented after all this time.
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
Bitbucket is now supported for Plugins, see the blog.
FWIW: bitbucket uses git.

Jesse
Photo of Shane Parsons

Shane Parsons

  • 15 Posts
  • 0 Reply Likes
I'm not sure what you mean by `for Plugins`, but your response led me in the right direction at least.

Ended up solving my issue with advice from this post: https://www.monkehworks.com/using-pri...

Looks like all I needed was to add the password to the repo url.
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
@Shane,
thanks for the reply. I will make note of it and pass your good answer to other people - should they need an answer.
Thanks Again.
Jesse
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
@Shane on that blog entry see:

Plugins From Git Repositories Are Now Available on PhoneGap Build!

See the examples. In the bottom, you will see entries that use Bitbucket.

Jesse