I develop most of my code in Git repos, now that I've become slightly more active on Launchpad I've started picking up Bazaar which has two "small" difference from Git's workflow that ride against how I usually develop code. While I don't mind using Bazaar I've noticed that Launchpad has options to use multiple VSC tools

alt text

I'm curious exactly how this works with Launchpad with an emphasis on the following:

  • Is the repo mirrored as a Git repo or a Bazaar repository?
  • If it's a Bazaar repo - how are multiple branches in a Git repository mirrored on Launchpad?
  • How are updates from users pushing to the LP branch handled
    • Are the branches from Git considered Read-only or will LP attempt to push them to the Git server?
      • If so under what methods? (Git+SSH, Git Daemon, etc)
  • How often is the LP mirror updated?

Solution 1:

The repository is stored as a bazaar repository on Launchpad.

Multiple git branches are not currently imported - this is being looked at & can be followed at https://bugs.launchpad.net/launchpad-code/+bug/380871

Writing to the branches on launchpad is not supported, according to http://blog.launchpad.net/code/git-branch-imports-now-in-public-beta

From what I've seen of import history for projects, the branch mirror is updated every 4-6 hours.

Solution 2:

Note that recently git support was added to launchpad: http://blog.launchpad.net/general/git-code-hosting-beta