[[ https://launchpad.net/ | Launchpad ]] uses two types of version control system (git and bazaar) but CVS and Subversion can be [[ https://help.launchpad.net/VcsImports | imported ]]. For git repositories, they can be directly fed to git loader, but for bazaar repositories, we need a separate loader.
Bazaar repo can be [[ https://help.launchpad.net/Code/FindingAndDownloading | downloaded ]] via a bazaar command of this format
```
bzr branch lp:<projectname>
```
(reference http://blog.launchpad.net/general/the-great-source-code-supermarket)
In launchpad for every project there one main branch called trunk That is in format
```
bzr branch lp:<projectname>
```
and rest are its branches which are in the format bzr branch
```
lp:~<author.name>/<project.name>/<name>
```
To ingest all the code, we need to list all the branches of all the projects.
Launchpad proves an [[ https://api.launchpad.net/devel/ | API ]] which can be used to list all the projects and branches.