Firefox/Go Faster/Releasing an add-on mechanics: Difference between revisions

(→‎Set up a rule in Balrog: Improve channel-prefs.js location)
 
Line 89: Line 89:


The changes are live within a few seconds.
The changes are live within a few seconds.
=== Verifying Balrog ===


Testing via url:
Testing via url:
* You can check the data via a url: https://aus5.mozilla.org/update/3/SystemAddons/45.0/20160218171844/default/en-US/beta-sysaddon/default/default/default/update.xml
* You can check the data via a url: https://aus5.mozilla.org/update/3/SystemAddons/49.0.1/20160922113459/default/en-US/release-sysaddon/default/default/default/update.xml
** You'll need to replace the version, build id and maybe the channel in the url above.
** You'll need to replace the version, build id and maybe the channel in the url above.


Testing in Firefox:
Testing in Firefox:
* Note: currently system add-ons updates don't apply until you restart Firefox.
* Note: currently system add-ons updates don't apply until you restart Firefox.
* You may need to change <code>/path/to/binary/folder/defaults/pref/channel-prefs.js</code> to point to the specified channel (on Mac this would be <code>Name.app/Contents/Resources/defaults/pref/channel-prefs.js</code>
* In `about:config` open `extensions.systemAddon.update.url` and change %CHANNEL% to `release-sysaddon`
* Add-on manager activity can be monitored by setting <code>extensions.logging.enabled</code> to true.
* Add-on manager activity can be monitored by setting <code>extensions.logging.enabled</code> to true.
* You can force an add-on update with the [https://addons.mozilla.org/en-US/firefox/addon/timer-fire/ timer-fire add-on]
* You can force an add-on update with the [https://addons.mozilla.org/en-US/firefox/addon/timer-fire/ timer-fire add-on]
Confirmed users
534

edits