Confirmed users
4,293
edits
mNo edit summary |
(AUS info) |
||
| Line 38: | Line 38: | ||
| $update_platform || "WINNT_x86-msvc" || Platform ABI for AUS | | $update_platform || "WINNT_x86-msvc" || Platform ABI for AUS | ||
|- | |- | ||
| $update_hash || " | | $update_hash || "SHA1" || Hash function for download verfication | ||
|- | |- | ||
| $update_filehost || "mozilla.osuosl.org" || The server that provides the mar files | | $update_filehost || "mozilla.osuosl.org" || The server that provides the mar files | ||
| Line 77: | Line 77: | ||
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. | ||
AUS maps client | ==Application update request== | ||
something | The application makes a request of this form (based on the preference app.: | ||
https://aus2.mozilla.org/update/1/%PRODUCT%/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/update.xml | |||
Eg: | |||
https://aus2.mozilla.org/update/1/Firefox/2.0a2/2006050905/WINNT_x86-msvc/en-US/nightly/update.xml | |||
which returns | |||
<updates> | |||
<update type="minor" version="2.0a2" extensionVersion="2.0a2" buildID="2006051002"> | |||
<patch type="complete" | |||
URL="http://mozilla.osuosl.org/pub/mozilla.org/firefox/nightly/2006-05-10-02-mozilla1.8/firefox-2.0a2.en-US.win32.mar" | |||
hashFunction="SHA1" hashValue="202f8c4a5c6af9bd00569ed087e245dec87d67fb" size="6925417"/> | |||
<patch type="partial" | |||
URL="http://mozilla.osuosl.org/pub/mozilla.org/firefox/nightly/2006-05-09-05-mozilla1.8/firefox-2.0a2.en-US.win32.partial.2006050905-2006051002.mar" | |||
hashFunction="SHA1" hashValue="6e277c58c232f021b034d595ce72fc240f011dab" size="525151"/> | |||
</update> | |||
</updates> | |||
==AUS itself== | |||
To do this, AUS maps the client version (%VERSION%) from the request to $update_version of snippet store. The current mapping is: | |||
something messy | |||
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 for v2 and will have versions 2.0a1, a2, b1,b2, RC1, ... and finally 2.0. The situation with the Mozilla1.8.0 needs fixing up ([https://bugzilla.mozilla.org/show_bug.cgi?id=328497 Bug 328497] made a bit of a mess) | |||