Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm assisting in a project on Launchpad - however I do not have write access to that branch. How can I create a branch which I can push to and point people on the team for review?

share|improve this question
    
While I thank you for asking this, It appears off topic. –  user121291 May 27 '13 at 21:39
    
How is this off-topic? –  Marco Ceppi May 27 '13 at 23:18
    
It doesn't have anything to do with Ubuntu, does it? –  user121291 May 27 '13 at 23:57
    
@ColeJohnson Considering Launchpad is an integral part of the Ubuntu Ecosystem, and this site is about Ubuntu Users and Ubuntu Developers I would like to think this is ontopic. If you think otherwise feel free to open a top on meta discussing why you feel Launchpad isn't ontopic to get feedback from the community. –  Marco Ceppi May 28 '13 at 1:50
    
That makes sense. I just thought it would be better on Web Applications SE. But, would you say Launchpad is the canonical way to work on Ubuntu? :P –  user121291 May 28 '13 at 5:56

4 Answers 4

up vote 11 down vote accepted

Go to the project page that you want to create a branch for and click 'Submit Code'.

alt text

Then set up the branch. Make sure it is hosted in Launchpad.

alt text

You can then push to the branch:

bzr push lp:branch

The first time you push, you will need to use:

bzr push lp:branch --use-existing-dir

Once you are ready to merge, click 'Propose for merging' on the 'Code' tab of the project.

alt text

It will then wait to be reviewed by someone with the necessary permissions.

Once the review has started, you will see something like this in the 'Code' tab: alt text

You can follow this link to the review page. alt text

Once the reviewer is satisfied, they will merge the branches and your code will become part of the project's trunk.

share|improve this answer

You can push a branch under your own name, e.g. bzr push lp:~ajmitch/ubuntuwire-website/update-machine-list to push a branch to the ubuntuwire-website project which is named update-machine-list

share|improve this answer

For Subversion users, or those interested in lightweight checkouts, this might also help:

https://answers.launchpad.net/canonical-identity-provider/+question/209069

share|improve this answer

Starting in the folder a level up from the branch:

bzr branch originalBranchName newBranchName
cd newBranchName

Make some changes to the files. If you add any new files/folders:

bzr add

Once you're done:

bzr commit -m "Description of changes"

And push to your own Launchpad branch:

bzr push lp:~lpusername/projectname/branchname
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.