Page MenuHomePhabricator

Consider upgrading opis/json-schema to version 2.3
Closed, DuplicatePublic

Description

For the CommunityConfiguration 2.0 project growth team is considering opis/json-schema library as a strong candidate for building the validation of configuration definitions. Currently the CommunityConfiguration extension (gitlab) is using version 2.3, the only reason being to use the latest version because we're building something we ideally would like to see to last for some time. Since WikiLambda uses version 1.1 the setup with both extensions in Wikimedia production wouldn't be possible due to PHP single package limitation.

This task is to asses the feasibility and some rough estimation of the cost of upgrading to version 2.3. There would be code changes to make since it's a major update but the same schemas should work. Opis has a migration guide but the work associated to it should be estimated before the decision is made. See also it's counter part to asses the usage of version 1.1 for CommunityConfiguration project: T351878: Consider downgrading opis/json-schema to version 1.1

Event Timeline