UpdateGeneration

From MozillaWiki
Revision as of 23:56, 14 July 2009 by ChrisCooper (talk | contribs)
Jump to navigation Jump to search

Update generation

One of the key features of Firefox is the update system that allows Mozilla to push out bug fixes and new features to users automatically.

Current processes

Currently we use two different sets of processes and tools to generate updates for nightly updates and releases.

Nightly updates

  • nightly builders generate complete MAR using Makefile
  • upload complete MAR to staging along with build
  • upload complete snippet to AUS2 server
  • prometheus-vm runs cron script every 5 minutes (patch-packager-cron.sh) that calls patch-packager.pl. In the simplest terms, this script does the following:
    1. Read in all of the available builds.
    2. Compute all of the patches we could offer.
    3. Read in all of the offered patches.
    4. Compute which patches we aren't offering which we could.
    5. Create all of the patches we could offer.
    6. Upload them.

Updates for security releases

Updates between major branches (aka major update)

Which machines do what

Proposed new unified process