Closed Bug 1903117 Opened 8 months ago Closed 8 months 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
130 Branch
Tracking Status
firefox130 --- fixed

People

(Reporter: mconley, Assigned: mconley, NeedInfo)

References

(Blocks 1 open bug)

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 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
Regressions: 1906460

If you've confirmed that it's this patch that caused bug 1906460, feel free to back me out to clear it.

Flags: needinfo?(mconley) → needinfo?(sstanca)

If you are sure that this would be the best option, I will proceed to the backout.

Flags: needinfo?(sstanca)

Backed out as requested for causing Bug 1906460.

Status: RESOLVED → REOPENED
Flags: needinfo?(mconley)
Resolution: FIXED → ---
Target Milestone: 129 Branch → ---
Pushed by mconley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1233bbda7a5f Make the download link in the single-file archive work. r=backup-reviewers,desktop-theme-reviewers,dao,kpatenio
Status: REOPENED → RESOLVED
Closed: 8 months ago8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
Regressions: 1906912
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: