我想为 Launchpad 上托管的项目做出积极贡献。我对 GitHub 更满意,如果可能的话,我想继续使用它。我可以在 github 上镜像 bzr 存储库吗?
如果可能,我该如何设置?
当心:trunk bzr-fastimport 已损坏,可能会损坏您的“标记”文件。
https://code.launchpad.net/~xrg/bzr-fastimport/re-tailor
这里有一个详细的实现:http: //git.hellug.gr/ ?p=xrg/openerp-rebzr;a=shortlog;h=refs/heads/fast-only
我刚刚写了一个详细的操作方法,用于将 Launchpad Bazaar 存储库镜像到 Github(请注意,它侧重于 Mac 用户)。
此操作方法的最小版本:
brew install bazaar
brew tap gdubicki/tap
brew install gdubicki/tap/bzr-git
# for example:
bzr branch lp:update-motd
在我的情况下,您需要的是 repo 的 URL:
git+ssh://git@github.com/gdubicki/update-motd-for-non-ubuntu.git
cd update-motd # or whatever is the name of the Bazaar branch
PYTHONPATH="/usr/local/lib/python2.7/site-packages" bzr dpush -v git+ssh://git@github.com/gdubicki/update-motd-for-non-ubuntu.git,branch=master