Skip to content
This repository has been archived by the owner on Jul 3, 2019. It is now read-only.

Synchronizing with mozilla central

yurydelendik edited this page Sep 3, 2014 · 1 revision

To synchronize:

  1. pull newest versions of:
  • mozilla-central (e.g. cd $MOZILLA-CENTRAL; hg pull; hg update);
  • Shumway (e.g. cd $SHUMWAY; git fetch mozilla; git checkout mozilla/master)
  1. Older Shumway version can be found at $MOZILLA-CENTRAL/browser/extensions/shumway/content/version.txt

  2. Run automatic build of the baseline and current master to generate diff:

  • grunt mozcentralshu --baseline=SHA_FROM_STEP2
  1. Apply 'build/mozcentral.diff' to the mozilla-central:
$ cd $MOZILLA-CENTRAL
$ hg import --no-commit $SHUMWAY/build/mozcentral.diff 

To synchronize without diff:

  1. pull newest versions of:
  • mozilla-central (e.g. cd $MOZILLA-CENTRAL; hg pull; hg update);
  • Shumway (e.g. cd $SHUMWAY; git fetch mozilla; git checkout mozilla/master)
  1. build the Shumway extension for mozilla-central:
$ cd $SHUMWAY
$ grunt mozcentral
  1. Shumway version can be found at build/mozcentral/browser/extensions/shumway/content/version.txt
cat build/mozcentral/browser/extensions/shumway/content/version.txt
  1. copy the build above extension image to the mozilla-central
$ cd $MOZILLA-CENTRAL
$ cp -R $SHUMWAY/build/mozcentral/* .
  1. check if any files needs to be added (hg status) or removed

  2. create a bug at bugzilla and provide log information using utils/get-github-log.py utility

  3. create a patch (e.g. via hg diff or hg qnew)

  4. if patch created and submitted to the mozilla-central, set 'mozilla-central' branch to point to current commit

$ cd $SHUMWAY
$ git checkout -B mozilla-central
$ git push mozilla mozilla-central