Software Update:Nightly update infrastructure: Difference between revisions

Jump to navigation Jump to search
no edit summary
mNo edit summary
No edit summary
Line 88: Line 88:
* it pushes partial updates to the FTP server, and presumably a partial snippet to AUS
* it pushes partial updates to the FTP server, and presumably a partial snippet to AUS
* the code for partial generation lives in [http://lxr.mozilla.org/mozilla/source/tools/update-packaging/ mozilla/tools/update-packaging] but also uses mbsdiff and mar.   
* the code for partial generation lives in [http://lxr.mozilla.org/mozilla/source/tools/update-packaging/ mozilla/tools/update-packaging] but also uses mbsdiff and mar.   
* Chase Phillips wrote the code; Paul Reed is a current build engineer who knows how to drive it
* Chase Phillips wrote the code; Paul Reed (preed) is a current build engineer who knows how to drive it


=AUS=
=AUS=


This server returns update information to the client, based on the snippets it has from the build systems. It was written in PHP by Mike Morgan.
This server returns update information to the client, based on the snippets it has from the build systems. It was written in PHP by Mike Morgan (morgamic)


==Application update request==
==Application update request==
Line 118: Line 118:
==AUS itself==
==AUS itself==


To provide this content, AUS maps the client version (%VERSION%) from the request to $update_version of snippet store. This was the mapping on April 11 2006:
To provide this content, AUS maps the client version (%VERSION%) from the request to $update_version of snippet store. This was the mapping on May 11 2006:
  '1.0+' => '1.5',
  '1.0+', '1.4', '1.4.1', '1.5' => '1.5',
'1.4' => '1.5',
'1.4.1'=> '1.5',
'1.5' => '1.5',
  '1.5.0.1' => '1.5.0.1',
  '1.5.0.1' => '1.5.0.1',
  '1.5.0.2' => '1.5.0.2',
  '1.5.0.2' => '1.5.0.2',
  '1.6a1'=> 'trunk',
  '1.5.0.3' => '1.5.0.3',
  '2.0'=>'2.0',
  '1.5.0.4' => '1.5.0.4',
  '2.0a1'=>'2.0',
  '2.0', '2.0a1', '2.0a2', '2.0b1', '2.0b2' => '2.0',
'2.0a2'=>'2.0',
  '1.6a1', '3.0a1' => 'trunk'
'2.0b1'=>'2.0',
  '2.0b2'=>'2.0',
'3.0a1'=>'trunk'


So there is a many to one relationship between versions from a particular code branch to an AUS disk location. Eg: The Mozilla1.8 branch is being used for developement of v2 and will have versions 2.0a1, a2, b1,b2, RC1, ... and finally 2.0. The situation with the Mozilla1.8.0 branch needs fixing up ([https://bugzilla.mozilla.org/show_bug.cgi?id=328497 Bug 328497] made a bit of a mess), an $update_version of "1.5.x.y" would be more appropriate.
So there is a many to one relationship between versions from a particular code branch to an AUS disk location. Eg: The Mozilla1.8 branch is being used for developement of v2 and will have versions 2.0a1, a2, b1,b2, RC1, ... and finally 2.0. The situation with the Mozilla1.8.0 branch needs fixing up (partly [https://bugzilla.mozilla.org/show_bug.cgi?id=328497 Bug 328497]), an $update_version of "1.5.x.y" would be flexible.
Confirmed users
4,293

edits

Navigation menu