Diff for "Code/QuickStart"

Not logged in - Log In / Register

Differences between revisions 6 and 7
Revision 6 as of 2009-07-31 12:56:50
Size: 1628
Editor: 92-237-59-186
Comment:
Revision 7 as of 2009-07-31 17:01:24
Size: 2570
Editor: 92-237-59-186
Comment: A work in progress
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:
 * Push a Bazaar branch to your project in Launchpad  * [[#push|Push a Bazaar branch to your project in Launchpad]]
Line 32: Line 32:

<<Anchor(push)>>
= Push a Bazaar branch to your project =

Bazaar comes with a plug-in that lets you push to and pull from Launchpad directly from within Bazaar.

To push your branch up to Launchpad, open your terminal and go to your Bazaar branch. Next up, type:

{{{
bzr push lp:~your-id/project-id/branch-name
}}}

 * ''~your-id'': this is your Launchpad id, which is the portion of [[https://launchpad.net/people/+me|your profile page]]'s URL that begins with the tilde
 * ''project-id'': the id of the project in Launchpad, which you can find at the end of your project's overview page URL
 * ''branch-name'': whatever name you want to give to your branch, such as ''trunk'', ''main'' or ''experimental''


Replace ''project-name'' with your project's Launchpad id. The id is the final part of your project overview page's URL: e.g. ''bzr'' in ''https://launchpad.net/bzr''

== See your branch in place ==

Launchpad Help > Code > Quick-start

lp-diamond-16.png Code hosting quick start

This guide will show you how to:

If you need further help, take a look at the Code section of this help wiki.

Enable code hosting for your project

First, add your project to Launchpad. On your project's overview page, click Change details towards the top-right of the page.

change-details.png

Edit your project's info in Launchpad

Scroll down the Change details page and select the check-box marked Code for this project is published in Bazaar branches on Launchpad.

code-for-this-project.png

Tell Launchpad you want to host your project's code here

Save your changes by clicking the Change button at the bottom of the page.

What's changed?

  • Your project overview page now reads Uses Launchpad for: Code

  • Any Launchpad user can have a branch listed against your project

Push a Bazaar branch to your project

Bazaar comes with a plug-in that lets you push to and pull from Launchpad directly from within Bazaar.

To push your branch up to Launchpad, open your terminal and go to your Bazaar branch. Next up, type:

bzr push lp:~your-id/project-id/branch-name
  • ~your-id: this is your Launchpad id, which is the portion of your profile page's URL that begins with the tilde

  • project-id: the id of the project in Launchpad, which you can find at the end of your project's overview page URL

  • branch-name: whatever name you want to give to your branch, such as trunk, main or experimental

Replace project-name with your project's Launchpad id. The id is the final part of your project overview page's URL: e.g. bzr in https://launchpad.net/bzr

See your branch in place

Code/QuickStart (last edited 2018-05-24 17:29:52 by cjwatson)