This addon provides some tools to assist developers with remote settings.
- Trigger synchronization manually
- Inspect local data
- Clear local data
- Switch from/to DEV, STAGE, or PROD
- Pick the .xpi file from the releases page.
- When asked for confirmation, select "Continue to installation".
Note: it is highly recommended to use a temporary or development user profile
- Download the .xpi file from the releases page.
- Enable the Debug Menu: https://firefox-source-docs.mozilla.org/mobile/android/fenix/Secret-settings-debug-menu-instructions.html
- Install the extension from file
This addon relies on the Experiments API in order to expose Remote Settings internals to the Web Extension.
Unsigned addons with experiments can only be loaded in Firefox Nightly and Developer Edition, with specific preferences set.
- Download Nightly
- Install dependencies with
npm install
- Run
npm run start:macos
ornpm run start:linux
, and it will spawn a browser window with the addon installed - Enjoy!
It relies on web-ext. Additional CLI params can be passed using --
:
npx run start:linux -- --firefox-profile rs-devtools --profile-create-if-missing --keep-profile-changes
More information about the temporary loaded addon can be found in about:debugging#/runtime/this-firefox
Automated tests can be run locally or in docker to verify changes.
npm run tcs:docker
- will build and run the automated tests within a container using the latest firefox nightly package.npm run tcs:test
to run automated tests locally using your firefox nightly package.- Setting the
NIGHTLY_PATH
environment parameter will allow you to run tests against an arbitrary firefox nightly binary. Ex:NIGHTLY_PATH=/opt/custom/nightly npm run tcs:test
- Setting the
- Create a ticket to be added to the VPN group (can clone and edit this Bugzilla ticket)
- Ask in the #addons-pipeline channel to be added to the
XPI_PRIVILEGED_BUILD_GROUP
to get access to create an XPI release forremote-settings-devtools
on Ship-It
- Bump version in
package.json
andextension/manifest.json
- Tag commit
git tag -a X.Y.Z
and push itgit push origin X.Y.Z
- Create release with changelog on GitHub's releases page
- Check that
FirefoxCI
action has run for tagged commit
- Ensure you're connected to the VPN
- Go to Ship-It
- Login with SSO at the top right
- Click
Releases
>Extensions
>New
at the top and select the following options:Available XPIs
→remote-settings-devtools
Available revisions
→ revision with the commit hash associated with the tag that's being released
- Ensure the version that was tagged is the one shown
- Select
CREATE RELEASE
→SUBMIT
- Scroll to the bottom of the pending releases page
- Click
Build
>Schedule
on the new release labeledremote-settings-devtools-X.Y.Z-build1
- Submit a sign off request
The binary will be published in the releases page automatically.
- Update the
update.json
file to reflect theversion
value assigned by Taskcluster (eg.1.9.0buildid20240422.103808
) and the download URL for the XPI file.