Balrog should be able to generate accurate update URLs



Release Engineering
Balrog: Backend
7 months ago
4 months ago


(Reporter: bhearsum, Unassigned)


(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)




7 months ago
One of the things we often struggle with is generating useful update URLs to test with. Balrog has enough data that it should be able to generate these URLs for us. Because the necessary information is stored in Release blobs, I think it would be best to integrate around them in some way. For example, there could be a button beside the Mapping field in the Rules UI called "Test URLs". When clicked, the user would be prompted for a small amount of information (see below), and then an update URL would be returned, or possibly opened in a new tab. Since we know the Release, we can pull most of the data we need for the update URL from it. We'll still need the user to choose an OS, locale, and possibly channel.

As an example, let's see how we could generate this URL:

We've got the following parts to deal with:
- Domain - available in app config
- URL version - Depends on Product Version. We'll probably need to hardcode a list of product version <-> update URL version mappings in the app.
- Product - Available in the Release
- Product Version - Available in the Release
- Buildid - Available in the Release, depends on Locale.
- Build Target - Available in the Release, depends on OS Version chosen.
- Locale - User input
- Channel - User input, but we can probably suggest the most likely one.
- OS Version - User input
- System Requirements - Probably just hardcode this to SSE3. Only present in URL version 6.
- Distribution - Hardcode to "default". Only present in URL version 3 & 6.
- Distribution Version - Hardcode to "default".  Only present in URL version 3 & 6.


7 months ago
Blocks: 1398203


6 months ago
Assignee: nobody → bhearsum


4 months ago
Assignee: bhearsum → nobody
Priority: P1 → P3
You need to log in before you can comment on or make changes to this bug.