Auto-sync Bitbucket to Github
BitSyncHub is a service to automatically mirror Bitbucket repositories on GitHub. It is used by adding a POST service to your repository at Bitbucket, and adding github.com/bitsynchub as a contributor to your GitHub project. I wrote it to be able to mirror hgapi on GitHub, mainly to make it possible to use Travis CI.
Bitsynchub is not under active development or maintenance, since Bitbucket dropped Mercurial support.
- Is it free?
For public projects on Bitbucket, yes.
- It seems slow?
The service will only handle one repository at a time, to keep server load down. I might increase this in the future.
- How does it work?
BitSyncHub clones your repository and pushes the master branch to GirHub.
- Couldn’t you use bithubsync’s access for evil?
Yes. I won’t, though.
- What technology do you use?
A custom WSGI app behind a Lighttpd server, Gunicorn, Python 3.3, Celery, MongoDB (for Celery), git, gitapi.
- Will you implement XYZfeature?
Probably not, I’m no longer using the service myself since I’ve moved my projects to GitHub after BitBucket dropped Mercurial support.
- In your Bitbucket repository, go to Administration (looks like a cogwheel), select ’Services’
- Select POST in the dropdown, and click ’Add service’
- In the URL field for your new service, enter
(no spaces, replace with values that make sense)
- (Unless you already have a mirror) Initialize an empty Github repo at github.com//
- Add bitsynchub as a contributor to your new Github repo
- Done; this will synch master->master, at the next push to master