Difference between revisions of "Nightly"

From MozillaWiki
Jump to: navigation, search
m (How does it update?)
(Is there a Nightly repository for my distro?: Edit for correctness: s/currently/sometimes/ for the maintained-ness Ubuntu-team-maintained PPA. (It's been several weeks since the PPA was updated, so it's not "currently" maintained for nightly builds))
Line 190: Line 190:
 
The advised installation method is to use Mozilla-provided builds and its software updater.
 
The advised installation method is to use Mozilla-provided builds and its software updater.
  
If you really can't live without updates being provided through a repository, the Ubuntu Team currently maintains this ppa: https://launchpad.net/~ubuntu-mozilla-daily/+archive/ubuntu/ppa
+
If you really can't live without updates being provided through a repository, the Ubuntu Team sometimes maintains this ppa: https://launchpad.net/~ubuntu-mozilla-daily/+archive/ubuntu/ppa
  
 
===== Is there a FlatPak/Snap package =====
 
===== Is there a FlatPak/Snap package =====

Revision as of 16:19, 18 September 2018

Nightly LogoNightly Wordmark Share on Twitter

What is Firefox Nightly?

Every day, Mozilla developers write code that is merged into a common code repository (mozilla-central) and every day that code is compiled so as to create a pre-release version of Firefox based on this code for testing purposes, this is what we call a Nightly build. Once this code matures, it is merged into stabilization repositories (Beta and Dev Edition) where that code will be polished until we reach a level of quality that allows us to ship a new final version of Firefox to hundreds of millions of people. This development process used to ship a new version of Firefox every 5 to 8 weeks is called the Train Model.


Firefox channels until April 18, 2017
55 54 53 52 51
Nightly Aurora Beta Release
Nightly Aurora Beta Release

After April 18, 2017, the Aurora channel ceases to exist and the train model takes this form:

Firefox channels after April 18, 2017
55 54 53 52
Nightly Beta Release
Nightly Beta Release

Should I become a Nightly user?

Of course, Nightly does not have the polish, quality and stability of the Release channel as this is a work in progress but we are doing our best through automation, QA and community to provide you the best nightly builds possible.

If you are a power-user, that you want to have access to features in developments months before they become mainstream, have tolerance for occasional functional regressions and are looking for an easy way to help Mozilla and Firefox development, you should use Nightly (ideally as your main browser but you can also use it alongside Firefox on the release channel or another browser).

Unlike Firefox on the Release channel, Nightly sends by default anonymized usage statistics, called Telemetry which helps us improve Firefox and track regressions on a daily basis. Just using Nightly and sending telemetry data is already of great help to all Mozilla developers as it allows them to get usage statistics on the features they work on.

Of course, Nightly may be more likely to crash than a final release and sending your crashes to our engineers is also of considerable help as it helps us catch instabilities and identify issues long before end-users are exposed to them.

And if you want to go a step further, you can file bugs in our Bug tracker with detailed information about what is not working for you in Nightly.

Where can I download Firefox Nightly?

➡ Go to nightly.mozilla.org

Nightly is available for all the platforms we support officially (Windows 7 and later, MacOS, Linux) and we provide both 32 and 64 bits for Linux and Windows. We also support a large range of languages ranging from Albanian to Vietnamese.

All of our available builds are listed on this page: https://www.mozilla.org/firefox/nightly/all/

How does it update?

Nightly gets an update twice a day (or night, depending on your timezone), building starts at 10:00 and 22:00 UTC, usually builds are available one hour or two later. That means that there is an update in the morning for The Americas and another one for EMEA/Asia

The update is downloaded in the background, when this is done, there is a small green badge that appears on the hamburger menu which indicates that if your restart your Nightly, an update will be applied.

If you don't apply this update within 12 hours, a dialog box will pop up asking you to do so. If you want this dialog to show up later than 12h, in about:config change the app.update.promptWaitTime value from 43200 to a higher value, 86400 for 24 hours for example.

