registration: Always specify version number in extension.schema.json file
authorKunal Mehta <legoktm@member.fsf.org>
Fri, 16 Dec 2016 19:32:26 +0000 (11:32 -0800)
committerKunal Mehta <legoktm@member.fsf.org>
Fri, 16 Dec 2016 19:47:15 +0000 (11:47 -0800)
commitb6d43206a671122ac9fb7e8897182782a1d1f274
tree0e7e9a23f3784e77af10a4c241e7929bd6d0162b
parent01a3b2b0bf6519922c4e13f5b68cf7cfb3547a21
registration: Always specify version number in extension.schema.json file

Instead of having the current version of the schema live at
extension.schema.json, always include a version number in it. This
simplifies both the code, and makes merging, cherry-picks, rebasing,
etc. easier when the current schema version changes.

Change-Id: I1b5ef4ced1eb34b8bdda7ba9b3f086b1997b704c
docs/extension.schema.json [deleted file]
docs/extension.schema.v2.json [new file with mode: 0644]
includes/registration/ExtensionJsonValidator.php
tests/phpunit/includes/registration/ExtensionProcessorTest.php