This repo hosts various in-flight remote assets of Firefox Messaging System.
Currently, it consists of CFR, CFR-FXA, and What's New Pannel.
Usage
To add/modify/delete assets, please edit the YAML files other than the JSON ones, because the former allows us to use comments in the document. Once you complete the editing, you can sync your changes to the JSON file(s), and copy them over to Remote Settings for publishing.
To sync from YAML to JSON, just run
$ make
To validate the JSON against the schema
$ make check
It requires Python 3 and pyyaml for the conversion.
# if you don't have Python 3 installed
$ brew install python3
$ pip3 install pyyaml
$ pip3 install yamllint
# this is for schema validation
$ pip3 install jsonschema
Note: make sure you commit all the changes (YAML&JSON) to the repo.