Closed Bug 1903117 Opened 18 days ago Closed 8 hours ago

Set up download link when viewing the single-file archive on a non-Mozilla web browser

Categories

(Firefox :: Profile Backup, task, P3)

task

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: mconley, Assigned: mconley, NeedInfo)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [fidefe-device-migration])

Attachments

(1 file)

The "Download { -brand-short-name }" button that's visible when viewing the single-file archive in a non-Mozilla browser doesn't currently do anything. This is because we're still working out how that button is supposed to function.

This bug is for wiring up the right behaviour to that button once we decide what exactly it's supposed to do.

Depends on: 1901520

So my plan is as follows:

  1. Have some fallback download URLs for each channel of MOZ_UPDATE_CHANNEL (nightly, aurora, beta, release, esr) in prefs. These will include the UTM parameters for attribution once we get them from lifecycle marketing.
  2. Set up a new RemoteSettings collection where we can have the "true", non-fallback links.
  3. Query for that collection when rendering the template, and if it finds a URL for the MOZ_UPDATE_CHANNEL, use it - otherwise, use the fallback.

The fallbacks let us create backups even if the RemoteSettings service is down for some reason. The RemoteSettings collection will let us update the download URLs, even for released versions of the client.

Assignee: nobody → mconley
Blocks: 1905909
Pushed by mconley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3d272e8ab369
Make the download link in the single-file archive work. r=backup-reviewers,desktop-theme-reviewers,dao,kpatenio
Pushed by mconley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f35d254c77a2
Make the download link in the single-file archive work. r=backup-reviewers,desktop-theme-reviewers,dao,kpatenio
Status: NEW → RESOLVED
Closed: 8 hours ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: