Jetpack/Integration Process

From MozillaWiki
< Jetpack
Revision as of 22:08, 12 December 2012 by Mossop (talk | contribs) (Created page with "This page should include instructions on updating mozilla central with the latest version of the SDK code. = Updating up the local clone = == If you haven't checked out from me...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This page should include instructions on updating mozilla central with the latest version of the SDK code.

Updating up the local clone

If you haven't checked out from mercurial before

hg clone https://hg.mozilla.org/projects/larch/ mozilla
cd mozilla/addon-sdk/source
git init
git remote add origin  https://github.com/mozilla/addon-sdk.git
git fetch origin
git branch --track integration refs/remotes/origin/integration
git reset --hard integration

This will give you the latest mozilla-central code and update the SDK files to the latest versions from the integration branch.

If you have previously done the above

cd addon-sdk/source
git pull origin integration

Updates the SDK files to the latest versions from the integration branch.

Viewing and committing changes

hg diff

Shows the list of changes waiting to land in mozilla-central

hg commit -m "..."

Commits the changes

hg push ssh://hg.mozilla.org/projects/larch/

Pushes the changes to the test branch.

TODO: Add notes on pushing to try first.