How can I mirror a project hosted on launchpad on github?

坚强是说给别人听的谎言 提交于 2019-12-20 09:32:00

问题


I want to contribute actively to a project that is hosted on Launchpad. I'm much more comfortable with GitHub, and would like to continue to use it if possible. Would I be able to mirror the bzr repository on github?

If it's possible, how could I set this up?


回答1:


You could try some kind of git-bzr bridge like this git-bzr git-bzr script:

This script allows you to add bazaar repositories as git branches in your git repository.
After that, you can fetch the Bazaar repo, make some changes, and push it back into Bazaar.

The reverse is possible, meaning you can clone a bzr repo and push to your GitHub repo with bzr-git.




回答2:


Beware: trunk bzr-fastimport is broken and may corrupt your 'marks' file..

https://code.launchpad.net/~xrg/bzr-fastimport/re-tailor

A detailed implementation here: http://git.hellug.gr/?p=xrg/openerp-rebzr;a=shortlog;h=refs/heads/fast-only



来源:https://stackoverflow.com/questions/3294076/how-can-i-mirror-a-project-hosted-on-launchpad-on-github

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!