CloudServices/Sync/FxSync/PushingDevUpdates
From MozillaWiki
< CloudServices | Sync | FxSync(Redirected from Services/Sync/FxSync/PushingDevUpdates)
Contents
Current instructions
Verify and tag changes
- update your repo to the tip of the appropriate branch
- run tests
- make test
- update version in Makefile and commit that change
- tag that changeset with the version (i.e. 1.4.2)
- hg tag -f <version> (use -f in case you're respinning)
- push changes
- hg push
Get the locale set
- go to https://l10n-stage-sj.mozilla.org/shipping/dashboard?av=weave
- filter by sign-off == accepted
- grab that set of locales, and make them a comma-separated list
- for example: ar,be,ca,cs,de,es-AR,es-ES,fi,fr,fy-NL,hu,id,it,ja,ko,lt,nl,pa-IN,pt-BR,pt-PT,ru,sk,sq,tr,uk,vi,zh-CN,zh-TW
Build the XPI
- create an empty directory and cd to it
- run the following command:
- python <path/to/repo>/tools/build_localized_addon.py -v <version> -locales <comma-separated list from above>
- release builds add -release
- this should take a minute or so to complete, and you'll have a shiny new XPI in the directory
Updating Dev Channel builds
- upload builds to stage
- scp weave-<a.b.N>-dev.xpi stage.mozilla.org:/home/ftp/pub/mozilla.org/labs/weave/development/<a.b.x>
- get QA to smoketest these builds
- while that is happening, you can update the web pieces
- update from svn+ssh://svn.mozilla.org/projects/services.mozilla.com/trunk/
- update sync/versions.php
- Update $latest_dev to <version>
- Update $latest_dev_date to <today>
- Update $latest_dev_notes to include recent changes
- [SVN] commit changes to SVN
- [QA] verify changes on stage (might take ~5 minutes to kick in)
- Check http://services.stage.mozilla.com/sync/update.rdf for <version>
- Check http://services.stage.mozilla.com/sync/install.php for correct file
- Check http://services.stage.mozilla.com/sync/updated/?channel=dev&version=<ver> for version, date, notes
- Once QA signoff is complete, the current SVN should be tagged as production (requires access to tags/production)
- remove old production tag
- svn delete -m "Remove old production tag" svn+ssh://svn.mozilla.org/projects/services.mozilla.com/tags/production
- tag production as current trunk
- svn copy svn+ssh://svn.mozilla.org/projects/services.mozilla.com/trunk svn+ssh://svn.mozilla.org/projects/services.mozilla.com/tags/production -m "Mark for production"
- remove old production tag
- Wait for services.mozilla.com to auto-update, and verify a previous dev build updates
Old instructions
These will be archived at some point.
- [HG] update from ssh://hg.mozilla.org/labs/weave/
- [HG] bump Weave version to desired version in Makefile
- [make] run unit tests
- make TOPSRCDIR=`pwd` test
- [HG] tag the version bump with the desired version
- create an empty directory
- [make] build the xpi
- python <path/to/dev/repo>/tools/build_localized_addon.py -v <version>
- [HG] tag the version bump
- hg tag <version>
- [HG] bump Weave version to the next version
- [HG] push version/tag changes
- hg push
- [FTP] push build to ftp in the appropriate directory (labs/weave/development/a.b.x)
- scp dist/xpi/weave-<ver>-dev.xpi stage.mozilla.org:...
- [SVN] update from svn+ssh://svn.mozilla.org/projects/services.mozilla.com/trunk/
- [SVN] update sync/versions.php
- Update $latest_dev to <version>
- Update $latest_dev_date to <today>
- Update $latest_dev_notes to include recent changes
- [SVN] commit changes to SVN
- [QA] verify changes on stage (might take ~5 minutes to kick in)
- Check http://services.stage.mozilla.com/sync/update.rdf for <version>
- Check http://services.stage.mozilla.com/sync/install.php for correct file
- Check http://services.stage.mozilla.com/sync/updated/?channel=dev&version=<ver> for version, date, notes
- [SVN] remove old production tag
- svn delete -m "Remove old production tag" svn+ssh://svn.mozilla.org/projects/services.mozilla.com/tags/production
- [SVN] if you have access (Mardak/mconnor do) tag production
- svn copy svn+ssh://svn.mozilla.org/projects/services.mozilla.com/trunk svn+ssh://svn.mozilla.org/projects/services.mozilla.com/tags/production -m "Mark for production"