Confirmed users
4,293
edits
(AUS info) |
No edit summary |
||
| Line 78: | Line 78: | ||
==Application update request== | ==Application update request== | ||
The application makes a request | The application makes a request to the url specified by the preference app.update.url (or to app.update.url.override if it is defined), which is: | ||
https://aus2.mozilla.org/update/1/%PRODUCT%/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/update.xml | https://aus2.mozilla.org/update/1/%PRODUCT%/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/update.xml | ||
This is preprocessed to make the required substitutions. Continuing the example above of a Firefox Mozilla1.8 branch nightly, this would be: | |||
https://aus2.mozilla.org/update/1/Firefox/2.0a2/2006050905/WINNT_x86-msvc/en-US/nightly/update.xml | https://aus2.mozilla.org/update/1/Firefox/2.0a2/2006050905/WINNT_x86-msvc/en-US/nightly/update.xml | ||
which returns | which returns | ||
| Line 93: | Line 93: | ||
</update> | </update> | ||
</updates> | </updates> | ||
Other %BUILD_TARGET%/$update_platform combinations are | |||
* Linux: Linux_x86-gcc3 | |||
* Mac Universal: Darwin_Universal-gcc3 | |||
* Mac PPC: Darwin_ppc-gcc3 | |||
==AUS itself== | ==AUS itself== | ||
To | To provide this content, AUS maps the client version (%VERSION%) from the request to $update_version of snippet store. The current mapping is: | ||
something messy | 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) | 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) | ||