Sometimes, we will issue more than two updates per day, typically this is because we found out we introduced a major regression (a spike in crashes for example) and we don't want our users to have a broken browser for 24h.

Where can I get news about Nightly?

We maintain a few communication channels to give you news about the development of Nightly features or activities relevant to our community of Nightly users:

Nightly Activities

This activity has great potential to make an impact by increasing overall involvement in Nightly, simply by introducing community to tasks that they can engage in related to Nightly. Finding and filing issues early in the cycle means by the time Firefox gets to release, the code is in good shape.

Filing Bugs

I found a bug, how do I report it?

First of all, thank you for doing that! Bugs reported early are also more easy to fix or back out than bugs reported weeks or months after the code was written, simply because developers just wrote it and have all of it fresh in their memory.

If you think you have found a bug in Nightly, the best thing to do is indeed to report it in our Bug tracking system, called Bugzilla.

Bugzilla can be a bit intimidating when you use it for the first time, but we have documentation to help you make useful bug reports here that may get you started: Bugzilla: Bug writing guidelines

Don't hesitate to ask experienced Nightly users (staff or employees) to help you file the bug in the #nightly IRC channel if you are unsure about the process or if English is not your native language and want to make sure your bug description is understandable.

Once you have filed the bug, you may get questions from bug triagers (people that enrich existing bug reports with useful metadata and try to get the right dev in front of the right issue) or developers that are trying to reproduce your bug using your configuration or the steps to reproduce what you experienced - watch your mailbox for such messages!

One more thing, please add the nightly-community word in the keyword field of your bug report, that helps us triage better the bugs filed by our core community.

The bug I found is a regression!

A regression is when something that used to work is no longer working or no longer working as expected. If your bug is a regression, please add the regression keyword to your bug report.

We have a specific tool helping us to find when the code that introduced a regression landed in Nightly, this is called mozegression.

There is a GUI for Windows and a command line interface for Linux/Mac.

I want to report a crash

TODO

I want to report a website that doesn't work in Firefox

Some websites do not work in Firefox not because of a Firefox bug but because the site is restricting (intentionally or not) their audience to users of a specific browser. This is what we call a Web Compatibility issue. Since these issues can also affect other browsers than Firefox, web compatibility reports are filed in a separate bug tracker at https://webcompat.com/ There is a special menu item in Firefox Nightly to easily report the site you are visiting as being incompatible with Firefox. Click on the "Report Site Issue" link in the Page Actions menu (... in the right side of the url bar):

Report Site Icon

What is the Nightly Tester Tools extension?

This is a useful extension which adds many tools dedicated to bug filing and regression finding.

You can find it on addons.mozilla.org: Nightly Tester Tools

The Github repository has a short description of what it can do.

I found a bug and I want to write the patch myself!

This is a great way to get involved, our developers have full documentation on how to get started hacking on Mozilla code on MDN:

Contributing to the Mozilla code base

Platform specific instructions

Firefox does not support downgrades, even though this may have worked in past versions. If you install Firefox Nightly and later downgrade to an earlier version, you may experience issues with Firefox if they share the same profile of data.

Until we support dedicated profiles per channel in the installer Bug 1373244, so as to use Firefox Nightly alongside another version of Firefox such as Beta, Release or ESR you need to create and use a separate profile for Nighty!


Our end-user support site has explanations on the process: Using a dedicated profile for Firefox Nightly

You will find below additional OS specific instructions as well as a video tutorial for Windows.

Windows

How do I install Firefox Nightly alongside Firefox Release?

Here is a video tutorial explaining how to install Firefox Nightly on Windows alongside an existing installation of Firefox: Install Firefox Nightly cleanly on Windows

MacOS

How do I install Firefox Nightly alongside Firefox Release?

Download Firefox Nightly. As for any Mac OS app, open it either from Firefox or by double-clicking it in the folder, then drag and drop the icon into the application folder and you're done for the installation part. For detailed instructions, see here.

