Diff for "Code/PersonalBranches"

Not logged in - Log In / Register

Differences between revisions 11 and 12
Revision 11 as of 2009-08-28 15:06:15
Size: 2024
Editor: 92-237-59-186
Comment:
Revision 12 as of 2012-05-31 19:15:00
Size: 1951
Editor: 122
Comment: remove references to register a branch.
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:
Usually, when you register a Bazaar branch with Launchpad, you tell Launchpad which project the branch is associated with. Branches hosted by Launchpad are usually asssociated with a project.
Line 19: Line 19:
 * you can't propose a +junk branch for merger  * you can't propose a +junk branch for merging
Line 23: Line 23:
If you want to collaborate on a +junk branch with someone else, you'll need to [[https://help.launchpad.net/Projects/Registering|create a project]]. If you want to collaborate on a +junk branch with someone else, you need to make the branch be owned by a team that both you and the other person are members of. Better still, when you are ready to collaborate, you should [[https://help.launchpad.net/Projects/Registering|create a project]] and move the +junk branch into the project.
Line 25: Line 25:
= Registering a +junk branch = = Creating a +junk branch =
Line 27: Line 27:
Adding a +junk branch to Launchpad is similar to registering a branch associated with a project. Adding a +junk branch to Launchpad is the same as creating any other hosted branch. Instead of using the project name in the branch URL, you use +junk.
Line 29: Line 29:
Visit your [[https://code.launchpad.net/people/+me/+addbranch|register a branch]] page and make sure you select the ```Hosted``` option, to host the branch on Launchpad.

At top of the page, you'll see that the automatically updating branch name looks something like:

{{{
~matthew.revell/+junk/mybranch
}}}
For instance: `bzr push ~matthew.revell/+junk/mybranch`

Launchpad Help > Code > Personal branches

Overview

Branches hosted by Launchpad are usually asssociated with a project.

If you'd prefer to upload a branch to Launchpad without it showing up in any project's branch listings, you can use the +junk pseudo-project. This can be useful if your branch is:

  • for a project not yet in Launchpad
  • not ready to be publicly associated with a project.

+junk branches work in a similar way to normal branches: anyone can create their own branch and they show up in your own branch list.

However, there are some differences:

  • you can't propose a +junk branch for merging
  • they don't show up in any project's branch listing
  • you don't earn karma from +junk branches.

If you want to collaborate on a +junk branch with someone else, you need to make the branch be owned by a team that both you and the other person are members of. Better still, when you are ready to collaborate, you should create a project and move the +junk branch into the project.

Creating a +junk branch

Adding a +junk branch to Launchpad is the same as creating any other hosted branch. Instead of using the project name in the branch URL, you use +junk.

For instance: bzr push ~matthew.revell/+junk/mybranch

Next step

You can work with Bazaar branches in Launchpad even if they're hosted elsewhere by mirroring them.

< Linking branches to bug reports and blueprints

Mirrored branches >

Code/PersonalBranches (last edited 2012-06-28 06:34:40 by wgrant)