Diff for "LandingChanges"

Not logged in - Log In / Register

Differences between revisions 3 and 4
Revision 3 as of 2010-04-12 19:43:47
Size: 1559
Editor: mars
Comment:
Revision 4 as of 2010-04-12 19:57:09
Size: 1668
Editor: bac
Comment:
Deletions are marked like this. Additions are marked like this.
Line 23: Line 23:
{{{
  ./utilities/ec2 land <URL of merge proposal>
}}}
or, if the branch has exactly one merge proposal,

Landing Changes

This page describes how a developer with PQM access can land a change.

Using ec2

To run the tests on ec2 before submitting to PQM to try and ensure you won't break the build use ./utilities/ec2. To use this you must be setup to use EC2Test.

From a local branch of the code that you want to submit (which should have a public branch set (TODO: link to documentation of how to set that stuff up)) simply run

  ./utilities/ec2 land

This finds the merge proposal and infers the target branch, adds the correct reviewer etc. information, and commit message. It relies on having an approved merge proposal with the commit message set.

If you want to land someone elses branch on their behalf then you can run, from any LP branch,

  ./utilities/ec2 land <URL of merge proposal>

or, if the branch has exactly one merge proposal,

  ./utilities/ec2 land lp:~user/launchpad/branch-name

Run ./utilities/ec2 land --help to see the full list of command-line options.

Using lp-land

If you have the bzr-pqm plugin installed then you can use the "lp-land" command, which works in a similar way to "ec2 land", but doesn't run the testsuite first.

First ensure that you have the PQM submission address set for your launchpad branches in ~/.bazaar/locations.conf

  [/home/user/launchpad/]
  pqm_email = Canonical PQM <launchpad@pqm.canonical.com>

Again, from any copy of a launchpad branch run

  bzr lp-land

and it will infer the details from the approved merge proposal.

Run bzr lp-land --help to see the full list of command-line options.

LandingChanges (last edited 2020-07-17 16:29:13 by doismellburning)