Now you'll need to create a dedicated profile for your Nightly, different from your Firefox stable one to avoid trouble.

To do that, you need to open your terminal and run Nightly, only for the first time by running the following command:

/Applications/FirefoxNightly.app/Contents/MacOS/firefox -P --no-remote

This will open the profile manager. Here, create a new profile with the name you want, and uncheck the checkbox saying "Use the selected profile without asking at startup", so that at every Firefox start you can choose the profile you want and corresponding to either your Nightly or Stable Firefox.

Linux

Why is Nightly provided as a tar.bz2 archive? Do I have to compile it?

We build and provide distribution-neutral binaries and these binaries can be installed and updated without any dependency to a package manager.

You don't have to compile anything, just unarchive the tar.bz2 file into your /home or your /opt folder if you want to make it available to all the accounts on your machine and launch the firefox file from your shell. If you decide to install Firefox Nightly outside of your Home, such as in /opt/firefoxnightly, don't forget to give this folder the same rights as your user otherwise it won't auto-update:

sudo chown -R $USER:$USER /opt/firefoxnightly

If you want to create a Launcher for your app, you will need to create a .desktop file, here is on our blog an article about it for Ubuntu and Unity: Getting Firefox Nightly to stick to Ubuntu’s Unity Dock

Is Nightly available as a .deb/.rpm?

Mozilla does not provide packages (.deb/.rpm) for Linux, our tar.bz2 binaries work on all distributions which meet Firefox system requirements.

Is there a Nightly repository for my distro?

Mozilla does not maintain repositories for distributions, some volunteers maintain their own repository or ppa but usually those are not maintained over time for Nightly.

The advised installation method is to use Mozilla-provided builds and its software updater.

If you really can't live without updates being provided through a repository, the Ubuntu Team sometimes maintains this ppa: https://launchpad.net/~ubuntu-mozilla-daily/+archive/ubuntu/ppa

Is there a FlatPak/Snap package

We have plans to provide Snap binaries of Firefox and once this is ready, we will probably propose also them for Nightly. The tracking bug is Automate generation of Firefox snap packages.

We don't have plans for FlatPack yet but there is a bug open: Use Flatpak framework to distribute Firefox for Linux users

There is an unofficial Firefox Flatpak repository created by the Fedora/RedHat maintainers for testing purposes: https://firefox-flatpak.mojefedora.cz/ With this FlatPak repository, your profile is stored in $HOME/.var/app/org.mozilla.FirefoxNightlyWayland/.mozilla

If you are on Ubuntu, here is a detailed article on how to install it here: How to Install Firefox Nightly as a Flatpak App on Ubuntu

Promoting Nightly in your community

If Open Source guerrilla community marketing is something you would like to get involved with and Nightly works great for you, maybe you could promote it to other power-users in your personal or professional networks, getting more users across the globe would help us catch more regressions, get more technical feedback and would allow us to ship a better browser.

There are many ways you can get help at the local level or online.

Some of them are very easy, such as retweeting interesting tweets from our @FirefoxNightly or sharing them on other social networks, some represent more work such as participating to a local open source convention and presenting Nightly or organizing QA activities through Nightly via your local Mozilla community or Mozilla Club.

If you want to present Nightly at an event, please read this blog report: Fosdem 2017 Nightly slides and video

The slides in this presentation are online and can be used as a basis for your own presentation.

You can also work through the Activate Mozilla program to organize events in the framework provided by the Mozilla Participation team.

We are progressively setting up regional teams and Firefox Nightly Champions so as to have a per country or per language action which is often useful to solve issues such as language, timezones and regional specific sites. If you want to organize something online or offline related to Nightly, please contact Pascal Chevrel or Marcia Knous

If you want to join an existing regional or language focused team, you can contact the following champions:

Regional Teams and their Nightly Champions

Francophone team

Italian team

Spanish-speaking team

Switzerland team

USA team

Indian team

Brazilian team

Czech team