Bugs/BugBranchLinks

Not logged in - Log In / Register

Revision 2 as of 2009-05-28 16:35:13

Clear message

Launchpad Help > Bugs > Linking bugs to branches

Linking bug reports to branches

If your project uses both Launchpad Bugs and Launchpad Code -- whether directly hosting Bazaar branches on Launchpad or importing from elsewhere -- you can link bug reports directly to the code where someone is working on a fix.

Fixing bugs in dedicated branches

Let's say you're new to a project. You spot a bug report and you're pretty certain you can fix it. You pull down your own branch of the project's trunk and hack away. Every now and then, you push your branch up to Launchpad.

You can tell everyone who's interested in the bug about your work by linking your branch to the report. Now, anyone looking at the bug report can click straight through to see your branch.

Using the Launchpad web interface:

Step 1: Visit your bug report in Launchpad.

Step 2: Click Link to related branch.

Step 3: Select the branch and you're done!

Just as you can register and push a branch of code to Launchpad directly from Bazaar, you can also create a bug-branch link.

$ bzr commit --fixes lp:12345

Finding links to branches

In branch listings, and on the branch overview page itself, Launchpad uses an icon to indicate a link between a bug report and a branch of code. Similarly, there's a yellow Bazaar icon in bug listings to show which reports are linked to a branch of code.

Next step

Launchpad helps you to stay on top of the bugs you're interested in, both by email and Atom feeds. Let's take a look at bug subscriptions.

< Bug statuses

Bug subscriptions >