Marketplace/Validator
From MozillaWiki
The Marketplace validator is based on the AMO validator, which is a Python application:
https://github.com/mozilla/app-validator/
The suggestion is to move that to being a JS based validator so that we can:
- share code between a client doing validation (eg. WebIDE)
- minimise the amount of surprise when a client does validation, then uploads to the website
JS Validator code
Split into the following repos:
https://github.com/mozilla/firefox-app-validator-manifest https://github.com/mozilla/firefox-app-validator-icons https://github.com/mozilla/firefox-app-validator-central
The last is the master repo that pulls the other repos together.
Converting
In no particular order we'd need to do the following:
- standup the firefox-app-validator-central
- create a firefox-app-validator-marketplace which overlays marketplace specific rules over the existing validator (eg locales)
- figure out how to integrate this with zamboni
- add to docker
- get tests running
- figure out what is needed for feature parity
- work on feature parity
Then:
- look at adding and maybe helping out on ScanJS: https://github.com/mozilla/scanjs