gitgithubbazaarlaunchpad

Import Git repo with signed commits into Launchpad


I need to import this GitHub repository with signed commits into Launchpad to build packages for this PPA.

A direct import will not work, due to this bzr-git bug, but a fast-export/fast-import is a workaround, according to https://bugs.launchpad.net/ubuntu/+source/bzr-git/+bug/1084403/comments/9.

I want to use my Raspberry Pi, which runs 24/7 as a web server, to make the conversion to bzr using fast-export/fast-import then have Launchpad automatically import it.

What is the best way to do this?

The conversion needs to be able to be run as a cron job, and the converted repository needs to be able to be imported by Launchpad automatically.


Solution

  • This is no longer an issue because, as of November 2016, Lauchpad supports direct git-to-git code imports and mirroring of git repositories hosted elsewhere. Simply mirror/import via git instead of bzr and everything will be copied across, signed commits and all.