mozilla / bedrock

Making mozilla.org awesome, one pebble at a time
https://www.mozilla.org
Mozilla Public License 2.0
1.18k stars 919 forks source link

Invite Debian-based distribution users to use Mozilla's .deb package instead of our current .tar.gz file #12966

Closed JohanLorenzo closed 9 months ago

JohanLorenzo commented 1 year ago

Description

Meta-bug: bug firefox-deb-repackage. Additional context: FFXP-2363

In a few Firefox release cycles, the Release Engineering team will ship Firefox as a .deb package for Ubuntu and Debian users. Unlike we've always done so far, we won't redirect users to our latest binaries this time. Instead, we will display instructions on how they can set up their package manager to use our package. This is a standard practice in the Linux community (e.g.).

Timeline

We currently aim to get our first nightly users in Firefox 115 whose Nightly cycle starts a month from now. Depending the feedback we get from users, we may either ride the 115 train or let it bake in Nightly.

We plan to first announce it through Nightly's blog post (bug 1826540). So no need to have the nightly download page ready on the first day. That said, early in the 115 cycle would be appreciated.

Then, we can adjust the beta download page and then the release depending on the user feedback.

Expected behavior

The ultimate goal is to display the instructions (exhaustive list still to be determined) to Debian-based distribution users (e.g. users on Debian, Ubuntu, Linux mint). If we have a way to reliably detect the distro, then we should prevent these users from downloading the .tar.gz archive and show the instructions. If we have no easy way, then all Linux should see the instructions then confirm they want to download the .tar.gz anyway.

These changes should be reflected on the pages liked above as well as the main landing page. Instructions have to be localized too.

How does that sound to you all?

I'm happy to provide additional details.


Success Criteria

Let's agree on the right approach first, I'll be happy to define the success criteria afterwards 🙂

alexgibson commented 1 year ago

@JohanLorenzo thanks for the heads up. Would it make sense to have the instructions as a SUMO page perhaps? Alternatively we could make a localized instructions page here on mozorg.

We can't detect specific distributions, but we do have existing logic to detect Linux as a general platform. We could use that to redirect people to an instructions page when they click a Firefox download link, instead of triggering a file download.

JohanLorenzo commented 1 year ago

Great idea! I hadn't thought of it. I see we already have this page on SUMO[1]. For sure, it will need to be updated. I agree it makes more sense to redirect Linux users to this page from bedrock, then!

@alexgibson, would you know who to ping to get a SUMO page changed? Edit: I found this Bugzilla component with some names. I'll get started there 🙂

[1] https://support.mozilla.org/en-US/kb/install-firefox-linux

JohanLorenzo commented 1 year ago

I filed bug 1826748 for the SUMO request.

alexgibson commented 1 year ago

@JohanLorenzo just checking in here - is there anything you need us to do here still?

JohanLorenzo commented 1 year ago

Hey @alexgibson! Thanks for checking in! Yeah, we'll eventually need this change. That said, the timeline is not as clear as it was in April. The project got delayed because of a longstanding issue in Firefox. I'll get back to you once the schedule gets clearer again.

JohanLorenzo commented 11 months ago

@alexgibson 👋 I have some new info on the timeline. We are targeting Firefox 122 which goes to release on January 23rd. How does that sound to you?

alexgibson commented 11 months ago

@JohanLorenzo can you give an update on what's hoped for here on our side of things?

JohanLorenzo commented 11 months ago

So, if SUMO is the source of truth for instructions, then we should point Linux users there. Something like:

  1. a Linux user wants to download Firefox
  2. before downloading the tar.gz, we display a text like: "Using Debian, Ubuntu, or any Debian-based distribution? You can set up our APT repository instead."
  3. a Linux should then choose which option to pick

Does that sounds okay? I don't have any strong preferences, I'm just getting the ball rolling 🙂

alexgibson commented 11 months ago

@JohanLorenzo can you please provide the SUMO URL you would like to link people to?

I'd like to try and get a little clearer on what's expected here if possible too. Is this correct?

  1. A Linux user lands on http://www.mozilla.org/firefox/new/ and clicks download.
  2. When redirected to http://www.mozilla.org/firefox/download/thanks/, instead of auto-starting the download, we instead display two options: a. Link to SUMO for set up instructions b. Link to download the tar.gz binary

Is that correct?

Is there any expectations for what should happen for Beta / Dev / Nightly?

sylvestre commented 11 months ago

I would like to see it here too: https://www.mozilla.org/fr/firefox/all/#product-desktop-release and having Debian/Ubuntu/Mint in the list ?

and redirect to the sumo page ?

alexgibson commented 11 months ago

I would like to see it here too:

What do you mean by "it"? Can you please be a bit more specific about what's expected?

sylvestre commented 11 months ago

something like this: image

(adding a new item in the list)

JohanLorenzo commented 11 months ago

@JohanLorenzo can you please provide the SUMO URL you would like to link people to?

Okay, I just asked in bug 1826748#c4

JohanLorenzo commented 11 months ago
  1. A Linux user lands on http://www.mozilla.org/firefox/new/ and clicks download.
  2. When redirected to http://www.mozilla.org/firefox/download/thanks/, instead of auto-starting the download, we instead display two options: a. Link to SUMO for set up instructions b. Link to download the tar.gz binary

LGTM!

JohanLorenzo commented 11 months ago

Is there any expectations for what should happen for Beta / Dev / Nightly?

Could we do the same for Nightly and DevEdition? We mustn't do anything with Beta for now.

alexgibson commented 11 months ago

I'll make sure this gets on our team's radar, thanks all!

alexgibson commented 10 months ago

@JohanLorenzo circling back to this work. Is it OK for us to deliver the changes here any time after 122 ships?

JohanLorenzo commented 10 months ago

Discussed over Slack with @enavajas. We clarified the priority and agreed this ticket needs to ship at the same time as Firefox 122. Thank you folks for working on this! 😃

nathan-barrett commented 9 months ago

Closed as fixed in #14096