This addon provides some tools to assist developers with remote settings.
Note: it is highly recommended to use a temporary or development user profile
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.
npm install
npm run start:macos
or npm run start:linux
, and it will spawn a browser window with the addon installedIt 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.
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
XPI_PRIVILEGED_BUILD_GROUP
to get access to create an XPI release for remote-settings-devtools
on Ship-Itpackage.json
and extension/manifest.json
git tag -a X.Y.Z
and push it git push origin X.Y.Z
FirefoxCI
action has run for tagged commitReleases
> 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 releasedCREATE RELEASE
→ SUBMIT
Build
> Schedule
on the new release labeled remote-settings-devtools-X.Y.Z-build1
The binary will be published in the releases page automatically.
update.json
file to reflect the version
value assigned by Taskcluster (eg. 1.9.0buildid20240422.103808
) and the download URL for the XPI file.