extension.json schema validation is now voting for extensions

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

extension.json schema validation is now voting for extensions

Legoktm
Hi,

With [1] now merged, the extension phpunit tests that are run by jenkins
will also validate loaded extension.json and skin.json files against the
formal JSON schema (docs/extension.schema.json in core).

To validate locally, you can either run the structure phpunit tests or
use the validateRegistrationFile.php maintenance script.

[1] https://gerrit.wikimedia.org/r/#/c/273751/

-- Legoktm

_______________________________________________
Wikitech-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Reply | Threaded
Open this post in threaded view
|

Re: extension.json schema validation is now voting for extensions

Antoine Musso-3
Le 15/03/2016 01:02, Legoktm a écrit :

> Hi,
>
> With [1] now merged, the extension phpunit tests that are run by jenkins
> will also validate loaded extension.json and skin.json files against the
> formal JSON schema (docs/extension.schema.json in core).
>
> To validate locally, you can either run the structure phpunit tests or
> use the validateRegistrationFile.php maintenance script.
>
> [1] https://gerrit.wikimedia.org/r/#/c/273751/
>

That is great Kunal, thank you :-)


--
Antoine "hashar" Musso


_______________________________________________
Wikitech-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l