 

Code

Not logged in - Log In / Register

Launchpad Help > Code

Overview

Using Launchpad, you can publish Bazaar branches or Git repositories of your code and, optionally, associate them with projects. You can also mirror Bazaar branches that are hosted elsewhere on the internet and even import git, Subversion and CVS repositories into Bazaar branches.

Thousands of people have done that already, meaning that Launchpad has a huge directory of branches of code. You could think of it as a code supermarket because it's so easy to browse and get hold of the code you want.

Over the next few pages, we'll look at:

New to Bazaar or distributed version control?

If you're already familiar with Subversion or CVS, it's worth noting that Bazaar is a distributed version control system.

So, with Bazaar, your workflow no longer looks like this:

  1. jump through hoops to get read/write permission for a central code repository
  2. check code out of that central repository
  3. hack, hack, hack
  4. commit code back to the central repository

Instead, Bazaar lets anyone create their own branch—with full version control—of any other Bazaar branch. That gives everyone much more freedom and tears down the barriers to new and drive-by contributors. When you—as the owner of the main-line branch—want to use something that appears in another branch of your project, Bazaar makes it supremely easy to merge their work into the main-line.

Also see:

You may also find it useful to read the Bazaar project's guide to using Bazaar together with Launchpad.

Where Launchpad comes in

If you're new to distributed version control, this way of working may seem a little chaotic. Launchpad helps tie everything together by:

Next step

Let's start by finding and downloading code using Launchpad and Bazaar.

< Translations for project owners

Finding and downloading code >

Code (last edited 2016-10-05 19:31:43 by cjwatson)
{"cc_re__cc_re__cc_by_2_0_uk": ["general.cjwatson.uk.vpn[10.172.192.14]\">cjwatson</a></span>)</p>\n\n<div id=\"pagebottom\"></div>\n</div>\n\n\n<div id=\"footer\">\n                <p class=\"menu\">\n                    <a href=\"https://help.launchpad.net/Legal\">Terms of use</a> |\n                    <a href=\"https://launchpad.net/feedback\">Help improve Launchpad</a> |\n                    <a href=\"https://launchpad.net/faq\">FAQ</a> |\n                    <a href=\"/RecentChanges\">Recent Changes</a></p>\n                <p>\n                    <a rel=\"license\" href=\"http://creativecommons.org/licenses/by/2.0/uk/\">\n                    <span xmlns:dc=\"http://purl.org/dc/elements/1.1/\" href=\"http://purl.org/dc/dcmitype/Text\" property=\"dc:title\" rel=\"dc:type\">Launchpad Help</span> by <a xmlns:cc=\"http://creativecommons.org/ns#\" href=\"http://canonical.com\" property=\"cc:attributionName\" rel=\"cc:attributionURL\">Canonical Ltd</a> is licensed under a <a rel=\"license\" href=\"http://creativecommons.org/licenses/by/2.0/uk/\">Creative Commons Attribution 2.0 UK: England &amp; Wales License</a>. <img alt=\"Creative Commo", "      <a href=\"/RecentChanges\">Recent Changes</a></p>\n                <p>\n                    <a rel=\"license\" href=\"http://creativecommons.org/licenses/by/2.0/uk/\">\n                    <span xmlns:dc=\"http://purl.org/dc/elements/1.1/\" href=\"http://purl.org/dc/dcmitype/Text\" property=\"dc:title\" rel=\"dc:type\">Launchpad Help</span> by <a xmlns:cc=\"http://creativecommons.org/ns#\" href=\"http://canonical.com\" property=\"cc:attributionName\" rel=\"cc:attributionURL\">Canonical Ltd</a> is licensed under a <a rel=\"license\" href=\"http://creativecommons.org/licenses/by/2.0/uk/\">Creative Commons Attribution 2.0 UK: England &amp; Wales License</a>. <img alt=\"Creative Commons License\" style=\"border-width:0;vertical-align:middle;\" src=\"https://licensebuttons.net/l/by/2.0/uk/80x15.png\" /></a>\n                    </p>\n                <p>&copy; 2004-2016 <a href=\"http://www.canonical.com/\" target=\"_blank\">Canonical Limited.</a></p>\n            </div>\n</body>\n</html>\n\n"]}