代码之家  ›  专栏  ›  技术社区  ›  Varun Madiath

如何在github上镜像launchpad上托管的项目?

  •  23
  • Varun Madiath  · 技术社区  · 16 年前

    我想为一个在Launchpad上托管的项目做出积极贡献。 我对GitHub更满意,如果可能的话,我想继续使用它。 我能镜像github上的bzr存储库吗?

    如果可能的话,我该怎么安排?

    2 回复  |  直到 16 年前
        1
  •  13
  •   VonC    14 年前

    你可以试试这种GitBZR桥 git-bzr git-bzr 脚本:


    反之亦然,这意味着您可以克隆bzr repo并使用 bzr-git .

        2
  •  1
  •   xrg    15 年前

    注意:后备箱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

        3
  •  0
  •   Greg Dubicki    6 年前

    我刚刚写信 a detailed how-to for mirroring a Launchpad Bazaar repo to Github (note that it focuses on Mac users)

    本操作指南的最低版本:

    brew install bazaar
    brew tap gdubicki/tap
    brew install gdubicki/tap/bzr-git
    
    1. 克隆Bazaar存储库
    # for example:
    bzr branch lp:update-motd
    

    您需要的是回购协议的URL,在我的情况下:

    git+ssh://git@github.com/gdubicki/update-motd-for-non-ubuntu.git

    1. 将克隆推送到远程
    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